-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a 'reset' command available in the API? #40
Comments
No, I don't saw something like a reset trigger. |
WiZ Dev here btw, @sbidy if you have questions about the API or module name mapping (ESP01_SHDW_01 etc), let me know. Would be glad to help |
Hey @vodovozovge thank you for the support. Cool to see somebody from WiZ here 😉. A little bit off-topic of that issue but I've one question regarding the UDP API: |
@sbidy you're right, we have both Regarding You cannot apply them as they are considered "config", so meant to be sent through the cloud only. Hence the error you're receiving. Listing below some of the parameter names, so you can skip the step with guessing ;) : User defined params:
Model configuration params:
|
Thank you for the (insider) info 😄 !!! |
a bit of an offtopic too,
the idea behind registration is to well, "register" ip address of the phone on the bulb, so the bulb will deliver unicast messages to it. So if you specify the correct IP the bulb will send the updates there. You correctly mentioned that the bulb will send "heartbeat" messages, but it will also send the One important thing to note is that the bulb will stop reporting the status after 20-something seconds unless the phone replies with ack message to the bulb. Something like: btw, awesome job with the reverse engineering of the protocol 👍 |
Hi Guys, I asked the question about reset, as I had many lights connected to the wrong Home IDs. I already resetted them all manually, so the command is no longer needed. On another note: there is "something wrong" when setting a color and then change back to white by setting a Kelvin temperature. If you do so, the light still reports it is in red, although it is in reality white. I can't tell if this is in the API or in the light itself. Lastly, a feature request: I would like to change the color temperature 30 minutes before sunset (from 3500 to 3200/3000), REGARDLESS if they are switched on. So, to set a color temperature, without switching the light on. How could that be done? Of course, it would also be nice to use such a feature to set other parameters, such as delay. All the best, Johan |
did a brief check on the messages coming from the bulb -- it indeed reports correct value. For example: Setting CCT:
There is a method in the protocol that does exactly that -- |
Added some of the features with a6df093 I'm not sure about the problem with the color reporting after change the kelvin value. I close the issue because the reset is implemented 😉 Thank you for the feedback!! (@vodovozovge thanks you ... again 😆 ) |
@vodovozovge I just want to say that I think it's totally awesome that you not only took interest in this open source project, but you also shared so much knowledge with the community. I have a feeling there will be a bunch more WiZ products in my future! Is there a reason why one would use setPilot over setState and vice versa? If setState can be used with Is there anything in the protocol that would allow a transition speed to be passed with setPilot (or setState?) for example if I change the color from 2500Kelvin to 5000Kelvin it seems to take about 0.5s, but I would like to be able to make the transition slower. Much like @johanjongsma I am using my bulbs for circadian lighting situations and that transition would make the effect smoother. Cheers! |
@ChrisLizon thank you!
let me dive a bit into the history of how it all evolved. Back in the days one of the main ways of controlling WiZ bulbs was IR remote control (it's replaced now by WiFi one). It had 4 buttons - to trigger favorite modes saved on the lights. Internally it was like -- received scene id from the IR -> turn on the light and switch to that scene. SetPilot was implemented mimicking the behavior of remote control. Sending scene id (or CCT, or color) triggers turning on the bulb. And it's not the only side effect of
To tackle that (and to better support scenes) we introduced side-effect free
unfortunately no. We're looking at implementing custom transition speed but it's not there yet. A bit of technical background -- the main issue is transitioning between the color values. Power supply (LED driver) can output only certain amount of power at a time and FW should be careful to not overshoot it. Transitioning means calculating the number of steps between initial and target state and there could be situations when the amount of power will exceed the capacity of the power supply. |
@vodovozovge I would like to echo what others have said in this thread; it is great to see you taking an interest and being helpful to such projects such as this. It makes me much more likely to invest more heavily in Wiz in the future, having been burnt in the past with proprietary systems that have stopped working as advertised. And of course thanks to @sbidy for the ongoing work on this :-) |
Thanks, Johan
The text was updated successfully, but these errors were encountered: