Iot-workshop: Unterschied zwischen den Versionen
Chrisu (Diskussion | Beiträge) |
Chrisu (Diskussion | Beiträge) |
||
(6 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
==URLs== | ==URLs== | ||
− | https://github.com/ChrisU-bckspc/esp8266-rcswitch-workshop | + | * https://github.com/ChrisU-bckspc/esp8266-rcswitch-workshop |
− | https://github.com/ChrisU-bckspc/openhab-workshop-examples | + | * https://github.com/ChrisU-bckspc/openhab-workshop-examples |
==Lab für Workshop== | ==Lab für Workshop== | ||
===Gemeinsamer Container=== | ===Gemeinsamer Container=== | ||
− | MQTT-Broker | + | {| |
+ | |- | ||
+ | ! Tool !! Containername !! URL/login | ||
+ | |- | ||
+ | | MQTT-Broker || mqtt || fqdn: mqtt.throwaway | ||
+ | |} | ||
− | Individuelle Container | + | ===Individuelle Container=== |
pro Teilnehmer zu erreichen unter: http://CONTAINERNAME.USERNAME.throwaway | pro Teilnehmer zu erreichen unter: http://CONTAINERNAME.USERNAME.throwaway | ||
− | - | + | |
− | Openhab 2 | + | {| |
− | Datenbank | + | |- |
− | Visualisierung | + | ! Tool !! Containername !! URL/login |
− | Filebrowser | + | |- |
− | Web-Editor | + | | Openhab 2 || openhab || |
− | WebDAV | + | |- |
+ | | Datenbank || influx || url: http://influx.USERNAME.throwaway:80 | ||
+ | |- | ||
+ | | Visualisierung || grafana || login: admin / secret | ||
+ | |- | ||
+ | | Filebrowser || files || login: admin / admin | ||
+ | |- | ||
+ | | Web-Editor || editor || | ||
+ | |- | ||
+ | | WebDAV || webdav || | ||
+ | |} | ||
===Hardware=== | ===Hardware=== | ||
NodeMCU mit: | NodeMCU mit: | ||
− | HTU21D Temperatur- & Luftfeuchtigkeits-Sesor | + | * HTU21D Temperatur- & Luftfeuchtigkeits-Sesor |
− | 433 MHz Sender | + | * 433 MHz Sender |
− | Taster | + | * Taster |
+ | |||
+ | |||
+ | ==Commands== | ||
+ | * mqtt subscripe | ||
+ | <source lang=bash>mosquitto_sub -h throwaway.core.bckspc.de -v -t 'USERNAME/#'</source> | ||
+ | |||
+ | * mount webdav per shell | ||
+ | <source lang=bash>mount -t davfs http://webdav.USERNAME.throwaway /media/extern1/</source> | ||
+ | |||
+ | * mount webdav per fstab | ||
+ | <source lang=bash>http://webdav.USERNAME.throwaway /media/webdav davfs noauto,user,rw 0 0</source> |
Aktuelle Version vom 2. Februar 2019, 22:48 Uhr
URLs
- https://github.com/ChrisU-bckspc/esp8266-rcswitch-workshop
- https://github.com/ChrisU-bckspc/openhab-workshop-examples
Lab für Workshop
Gemeinsamer Container
Tool | Containername | URL/login |
---|---|---|
MQTT-Broker | mqtt | fqdn: mqtt.throwaway |
Individuelle Container
pro Teilnehmer zu erreichen unter: http://CONTAINERNAME.USERNAME.throwaway
Tool | Containername | URL/login |
---|---|---|
Openhab 2 | openhab | |
Datenbank | influx | url: http://influx.USERNAME.throwaway:80 |
Visualisierung | grafana | login: admin / secret |
Filebrowser | files | login: admin / admin |
Web-Editor | editor | |
WebDAV | webdav |
Hardware
NodeMCU mit:
- HTU21D Temperatur- & Luftfeuchtigkeits-Sesor
- 433 MHz Sender
- Taster
Commands
- mqtt subscripe
mosquitto_sub -h throwaway.core.bckspc.de -v -t 'USERNAME/#'
- mount webdav per shell
mount -t davfs http://webdav.USERNAME.throwaway /media/extern1/
- mount webdav per fstab
http://webdav.USERNAME.throwaway /media/webdav davfs noauto,user,rw 0 0