Dieses Wiki ist ein Archiv bis 2023. Das aktuelle Wiki findet sich unter https://wiki.hamburg.ccc.de/

Difference between revisions of "Raumautomatisierung"

From CCCHHWiki
Jump to: navigation, search
(alles alt)
 
Line 1: Line 1:
= voriges Setup, neues ist TODO =
+
<span style="color: orange; display: inline-block; outline: 0.5em solid; padding: 0.25em">
 
+
<span style="color: black">
= Übersicht =
+
Diese Seite wurde ins [https://wiki.ccchh.net neue Wiki] migriert.<br>
 
+
Sie ist nun hier zu finden: https://wiki.ccchh.net/club:z9:raumautomatisierung bzw. https://wiki.ccchh.net/club:archiv:raumautomatisierung_2016_2017
auf lifesupport.z9 (aka lux) laufen ein paar Dienste für mehr Cyber im Space.
+
</span>
 
+
</span>
= Todos =
+
[[Category:umgezogen]]
 
 
== TODO Topics richtig umbenennen ==
 
 
 
* TODO z9/canvas -&gt; screen
 
* TODO z9/media/audio -&gt; sound
 
* TODO rfthing als eigenes Ding machen
 
 
 
= Bus =
 
 
 
== MQTT ==
 
 
 
Message-Bus für kleine Systeme gedacht. Broker lässt sich einfach per <code>mosquitto</code> starten. Best practices unter https://github.com/mqtt-smarthome/mqtt-smarthome zu finden. Clients subscriben zu topics, andere Clients pushen zu topics.
 
 
 
= Topics =
 
 
 
== Leinwand: ==
 
 
 
/command /status
 
 
 
== z9/light ==
 
 
 
== z9/control ==
 
 
 
== z9/canvas/command ==
 
 
 
up down stopp
 
 
 
== z9/control Global space commands ==
 
 
 
<code>shutdown</code> Command to shut down everything
 
 
 
== z9/door/status ==
 
 
 
Dooris events: &quot;unlock&quot; &quot;lock&quot; etc.
 
 
 
== projector/command ==
 
 
 
== calendar/status ==
 
 
 
Zeigt, ob zur Zeit was geplant ist (<code>planned</code>) oder nicht.
 
 
 
= Logikzentrum =
 
 
 
Brainbug, enthält scripts, die auf Events reagieren können.
 
 
 
= Beamer-Steuerung =
 
 
 
== IR-Codes ==
 
 
 
mosquitto_pub -h mqtt.z9 -t 'anglirfish/ir/command' -m 'code'
 
 
 
http://www.mikrocontroller.net/articles/IRMP NEC-Kodierung
 
* An: 0x4CB340BF
 
* Aus:0x4CB3748B
 
* HDMI1: 0x4CB36897
 
* HDMI2: 0x4CB30CF3
 
* VGA1: 0x4CB3D827
 
* VGA2: 0x4CB37887
 
* VIDEO: 0x4CB338C7
 
* Source: 0x4CB308F7
 
 
 
== anglIRfish ==
 
 
 
* ESP8266 with IR diode
 
* speaks MQTT over Wifi
 
 
 
= Funksteuerung =
 
 
 
On-off-keying over the 433 MHz rf channels.
 
 
 
== rf-thing ==
 
 
 
Ist ein Arduino am Server. Spricht seriell, macht 433MHz. Funkmodul hängt an Port 10.
 
 
 
== rf-thing/send ==
 
 
 
code
 
 
 
== rf-thing/set/$SWITCH ==
 
 
 
on/off
 
 
 
= Heizung =
 
 
 
http://forum.fhem.de/index.php?topic=27532.0 Da läuft ein fhem, dass über den hmland mit dem Funkmodul spricht, welches die Heizungen versteht. Das fhem kann auch MQTT, ist gar nicht so dumm. Nur unglaublich wirr.
 
 
 
== fhem/set/$HEIZUNG ==
 
 
 
* links, fastlink, fastrechts, (rechts)
 
 
 
Set the wanted temperature via <code>desired-temp 20</code>.
 
 
 
== fhem/get/$HEIZUNG ==
 
 
 
Temperature in °C, approx. every two minutes.
 
 
 
= Dooris =
 
 
 
Die Dooris-Skripte schicken über <code>mosquitto_pub -h 'mqtt.z9' -t 'fux/door/status' -m 'opened'</code> u.ä. Statusmeldungen an den Broker.
 

Latest revision as of 23:21, 30 November 2023