Page 1 of 1
Hue scripts
Posted: Thursday 14 July 2016 18:30
by Derik
Just got my Hue GO.

[ Nice hardware ]
I do have soms other Hue bulbs in my house...
Does anyone have nice scripts for the Hue..
wakeup light
Ambilight
Just random
X @ home then Color Y
Sirene: All light Red

Etc etc..
When there a A lot of scripts i will try to maken the WikI....

Re: Hue scrtips
Posted: Thursday 14 July 2016 18:46
by remb0
Check the wiki. There are lots of samples on this forum. Already searched?
Re: Hue scrtips
Posted: Thursday 14 July 2016 18:48
by trixwood
There is a whole wiki on it:
https://www.domoticz.com/wiki/Philips_Hue_Lights
If you use iOS definitely look at:
http://iconnecthue.com/?page_id=19
timers. color change, animation, stuff you can not do with the normal philips hue app.
Re: Hue scrtips
Posted: Thursday 14 July 2016 18:54
by Derik
Yes did search in the wiki, more for update etc. not special scripts:

- ScreenShot109.jpg (125.72 KiB) Viewed 2771 times
And the Forum:
No HUE allowed:

- ScreenShot110.jpg (21.43 KiB) Viewed 2771 times
Re: Hue scrtips
Posted: Thursday 14 July 2016 18:57
by Derik
@ Trixwood
I do not use IOS :[ Apple's you need to eat

]
And the Whole Wiki is a little bit old...
And there are not the asked nice nice/beautiful etc. scripts in...
I can use IFTTT only that is not insert domoticz... [ i Hate the Cloud.. ]
Re: Hue scrtips
Posted: Thursday 14 July 2016 19:02
by trixwood
*removed*
Re: Hue scrtips
Posted: Thursday 14 July 2016 19:09
by trixwood
I have updated it two month ago with the remote and the power scripts.
But we are looking forward to your scripts!
To bad you do not have ios:
http://www.howtogeek.com/248059/how-to- ... ue-lights/
it does a lot of stuff on the hue bridge itself without coding lua, which in domoticz you can switch as scene.
maybe there is an android alternative.
Re: Hue scrtips
Posted: Thursday 14 July 2016 19:12
by trixwood
Use:
https://www.google.nl/#q=domoticz+hue+site:domoticz.com, page after page of hits!
Ow and please make a list of fun stuff you found and post it on the here, and on the wiki, just make new section at the end and fill it with usefull links!
Re: Hue scrtips
Posted: Thursday 14 July 2016 22:04
by Derik
@ trixwood...
No hard feelings by me
One of a simple script from me:
All the light is simpel color that color loves my wife: [ so do i

]
Code: Select all
#!/bin/sh
curl -H "Accept: application/json" -X PUT --data '{"on": true,"bri": 168,"hue": 14135,"sat": 254,"xy": [0.5281,0.4302],"ct": 500,"alert": "none","effect": "none","colormode": "hs","reachable": true}' http://192.168.5.36/api/newdeveloper/lights/8/state
curl -H "Accept: application/json" -X PUT --data '{"on": true,"bri": 168,"hue": 14135,"sat": 254,"xy": [0.5281,0.4302],"ct": 500,"alert": "none","effect": "none","colormode": "hs","reachable": true}' http://192.168.5.36/api/newdeveloper/lights/9/state
When i use this script my Lights go back to the "normal"color whe like.
Re: Hue scripts
Posted: Thursday 14 July 2016 22:11
by trixwood
You could also use a hue scene to do that and toggle it in domoticz.
http://huetips.com/tutorials/how-to-create-a-new-scene/
http://www.beaumotica.nl/tips/philips-h ... ps-hue-app
Other apps for HUE (various os's & phones):
http://www.developers.meethue.com/hue-developers
And ofcourse where you can find the fun stuff if you want to script yourself (after you registered)
http://www.developers.meethue.com/
Re: Hue scripts
Posted: Thursday 14 July 2016 22:24
by Derik
I found also a VB script as example [ i my might Domoticz cannot work with VB ]
http://www.domoticaforum.eu/viewtopic.p ... 327#p61393
Old only:
- Status readback van de Lampen is verbeterd
- support voor livingcolor lights toegevoegd (er bestaat nl geen CT mode)
- WakeupLight functie
- ColorFade functie
Only i am not smart enough for this higher math

Re: Hue scripts
Posted: Thursday 14 July 2016 23:11
by Derik
I do not want a 3party option then i can use IFTTT ...
When i use the app on my android or something like that. is ime not the best option with Domoticz...
Here are some of the nice options i see online.
https://github.com/MBasial/huetoys [ haloween ]
https://github.com/DigitalArtsNetworkMelbourne/huemovie
https://github.com/JeremyGrosser/hue-tr ... er/sunrise Sunrise
.
Re: Hue scripts
Posted: Thursday 14 July 2016 23:24
by trixwood
No I meant you could look there for an android version (or other) of iConnectHUE. Cuz else you have to program them yourself if you want to use those nice HUE features. Those animation/scenes you programs with it, stay on the bridge even after you close those iConnectHUE. And you can call them from domoticz.
I am going to try that HUEMovie. I already use Kodi with a HUE pluging, but it would be nice if I am laying here on the couch that the 2 lamps on either sight and the hue strip at the back follow my screen. Fun experiment
