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 ?
Hue (AmbiEye) scene's
Moderators: leecollings, remb0
- 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
It's nice to be important, but it's more important to be nice
Scooter ;)
Scooter ;)
- 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
Nobody ;-( ?
It's nice to be important, but it's more important to be nice
Scooter ;)
Scooter ;)
- 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
This not that difficult but you need to write some lua scripts.
There are a few examples here on the forum.
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/
- 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
Ok but LUA is not my specialism;-)bbqkees wrote:This not that difficult but you need to write some lua scripts.
There are a few examples here on the forum.
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 ;)
Scooter ;)
- 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
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 ;)
Scooter ;)
- 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
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
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 ;)
Scooter ;)
- galadril
- Posts: 828
- Joined: Monday 07 September 2015 10:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: Hue (AmbiEye) scene's
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:
- 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:
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")- 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
https://play.google.com/store/apps/deta ... ongmonitor
Who is online
Users browsing this forum: No registered users and 1 guest