Hue (AmbiEye) scene's

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
User avatar
thecosmicgate
Posts: 188
Joined: Monday 06 April 2015 14:37
Target OS: Linux
Domoticz version: newest
Location: The Netherlands / Hoeven
Contact:

Hue (AmbiEye) scene's

Post by thecosmicgate »

Playing around with this Windows tool /app. And found some cool and funny scene's like police (red-blue switching) .
Is there a way to implement some of this scene's ?
Or oneother way to let the Hue bulbs change color is different way's , for example slowly from yellow to orange to red and back ?
It's nice to be important, but it's more important to be nice
Scooter ;)
User avatar
thecosmicgate
Posts: 188
Joined: Monday 06 April 2015 14:37
Target OS: Linux
Domoticz version: newest
Location: The Netherlands / Hoeven
Contact:

Re: Hue (AmbiEye) scene's

Post by thecosmicgate »

Nobody ;-( ?
It's nice to be important, but it's more important to be nice
Scooter ;)
User avatar
bbqkees
Posts: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Hue (AmbiEye) scene's

Post by bbqkees »

This not that difficult but you need to write some lua scripts.
There are a few examples here on the forum.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
User avatar
thecosmicgate
Posts: 188
Joined: Monday 06 April 2015 14:37
Target OS: Linux
Domoticz version: newest
Location: The Netherlands / Hoeven
Contact:

Re: Hue (AmbiEye) scene's

Post by thecosmicgate »

bbqkees wrote:This not that difficult but you need to write some lua scripts.
There are a few examples here on the forum.
Ok but LUA is not my specialism;-)
I already searched this forum but can't find the stuff i wass looking for
It's nice to be important, but it's more important to be nice
Scooter ;)
User avatar
thecosmicgate
Posts: 188
Joined: Monday 06 April 2015 14:37
Target OS: Linux
Domoticz version: newest
Location: The Netherlands / Hoeven
Contact:

Re: Hue (AmbiEye) scene's

Post by thecosmicgate »

Bbqkees: could you help me with the lua script / hyperlink ?
It's nice to be important, but it's more important to be nice
Scooter ;)
User avatar
thecosmicgate
Posts: 188
Joined: Monday 06 April 2015 14:37
Target OS: Linux
Domoticz version: newest
Location: The Netherlands / Hoeven
Contact:

Re: Hue (AmbiEye) scene's

Post by thecosmicgate »

To start I created some scene for some Hue bulbs. But is there a way to repeat scene's?
For example : Hue 1 : 22:00 red, 22:05 orange, 22:10 yellow, 22:15 green etc etc . the last one is 23:00 red and after this start again.
How can I do this ?

Sent from my MotoG3 using Tapatalk
It's nice to be important, but it's more important to be nice
Scooter ;)
User avatar
galadril
Posts: 828
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Hue (AmbiEye) scene's

Post by galadril »

You could create scenes for your philips hue lamps and then call those scenes from Domoticz:

To get scene id's from your bridge:
http://IPOFBRIDGE/api/USERID/scenes

Then you can call a scene from a lua script:

Code: Select all

os.execute("curl --request PUT --data '{\"scene\": \"7d6d2328f-on-0\"}' http://IPOFBRIDGE/api/USERID/groups/1/action")
- 7d6d2328f-on-0 should be your scene id
- and ofcource you need to configure: POFBRIDGE and USERID

You could make a time base lua script and set different scenes every hour.


-------------------------------------------------------------------------------------------------------


I made a push on button called HueSunset (you could schedule that button on a fixed time). And a lua script that handles the action behind it:

Code: Select all

commandArray = {}

tc=next(devicechanged)
v=tostring(tc)

SunsetStatus = otherdevices['HueSunset']


if (v == 'HueSunset') and (otherdevices[v]   == 'On') then
print('Hue: ' .. v .. ': ' .. SunsetStatus );
os.execute("curl --request PUT --data '{\"scene\": \"5b753cdf2-on-0\"}' http://BRIDGEIP/api/USERID/groups/1/action")
end


return commandArray

Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest