Seite 3 von 3
#21 RE: Philips Hue und Domiq Lua ?
Verfasst: Di 27. Mai 2014, 11:18
von koboldo
Androi great
But don´t forget the Hue
I will send a reminder from time to time....
#22 RE: Philips Hue und Domiq Lua ?
Verfasst: Mi 28. Mai 2014, 21:31
von koboldo
@Thomas: Was wolltest du über Hue wissen ?
#23 RE: Philips Hue und Domiq Lua ?
Verfasst: Mo 4. Aug 2014, 07:31
von koboldo
@Filip: Wie sieht es mit der HUE Integration aus ?
#24 RE: Philips Hue und Domiq Lua ?
Verfasst: Do 7. Aug 2014, 09:50
von DOMIQ
We added support for network APIs in the Logic code some time ago. We just need to document it better. Using those APIs things like Hue control over HTTP should be doable. Right now we focus on all tasks needed to release long overdue Android app and new set of *Display applications, all communicating with new DEA protocol...
#25 RE: Philips Hue und Domiq Lua ?
Verfasst: Fr 8. Aug 2014, 10:07
von koboldo
Hallo Filip,
danke für deine Ausführungen, allerdings ist das nach über einem Jahr etwas unbefriedigend
In anderen Lua Home Automationsprojekten scheint es ja sehr einfach zu gehen, siehe :
forum.fibaro.com/viewtopic.php?t=2476&postdays=0&postorder=asc&start=15&sid=593a8e1dcfba2d5bf6e7ce0b36f9a087
Code: Alles auswählen
Turn light on - warm white:
HueGtw = Net.FHttp("192.168.1.11",80)
HueGtw:PUT('/api/automation1/lights/8/state', '{"on":true, "sat":255, "bri":255,"ct":400}')
Turn light off:
HueGtw = Net.FHttp("192.168.1.11",80)
HueGtw:PUT('/api/automation1/lights/8/state', '{"on":false}')
Change colour:
HueGtw = Net.FHttp("192.168.1.11",80)
HueGtw:PUT('/api/automation1/lights/8/state', '{"on":true, "sat":255, "bri":255,"hue":60000}')
Wenn ich das aber im Domiq versuche bekomme ich folgende Fehlermeldung:
ERROR: [string "-- ****************************************..."]:111: attempt to index global 'Net' (a nil value)
Hat vielleicht noch jemand anderes eine Idee wie ich das zum laufen bekomme ?
Gruß
Jörg Kobelt
#26 RE: Philips Hue und Domiq Lua ?
Verfasst: Mi 27. Aug 2014, 09:01
von koboldo
Ich drehe noch durch...
Habe jetzt glaube ich das ganze Internet durchsucht und bekomme die HUE Teile mit dem Base nicht zum laufen....
Und hier ist die Aussage, das es eigentlich ganz einfach gehen soll, nur die Dokumentation fehlt....
HILFE ! BITTE !