433 MHz Steckdosen + Alexa
Verfasst: 20. Okt 2017 23:29
Hallo,
ich möchte über openHAB2 drei Funksteckdosen schalten. Mit folgenden Konfigurationen und rasberry-remote (https://xkonni.github.io/raspberry-remote/) klappt es auch:
.items
.things
.sitemap
Leider kann ich diese Steckdosen nicht über Alexa steuern. Kann mir jemand weiterhelfen?
Vielen Grüße
Proficleaner
ich möchte über openHAB2 drei Funksteckdosen schalten. Mit folgenden Konfigurationen und rasberry-remote (https://xkonni.github.io/raspberry-remote/) klappt es auch:
.items
Code: Alles auswählen
String dose_11000_1 "Lese Lampe" <light> (wohnzimmer) [ "Switchable" ] { channel="exec:command:funkdose_control_1:input", autoupdate="true" }
String dose_11000_2 "Herd Lampe" <light> (kueche) [ "Switchable" ] { channel="exec:command:funkdose_control_2:input", autoupdate="false" }
String dose_11000_3 "Waschbecken Lampe" <light> (kueche) [ "Switchable" ] { channel="exec:command:funkdose_control_3:input", autoupdate="false" }
Code: Alles auswählen
Thing exec:command:funkdose_control_1 [ command="sudo /opt/raspberry-remote/send 11000 1 %2$s", interval=0, autorun=true ]
Thing exec:command:funkdose_control_2 [ command="sudo /opt/raspberry-remote/send 11000 2 %2$s", interval=0, autorun=true ]
Thing exec:command:funkdose_control_3 [ command="sudo /opt/raspberry-remote/send 11000 3 %2$s", interval=0, autorun=true ]
Code: Alles auswählen
sitemap default
{
Frame label="Kueche" {
//Switch item=alllamps
Switch item=dose_11000_1 mappings=[1="An", 0="Aus"]
Switch item=dose_11000_2 mappings=[1="An", 0="Aus"]
Switch item=dose_11000_3 mappings=[1="An", 0="Aus"]
}
}
Vielen Grüße
Proficleaner