Hallo,
versuche gerade FHEM und HUE zusammen zu bringen. Anzeige funktioniert und auch der Schieberegler für die Lampen funktioniert.
defmod HUEDevice1 HUEDevice 1 IODev=hueBridge1
attr HUEDevice1 IODev hueBridge1
attr HUEDevice1 alias Hue white lamp 1
attr HUEDevice1 color-icons 2
attr HUEDevice1 devStateIcon {(HUEDevice_devStateIcon($name),"toggle")}
attr HUEDevice1 icon hue_filled_white_and_color_e27_b22
attr HUEDevice1 model LWB010
attr HUEDevice1 room HUEDevice
attr HUEDevice1 subType dimmer
attr HUEDevice1 webCmd pct:toggle:on:off
setstate HUEDevice1 on
setstate HUEDevice1 2018-06-26 20:19:47 alert none
setstate HUEDevice1 2018-06-26 20:19:47 bri 254
setstate HUEDevice1 2018-06-26 20:21:16 onoff 1
setstate HUEDevice1 2018-06-26 20:21:16 pct 100
setstate HUEDevice1 2018-06-26 20:21:16 reachable 1
setstate HUEDevice1 2018-06-26 20:21:16 state on
Wenn ich auf der commandline versuche das Device anzusprechen kommt die obige Fehlermeldung.
Wenn auf der FHEM Seite aber danach suche, dann sehe ich es.
list i:TYPE=HUEDevice
Gibt die Liste aus:
HUEDevice1
HUEDevice2
HUEDevice3
HUEGroup0
HUEGroup1
Device wurden automatisch angelegt und sind über die HUEDevice regelbar, nur die cmd gibt die Meldung aus auf die folgende Zeile:
/usr/bin/perl /opt/fhem/fhem.pl fhem:7072 "set HUEDevice1 state on"
Im log bzw. im Event monitor ist von der Aktion nichts zu sehen.
Habe auch set HUEDevice1 state on versucht
darauf sehe ich
Unknown argument state, choose one of off on toggle statusRequest pct bri dimUp dimDown alert rename on-for-timer off-till-overnight off-till intervals on-till on-till-overnight blink off-for-timer
Danke schonmal für Tipps.
Peter
Vorab Danke und Grüße vom Peter
Wie wärs einfach mit
set HUEDevice1 on
?
Oder hatte ich dich missverstanden?
Hallo,
Danke :-X schon überzeugt. Manchmal ist die Lösung so einfach.
Grüße Peter