What's seems better/cleaner when, for example, leaving/entering home:
-Send all possible signals to all individual lights directly from device (Automagic)
OR
-Send only 1 signal to the Hue Bridge and let that do all the work based on predefined groups and schemes?
Philips Hue
Moderator: Martin
- digitalstone
- Posts: 342
- Joined: 21 Oct 2017 12:36
- Location: The Netherlands
Philips Hue
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)
Re: Philips Hue
It seems you edited your post. Since no one have answered yet, so I will try to help from my perspective.
When you have the bridge setup already, it is better to use that bridge as the control center. It is possible to send and control each device individually from Automagic. But that way, each device probably doesn't sync properly to the bridge. By asking the bridge to do the job, it makes sure the bridge always has the latest status of all device. Besides, it is more battery friendly to your phone, as you only need to send one request to the bridge, instead of multiple commands to all devices. Let's say each command require full 1 seconds for the round trip, if you have 10 devices, you will need 10 seconds to complete, rather than only 1 second if you connect to the bridge only.
When you have the bridge setup already, it is better to use that bridge as the control center. It is possible to send and control each device individually from Automagic. But that way, each device probably doesn't sync properly to the bridge. By asking the bridge to do the job, it makes sure the bridge always has the latest status of all device. Besides, it is more battery friendly to your phone, as you only need to send one request to the bridge, instead of multiple commands to all devices. Let's say each command require full 1 seconds for the round trip, if you have 10 devices, you will need 10 seconds to complete, rather than only 1 second if you connect to the bridge only.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
- digitalstone
- Posts: 342
- Joined: 21 Oct 2017 12:36
- Location: The Netherlands
Re: Philips Hue
Yeah my post was rather long and dull so i figured to shorten it by a lot.
What you said is what i've been thinking, but it's nice to have confirmation.
The battery power indeed, yet a couple of http-requests, i bet loading a single twitterpage is going to be a lot more.
On the other hand, knowing in advanced it HAS to happen when switching profiles (outside/home/sleep etc) it would be much cleaner to let the bridge do it's thing.
Although i made the simplest (test)flow for turning all lights on/off and takes something around 600ms.
Only 5 lights (but will be more).
And with sleep(100) at each loop.
So not a confirmative system whereby it waits for that single light actually goes out or not.
Works flawless not the less, until it doesn't of course.
My conclusion:
Taking a middle-path approach, by letting the Bridge handling it's business, would seem to end the dilemma.
But as a backup, and for more specific targeting, i think i will make a separate system for that purely and directly from Automagic.
What you said is what i've been thinking, but it's nice to have confirmation.
The battery power indeed, yet a couple of http-requests, i bet loading a single twitterpage is going to be a lot more.
On the other hand, knowing in advanced it HAS to happen when switching profiles (outside/home/sleep etc) it would be much cleaner to let the bridge do it's thing.
Although i made the simplest (test)flow for turning all lights on/off and takes something around 600ms.
Only 5 lights (but will be more).
And with sleep(100) at each loop.
So not a confirmative system whereby it waits for that single light actually goes out or not.
Works flawless not the less, until it doesn't of course.
My conclusion:
Taking a middle-path approach, by letting the Bridge handling it's business, would seem to end the dilemma.
But as a backup, and for more specific targeting, i think i will make a separate system for that purely and directly from Automagic.
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)