Hue scripts

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Derik
Posts: 1605
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Hue scripts

Post 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.... :-(
Last edited by Derik on Thursday 14 July 2016 22:18, edited 1 time in total.
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
User avatar
remb0
Posts: 499
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Hue scrtips

Post by remb0 »

Check the wiki. There are lots of samples on this forum. Already searched?
trixwood

Re: Hue scrtips

Post 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.
Derik
Posts: 1605
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Hue scrtips

Post by Derik »

Yes did search in the wiki, more for update etc. not special scripts:
ScreenShot109.jpg
ScreenShot109.jpg (125.72 KiB) Viewed 2768 times
And the Forum:
No HUE allowed:
ScreenShot110.jpg
ScreenShot110.jpg (21.43 KiB) Viewed 2768 times
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Derik
Posts: 1605
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Hue scrtips

Post 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.. ]
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
trixwood

Re: Hue scrtips

Post by trixwood »

*removed*
Last edited by trixwood on Thursday 14 July 2016 19:17, edited 1 time in total.
trixwood

Re: Hue scrtips

Post 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.
Last edited by trixwood on Thursday 14 July 2016 19:55, edited 1 time in total.
trixwood

Re: Hue scrtips

Post 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!
Derik
Posts: 1605
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Hue scrtips

Post 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.
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
trixwood

Re: Hue scripts

Post 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/
Derik
Posts: 1605
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Hue scripts

Post 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 :lol: :lol: :lol:
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Derik
Posts: 1605
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Hue scripts

Post 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 :-)



.
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
trixwood

Re: Hue scripts

Post 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 ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest