CO2-Ampel-Octopus/MQTT-Readme.md

48 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

2020-10-11 12:09:27 +00:00
# Steuerung Octopus
## 7 Segment Anzeige per MQTT steuern
Die Idee ist eine 7 Segment Anzeige auf dem Octopus zu haben und
verschiedene Werte der eingbauten und angeschlossenen Sensoren abrufen zu können.
### Hardware Liste
* https://www.tindie.com/products/FabLab/iot-octopus-badge-for-iot-evaluation/
* MQTT Broker ( z.B. broker.mqttdashboard.com )
* Android Smartphone mit https://play.google.com/store/apps/details?id=snr.lab.iotmqttpanel.prod&hl=de
* Adafruit 7 Segement Anzeige Rot/Gruen/Weiss https://amzn.to/3dlt1BI
2020-10-11 12:18:29 +00:00
2020-10-11 12:09:27 +00:00
Alternative https://www.exp-tech.de/displays/led/7185/adafruit-0.56-4-digit-7-segment-featherwing-display-green?c=1073
2020-10-11 13:21:48 +00:00
2020-10-11 13:22:33 +00:00
### Software fuer den Octopus
2020-10-11 13:21:48 +00:00
* Quellcode: https://git.unixweb.net/jhummel/CO2-Ampel-Octopus/src/branch/master/MQTT-Remote-BME680.ino
2020-10-11 12:18:29 +00:00
2020-10-11 13:12:11 +00:00
### Einrichtung MQTT
```
Topic Octopus/status
Publish Werte :
1000 = Temperatur
1001 = Luftfeuchte
1002 = Luftdruck
```
2020-10-11 13:25:23 +00:00
Sende an `Octopus/status 1000` = Temperaturwert wird am 7 Segment Display angezeigt
2020-10-11 13:18:04 +00:00
2020-10-11 13:25:23 +00:00
Sende an `Octopus/status 1001` = Luftfeuchte als Wert wird am 7 Segment Display angezeigt
2020-10-11 13:18:04 +00:00
2020-10-11 13:25:23 +00:00
Sende an `Octopus/status 1002` = Luftdruckwert wird am 7 Segment Display angezeigt
2020-10-11 13:12:11 +00:00
2020-10-11 13:41:24 +00:00
![Screenshot](https://git.unixweb.net/jhummel/CO2-Ampel-Octopus/raw/branch/master/images/MQTT-Webclient.png)
2020-10-11 13:15:05 +00:00
![Screenshot](https://git.unixweb.net/jhummel/CO2-Ampel-Octopus/raw/branch/master/images/Octopus-CO2-Ampel-Luftdruck-2.jpg)
![Screenshot](https://git.unixweb.net/jhummel/CO2-Ampel-Octopus/raw/branch/master/images/Octopus-CO2-Ampel-Temperatur.jpg)