Benutzer-Werkzeuge

Webseiten-Werkzeuge


projects:2014:gatekeeper:mqtt

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
projects:2014:gatekeeper:mqtt [2018-01-06 16:18]
tux
projects:2014:gatekeeper:mqtt [2018-05-14 08:53] (aktuell)
alex
Zeile 1: Zeile 1:
 +====== Gatekeeper MQTT ======
  
 +Unterprojekt für MQTT-basierte Kommunikation in Schließanlage,​ Space-Status etc.
 +
 +===== Links und Ressourcen =====
 +  * http://​mqtt.org/​
 +  * http://​fabian-affolter.ch/​blog/​mqtt-and-desktop-notifications/​
 +  * https://​github.com/​raphaelcohn/​bish-bosh
 +  * http://​mosquitto.org/​
 +  * https://​github.com/​mqtt/​mqtt.github.io/​wiki/​software?​id=software
 +  * https://​github.com/​menudoproblema/​libemqtt
 +  * https://​mosquitto.org/​api/​files/​mosquitto-h.html
 +  * shell:> ''​mosquitto_sub -h helium -t "#"​ -v''​ # zeigt alle messages an.
 +  * https://​github.com/​adafruit/​Adafruit_MQTT_Library/​blob/​master/​examples/​adafruitio_secure_esp8266/​adafruitio_secure_esp8266.ino
 +  * Minimal MQTT series on hackaday.com
 +    * [[https://​hackaday.com/​2016/​05/​09/​minimal-mqtt-building-a-broker/​|Minimal MQTT: Building a Broker]]
 +    * [[https://​hackaday.com/​2016/​05/​17/​minimal-mqtt-networked-nodes/​|Minimal MQTT: Networked Nodes]]
 +    * [[https://​hackaday.com/​2016/​05/​27/​minimal-mqtt-control-and-clients/​|Minimal MQTT: Control and Clients]]
 +    * [[https://​hackaday.com/​2016/​06/​02/​minimal-mqtt-power-and-privacy/​|Minimal MQTT: Power and Privacy]]
 +  * [[https://​www.earth.li/​~noodles/​blog/​2018/​05/​mqtt-broker.html|Home Automation: Getting started with MQTT]] with hints on TLS
 +
 +===== Topic =====
 +
 +Die Hierarchie der bestehenden Topics:
 +    * ''/​Netz39/​Things''​
 +      * ''/​Door''​
 +        * ''/​Events''​ ("door open", "door closed",​ "door unlocked",​ "door locked"​)
 +        * ''/​Button''​
 +          * ''/​Events''​ ("​button green",​ "​button red" – nur bei Aktivierung!)
 +      * ''/​Shuttercontrol''​
 +        * ''/​Button''​
 +          * ''/​Events''​ ("​button pressed"​ wenn der Taster für die Manuellsteuerung betätigt wurde)
 +      * ''/​Ampel''​
 +        * ''/​Light''​
 +          * ''/​Events''​ (1. Byte rot, 2. Byte grün, Belegung: "​0"​ – off, "​1"​ – off, "​b"​ – blink)
 +      * ''/​StatusSwitch''​
 +        * ''/​Lever''​
 +          * ''/​State''​ ("​open",​ "​closed",​ "​neutral"​)
 +          * ''/​Events''​ ("​lever change"​)
 +      * ''/​Logouhr''​
 +          * ''/​Background''​
 +            * ''/​Hue''​ (Hue-Wert des HSV-Formats [0..359])
 +            * ''/​Saturation''​ (Saturation-Wert des HSV-Formats [0..255])
 +            * ''/​Value''​ (Helligkeitsstufe 1-4)
 +          * ''/​HourHand''​
 +            * ''/​Hue''​ (Hue-Wert des HSV-Formats [0..359])
 +            * ''/​Saturation''​ (Saturation-Wert des HSV-Formats [0..255])
 +            * ''/​Value''​ (Helligkeitsstufe [0..255])
 +          * ''/​MinuteHand''​
 +            * ''/​Hue''​ (Hue-Wert des HSV-Formats [0..359])
 +            * ''/​Saturation''​ (Saturation-Wert des HSV-Formats [0..255])
 +            * ''/​Value''​ (Helligkeitsstufe [0..255])
 +          * ''/​SecondHand''​
 +            * ''/​Hue''​ (Hue-Wert des HSV-Formats [0..359])
 +            * ''/​Saturation''​ (Saturation-Wert des HSV-Formats [0..255])
 +            * ''/​Value''​ (Helligkeitsstufe [0..255])
 +    * ''/​Netz39/​SpaceAPI''​
 +      * ''/​json''​ (spaceapi.json)
 +      * ''/​isOpen''​ ("​true"​ wenn offen, sonst "​false"​)
 +      * ''/​lastchange''​ (Unix-Date der letzten Änderung)
 +    * ''/​Netz39/​Service''​
 +      * ''/​Clock''​
 +        * ''/​Wallclock''​ (Local Date and Time)
 +          * ''/​Simple''​ (Simple time value. Seconds are sent every second, the rest every minute when seconds == 0)
 +            * ''/​Year''​
 +            * ''/​Month''​
 +            * ''/​Day''​
 +            * ''/​Hour''​
 +            * ''/​Minute''​
 +            * ''/​Second''​
 +        * ''/​UnixTimestamp''​
 +
 +----
 +[[projects:​2014:​gatekeeper|up]]
projects/2014/gatekeeper/mqtt.txt · Zuletzt geändert: 2018-05-14 08:53 von alex