Simple Weather Station
-
in
src
folder copysecrets_template.h
tosecrets.h
and fill your own- Blynk API Token
- AdafruitIO login
- WiFi SSID and Password
- MQTT server, username and password
-
in
src
folder updateconfig.h
- comment/uncomment
define
/undefine
to select integrations (Blynk, AdafruitIO)
- comment/uncomment
-
pio run
- 0x23 - BH1750 light meter
- 0x3C - SSD1305 monochrome OLED
- 0x40 - INA219 DC Current Sensor
- 0x76 - BME280 Temp/Barometric/Humidity
Currently, topics published from SWS to Mosquitto MQTT server are stored in InfluxDB and shown on Grafana dashboard. Thus the payload of the topic is in form of Influx Data Line:
key field=value
Integration between Mosquitto and InfluxDB is over Telegraf.
Currently published topics are
sensors/sws1/temperature
sensors/sws1/humidity
sensors/sws1/pressure
- Adafruit GFX Library
- Adafruit SSD1306
- pio id #135
- (https://platformio.org/lib/show/135/Adafruit%20SSD1306)
- BME280
- pio id #901
- (https://platformio.org/lib/show/901/BME280)
- SSD1306Ascii
- pio id #5169
- (https://platformio.org/lib/show/5169/SSD1306Ascii)
- Blynk
- pio id #415
- (https://platformio.org/lib/show/415/Blynk)
- Adafruit MQTT Library
- Arduino Http Client
- pio id #798
- (https://platformio.org/lib/show/798/ArduinoHttpClient)
- ArduinoJson
- pio id #64
- (https://platformio.org/lib/show/64/ArduinoJson)
- PubSubClient
- TroykaMQ (MQ135 support)
- Adafruit INA219
- GxEPD
- BH1750