- Posts: 150
- Thank you received: 3
Setting up server commands to control lights
- Fattykidd
- Topic Author
- Offline
- User
-
Less
More
2 years 5 months ago #980
by Fattykidd
Setting up server commands to control lights was created by Fattykidd
I'm setting up my hue lights and it appears as though when you try to activate a scene it turns all lights in the house to that scene.
Also the "toggle" command only turns lights on, you need to send an "off" command as the "toggle" does not shut them down ?
I'm trying to figure out how to "toggle" a group as well. Seems to only allow toggling of "dimmers" and "scenes".
If I could set it to toggle a group, it would be able to include the 4 "dimmers" in my theater and a corresponding "scene". Is this possible ?
Also the "toggle" command only turns lights on, you need to send an "off" command as the "toggle" does not shut them down ?
I'm trying to figure out how to "toggle" a group as well. Seems to only allow toggling of "dimmers" and "scenes".
If I could set it to toggle a group, it would be able to include the 4 "dimmers" in my theater and a corresponding "scene". Is this possible ?
Please Log in to join the conversation.
- davep
- Offline
- Admin
-
Less
More
- Posts: 367
- Thank you received: 96
2 years 5 months ago #1012
by davep
Replied by davep on topic Setting up server commands to control lights
The groups you have defined in the Hue hub should be imported. They'll appear as devices with device addresses starting with G. They should respond to the On, Off and Toggle commands.
If there are no groups you could create a macro to logically group individual lights.
LivingRoomLights is
Macro|
Lighting|1~<p1>!
Lighting|2~<p1>!
Lighting|3~<p1>!
Then LivingRoomLights|On or LivingRoomLights|Off or LivingRoomLights|Toggle
If there are no groups you could create a macro to logically group individual lights.
LivingRoomLights is
Macro|
Lighting|1~<p1>!
Lighting|2~<p1>!
Lighting|3~<p1>!
Then LivingRoomLights|On or LivingRoomLights|Off or LivingRoomLights|Toggle
Please Log in to join the conversation.
- Fattykidd
- Topic Author
- Offline
- User
-
Less
More
- Posts: 150
- Thank you received: 3
2 years 5 months ago #1016
by Fattykidd
Replied by Fattykidd on topic Setting up server commands to control lights
Works perfectly when you manually enter the correct id number for the "group", I didn't even think about that. For some reason I thought it could only be one of the listed device targets.The groups you have defined in the Hue hub should be imported. They'll appear as devices with device addresses starting with G. They should respond to the On, Off and Toggle commands.
If there are no groups you could create a macro to logically group individual lights.
LivingRoomLights is
Macro|
Lighting|1~<p1>!
Lighting|2~<p1>!
Lighting|3~<p1>!
Then LivingRoomLights|On or LivingRoomLights|Off or LivingRoomLights|Toggle
Please Log in to join the conversation.
- Fattykidd
- Topic Author
- Offline
- User
-
Less
More
- Posts: 150
- Thank you received: 3
2 years 5 months ago #1084
by Fattykidd
Replied by Fattykidd on topic Setting up server commands to control lights
What is the correct way to add hue lights to the "sources" and "sources in rooms" pages.
I created a couple sources for different lighting groups in my house.
The server does not make an activate macro for them though and I'm lost as to how to do this.
Then how do you make an entry on the index.html page to then point to the lighting.html page.
I created a couple sources for different lighting groups in my house.
The server does not make an activate macro for them though and I'm lost as to how to do this.
Then how do you make an entry on the index.html page to then point to the lighting.html page.
Please Log in to join the conversation.
- David Li
- Offline
- Admin
-
Less
More
- Posts: 1019
- Thank you received: 99
2 years 5 months ago #1087
by David Li
You can add the new webpage similar to how the Weather webpage is added.
Replied by David Li on topic Setting up server commands to control lights
allonis.com/support/documentation?view=category&id=419What is the correct way to add hue lights to the "sources" and "sources in rooms" pages.
I created a couple sources for different lighting groups in my house.
The server does not make an activate macro for them though and I'm lost as to how to do this.
Then how do you make an entry on the index.html page to then point to the lighting.html page.
You can add the new webpage similar to how the Weather webpage is added.
The following user(s) said Thank You: Fattykidd
Please Log in to join the conversation.
- Fattykidd
- Topic Author
- Offline
- User
-
Less
More
- Posts: 150
- Thank you received: 3
2 years 5 months ago #1093
by Fattykidd
Replied by Fattykidd on topic Setting up server commands to control lights
Thank you David.
Will make an attempt this evening.
Will make an attempt this evening.
Please Log in to join the conversation.
Time to create page: 0.183 seconds