Compare commits
3 Commits
7e780fdf81
...
master
Author | SHA1 | Date | |
---|---|---|---|
f2419fa7aa | |||
3339a4c473 | |||
198567e256 |
@@ -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.
|
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
|
## Server Setup
|
||||||
|
|
||||||
This assumes you are using Ubuntu-20.04
|
This assumes you are using Ubuntu-20.04
|
||||||
|
|
||||||
### Install packages
|
### Install packages
|
||||||
|
|
||||||
|
`sudo su -`
|
||||||
|
|
||||||
`wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -`
|
`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`
|
`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 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
|
### Setup Nginx
|
||||||
|
|
||||||
|
@@ -1,2 +0,0 @@
|
|||||||
listener 1883 0.0.0.0
|
|
||||||
allow_anonymous true
|
|
Reference in New Issue
Block a user