Compare commits

...

3 Commits

Author SHA1 Message Date
f2419fa7aa Update Readme
Setup using root
Use pip to install pipenv
2021-06-17 01:42:41 +00:00
3339a4c473 Add warning 2021-05-29 09:03:10 +00:00
198567e256 Remove mosquitto.conf from root 2021-05-29 08:59:36 +00:00
2 changed files with 7 additions and 3 deletions

View File

@@ -2,12 +2,16 @@
ESP8266 running Micropython collecting temperature humidity and light level. Pushing data to a Mosquito server. A python script to ingest the data into an influx database. Grafana to display the data.
This is a work in progress and is not suitable for production
## Server Setup
This assumes you are using Ubuntu-20.04
### Install packages
`sudo su -`
`wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -`
`echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list`
@@ -20,7 +24,9 @@ This assumes you are using Ubuntu-20.04
`sudo apt update`
`sudo apt install python3-pipenv nginx mosquitto grafana influxdb python3-certbot-nginx`
`sudo apt install python3-pip nginx mosquitto grafana influxdb python3-certbot-nginx`
`pip3 install pipenv`
### Setup Nginx

View File

@@ -1,2 +0,0 @@
listener 1883 0.0.0.0
allow_anonymous true