Current State and Development Log #78
Replies: 38 comments 45 replies
-
Status 04/01/2021I'm currently working on the HASS core pull to push this integration into the base of Home Assistant.
The update poll for getting the current state of the bulb was decreased to 15 Seconds to detect a change from "others" like the WiZ app or a WiZ switch. Maybe I'll lower this to 5 Seconds in the future but ... lets see what can be done with the UDP broadcast listener from @jarpatus. The most time was consumed in developing the So the main point is, that I'm currently updating and working on the pull to HASS core. All or the most changes to the code will be reflected into this repo after a successful commit. After that this repo will be the developing and maybe "nonofficial" clone of the HASS core part. So we can test and have a playground with stuff like UDP Broadcast listener and others. Overall time consumption over the holidays:
= 31 hours overall (took these measurements form the Visual Studio Code 😉) I also wait for my second WiZ light to do more testing with two real lights. I bought (a really expensive 🤒 ) table light to get maybe better access to the ESP board to dump the FW. Hopefully the device will be not destroyed to do not waste 60€ ....... Stay tuned !!!!! And Thank you all for the support and feedback !!! May the Light be with you. |
Beta Was this translation helpful? Give feedback.
-
Status 19/01/2021Hey, today I started my (long planed) reverse engendering of one of the WiZ bulb firmware. I try to figure out how and what functions are provided by the UDP API. Furthermore, I captured some traces between the app and the bulb. Another topic is the HASS pull request. This is now green (all checks are passed) and can now be merged into the core for the next release cycle. Hopefully this will happen in the next days. Stay tuned !!!!! And Thank you all for the support and feedback !!! May the Light be with you. Discovered UDP functionsSync functions:
Set functions:
Get functions
Error States and Returns
|
Beta Was this translation helpful? Give feedback.
-
Status 26/01/2021After some days "off" I've a disscussion and short Q&A with a WiZconnect developer. He told me that it is currently not possible to change the transition time between state changes via UDP API. This can only be changed in the app. In that case the But overall it is great to see that WiZ is interested in the Open Source Community and supports us to bring the "best light experience" to our homes. One bad news on the other hand - the pull request for the HASS core is still "on hold/open" because of "other important" topics like the security issues with other custom integrations (like the HACS). One side note: This integration has no vulnerability (so far) 😉 For now I'll push some other project and have a 👁️ on the pull for possible feedback and reviews. I'll also bring all changes form the pull to this repo to have a full sync and give you all the new features like ConfigFlow etc. May the Light be with you. Cheers |
Beta Was this translation helpful? Give feedback.
-
Excellent job. I have been waiting in anticipation for this ever since I
decided to use Home Assistant instead of the individual apps. This will
check yet other checkbox off my list of things left to integrate. Thank
you for your perseverance. It is greatly appreciated.
Sincerely,
Steveo
…On Tue, Jan 26, 2021, 3:26 PM Stephan Traub ***@***.***> wrote:
*Status 26/01/2021*
After some days "off" I've a disscussion and short Q&A with a WiZconnect
developer. He told me that it is currently not possible to change the
transition time between state changes via UDP API. This can only be changed
in the app. In that case the setUserConfig will not take this parameters.
The reason is loosely speaking the "fear" of power spikes in the bulb. But
maybe there will come something in the future 😄 ... The complete
discussion can be found here --> sbidy/pywizlight#40
<sbidy/pywizlight#40>
But overall it is great to see that WiZ is interested in the Open Source
Community and supports us to bring the "best light experience" to our homes.
One bad news on the other hand - the pull request
<home-assistant/core#44779> for the HASS core is
still "on hold/open" because of "other important" topics like the security
issues with other custom integrations (like the HACS). One side note: This
integration has no vulnerability (so far) 😉
I try to trigger some one from the core team to have a look into the pull
because all checkpoints are done (ConfigFlow, Translations, Tests etc.) and
all tests are 🟢 . Maybe I've to ask @fabaff <https://github.com/fabaff>
for help nicely 😸.
For now I'll push some other project and have a 👁️ on the pull for
possible feedback and reviews. I'll also bring all changes form the pull to
this repo to have a full sync and give you all the new features like
ConfigFlow etc.
I'll also try to solve some of the open issues but I think currently there
are no "big" points to dig in.
*May the Light be with you.*
Cheers
Stephan
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#78 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHYXSWM27GCC77OSOUL6VQ3S346RNANCNFSM4VTMVNYQ>
.
|
Beta Was this translation helpful? Give feedback.
-
Status 01/02/2021Version 0.3 now out! This version represents the current pull from HASS core with some additional improvements.
Please drop some issues 😆 ... May the Light be with you. Cheers |
Beta Was this translation helpful? Give feedback.
-
Status 08/02/2021Quick Update: I'll reach out to you because I need some testers for the different bulb types. I don't have any bulb type available for testing because they are to expensive for that. May the Light be with you. Cheers |
Beta Was this translation helpful? Give feedback.
-
Status 25/02/2021First of all a BIG THANK YOU to @vodovozovge and the whole WiZ connected Team!! 💙 Now I have created a "test environment" and looking forward to fix some outstanding issues. I defined the following "roadmap":
One point which is still open in the backend lib is the implementation of a registering feature to avoid a pulling of new states. The dimmer and WiZ Plug integration will also a point on the "long term ToDo". Hopefully I found sufficient time in the next time to dig into that 😞 May the Light be with you. Cheers |
Beta Was this translation helpful? Give feedback.
-
As a noob in HA and Wiz, this project made me dive all in to HA! |
Beta Was this translation helpful? Give feedback.
-
Status 29/03/2021Some days later .... sorry for the delay. But ... I'm highly disappointed and frustrated about the documentation and the HASS developer community. There are some many "developer" in the discord and forum but you don't get really useful input from them. I also invest tonnes of hours into the "auto discovery" feature to provide a easier way to add multiple bulbs. But currently I struggled with the documentation of HASS. The "official" answer to my question where to find the documentation for the "discovery feature" was to go into a "good" existing integration and do some reverse engineering. Great starting point ... the question what a "good" integration is, is still not answered from the HASS dev. The other open point whit the "offline" bulbs after reboot is also a relay annoying issue. From the HASS dev team can nobody answer the question why the device will remain offline and ignore the `available = true' what the integration is reporting to the HASS core. I'm not a core developer of HASS and it is really hard to debug such an issue without deep knowledge of the state-machine and without a detailed documentation about that. So I decided to reduce my time investment into that project for some weeks. Ah - I don't want to "hate" against anyone of the HASS dev team. They also do an amazing job but from a "integrator" perspective it is a little bit disappointing 😞 . Stay tuned!! Cheers |
Beta Was this translation helpful? Give feedback.
-
Stephan,
Thank you so much for all your work on this and the others as well. I’m merely an end user myself and don’t know really how or what to contribute but if there is one thing I can, it’s to say what an amazing job you have done with this, from the ground up really. Without you we would still be in wiz darkness with HASS.
I don’t know who we need to beg, beat or bribe over on the dev side to get you some support but I’ll be more than happy to start writing emails and making phone calls. I realize the HASS project as a whole is all volunteers and grateful we all are for the genius behind the platform, but surely someone on the dev side has wiz lights or at least played with them and can lend some assistance. I know I would if I knew how haha.
Cheers to a nice break from the project, sometimes that is all we need to come back and see the answer in front of us.
Thanks again for all your hard work.
Chris
From: Stephan Traub ***@***.***>
Sent: Monday, March 29, 2021 4:04 PM
To: sbidy/wiz_light ***@***.***>
Cc: chrisbl01 ***@***.***>; Comment ***@***.***>
Subject: Re: [sbidy/wiz_light] Current State and Development Log (#78)
Status 29/03/2021
Some days later .... sorry for the delay. But ... I'm highly disappointed and frustrated about the documentation and the HASS developer community. There are some many "developer" in the discord and forum but you don't get really use full input from them.
I was investing so much time into this project and created a pull request to the hass core - months ago. After asking the "core developer" of a review of the integration I only get the feedback that the pull is really "new" and I have to wait. Months later sill no feedback.
Maybe I have to wait until the end of the year? I don't know. It is really frustrating if you put so much affort into the project and don't see a progress on that topic. BUT THANK YOU ALL here in the "wiz_light community" for all the feedback and issues!! 💙 You are amazing - everyone who contributes makes this project better!
I also invest tonnes of hours into the "auto discovery" feature to provide a easier way to add multiple bulbs. But currently I struggled with the documentation of HASS. The "official" answer to my question where to find the documentation for the "discovery feature" was to go into a "good" existing integration and do some reverse engineering. Great starting point ... the question what a "good" integration is was still not answered.
So please if you have multiple bulbs please use the configuration.yaml to made a bulk add.
The other open point whit the "offline" bulbs after reboot is also a relay annoying issue. From the HASS dev team can nobody answer the question why the device will remain offline and ignore the `available = true' what the integration is reporting to the HASS core. I'm not a core developer of HASS and it is really hard to debug such an issue without deep knowledge of the state-machine and without a detailed documentation about that.
So I decided to reduce my time investment into that project for some weeks.
Maybe I find a solution for this issues after I have gain some distance 😉
Stay tuned!!
Cheers
Stephan
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#78 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AQD4UI2EF32F2RPP4ZON3W3TGDTLPANCNFSM4VTMVNYQ>.
|
Beta Was this translation helpful? Give feedback.
-
Sorry to hear your struggles Stephan! Thank you so much for all of your hard work. As has been said already, what you have done so far is working really well! I'm extremely grateful as your code and the Wiz Lights was my introduction to IoT and home assistant. This has led to a rabbit hole of other projects. You have helped many people and really started a community around this hardware, I hope that it continues to develop. I will try to contribute how I can by sharing my experiences in the forums more and maybe even write some documentation. Thanks again! Cheers! |
Beta Was this translation helpful? Give feedback.
-
You have done an amazing job. I was worried there for a bit that you had
stopped progress but then you picked it back up and have kept it going. I
know you are ready to have it be incorporated into the system. I have been
waiting for this to happen ever since I started using HA and Wiz bulbs.
They are the ONLY smart bulb I have in my home.
That being said although I have no power over the core developers it is
interesting what an army of ants, or end-users in this case, can do to make
something happen. I make no promises but I will do whatever I need to to
make this become a reality and soon.
…On Mon, Mar 29, 2021, 1:03 PM Stephan Traub ***@***.***> wrote:
*Status 29/03/2021*
Some days later .... sorry for the delay. But ... I'm highly disappointed
and frustrated about the documentation and the HASS developer community.
There are some many "developer" in the discord and forum but you don't get
really use full input from them.
I was investing so much time into this project and created a pull request
to the hass core - months ago. After asking the "core developer" of a
review of the integration I only get the feedback that the pull is really
"new" and I have to wait. Months later sill no feedback.
Maybe I have to wait until the end of the year? I don't know. It is really
frustrating if you put so much affort into the project and don't see a
progress on that topic. BUT THANK YOU ALL here in the "wiz_light community"
for all the feedback and issues!! 💙 *You are amazing* - everyone who
contributes makes this project better!
I also invest tonnes of hours into the "auto discovery" feature to provide
a easier way to add multiple bulbs. But currently I struggled with the
documentation of HASS. The "official" answer to my question where to find
the documentation for the "discovery feature" was to go into a "good"
existing integration and do some reverse engineering. Great starting point
... the question what a "good" integration is was still not answered.
So please if you have multiple bulbs please use the configuration.yaml to
made a bulk add.
The other open point whit the "offline" bulbs after reboot is also a relay
annoying issue. From the HASS dev team can nobody answer the question why
the device will remain offline and ignore the `available = true' what the
integration is reporting to the HASS core. I'm not a core developer of HASS
and it is really hard to debug such an issue without deep knowledge of the
state-machine and without a detailed documentation about that.
So I decided to reduce my time investment into that project for some weeks.
Maybe I find a solution for this issues after I have gain some distance 😉
Stay tuned!!
Cheers
Stephan
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#78 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHYXSWPSVJZUAVE3LK3QLO3TGDTLPANCNFSM4VTMVNYQ>
.
|
Beta Was this translation helpful? Give feedback.
-
TY Stephan for the recent release; it resolved an issue I had (related to array out of bounds). I was about to move on from Wiz but glad I don't have to now. I appreciate that you're continuing to support this project. I look forward to the day when this is an official HASS integration. |
Beta Was this translation helpful? Give feedback.
-
After upgrading to Home Assistant 2021.4 several of my Wiz lights would no longer connect. I even upgraded to 2021.4.2, but the issue persisted with Wiz 0.4.1. Good news, I updated to the new Wiz version 0.4.2, and everything is working again! Additionally, I was having the issue where my white color changing bulbs wouldn't connect to HA on reboot unless they were turned on. (Power to the bulb was not enough, it had to lit) I can confirm that all bulbs are now connecting as long as they have power. For reference, I have the following bulb models: 23004 (A19 White only color changing), 23007 (A19 Full color), and B23065 (A19 Full color) I'm happy to help with any testing or troubleshooting in the future, thanks for the great work! |
Beta Was this translation helpful? Give feedback.
-
I've installed those via HACS and its working great. I noticed that there is no 'device' created for these, only the entities. e.g. I have some Hue bulbs that show up as devices with their associated entities. Wiz lights only seem to have the entity. A blueprint I'm looking to use requires the bulb be entered as a device so I was wondering if that is possible? Thanks. |
Beta Was this translation helpful? Give feedback.
-
Great Job @sbidy . I haven't been very active but I've been watching the project. I've just cloned a copy of 0.4.5 into my Home Assistant 2021.11.5 install and it's working great. I'm happy that going from Yaml to GUI wasn't terrible, I just chose the same names and my automations all worked. I look forward to seeing this being accepted into Core! |
Beta Was this translation helpful? Give feedback.
-
Hi guys, new to pretty much everything here... Thanks to Stephan for bothering with this! Just got HA up and running, and found this add-on, after a couple of days finding out that i needed HACS and how to do that i finally got the Wiz integration up, problem is that when i try to connect my wiz-plug i just get "Unknown error occured". I have tried IP and mac both full and last 6-digits with and without the wiz- prefics. Any ideas? |
Beta Was this translation helpful? Give feedback.
-
Thanks Stephan for making this integration! It was easy to setup and is working great for me =) Maybe I'm missing something obvious but I couldn't figure out how to change the light color from a homeassistant script. Does anyone know how to do this? |
Beta Was this translation helpful? Give feedback.
-
I use the “call service” action, and “light.turn_on”. The GUI does not seem to be showing the color change options (no color picker, no call service options), but it is available from the developer tools if you are comfortable using them (you can copy the YAML from there...).
The option is working from my homekit automations, but I don't know if the lack of correct options in the visual editor is a wiz_light integration problem or a HASS problem.
(I'm not perfectly certain of my understanding of HASS's internals, so take this with a grain of salt) Looking at the entity registry, my bulbs don't have RGB in the supported color modes, could this be a factor? Color Temperature isn't showing up in HASS script interface either.
"supported_color_modes": [
"color_temp",
"hs"
]
I tried manually adding "rgb" to this list, but it had no affect. I'm running HASS 2021.12.4 (latest) in a container. HASS has been hyper flakey of late, so it wouldn't surprise me at all if this is their problem. I'll ask on the Discord.
|
Beta Was this translation helpful? Give feedback.
-
I'm new to HA. I just installed it the first time yesterday. My main focus is the vast amount of WIZ lights that I have in my house. Basically all my lights are WIZ lights. So far I controlled them with self made PIs with a touch screen, which run scripts that I wrote all by myself after sniffing out the easy to understand plain text UDP protocol of the bulbs. So, in HA I have installed HACS, Mosquitto broker, Terminal, a File Editor, Samba Share, Studio Code Server and SSH & Web Terminal. HACS took a full day to get over Git's Ratelimit. But it seems to be up and running now. I've installed wiz_light 0.4.5b according to the "Install for testing" instructions. "WIZ Light" showed up in the Integrations list while HACS was still in its Ratelimit phase. After the Ratelimit was resolved and HACS got all of its repositories, "Wiz Light" does not show up in the Integrations list anymore. So, I can't add and consequently not use it. What happened? Can someone help? |
Beta Was this translation helpful? Give feedback.
-
You don’t need to use HACS, but I am confused why it would be rate-limiting you if you’ve already installed the integration.
You sound technically inclined, so I’d suggest just doing the custom_components route and putting the bulbs in your configuration.yaml file. Otherwise you’ll be adding your bulbs through the ui one at a time. I have just 12 bulbs and don’t want to do that again…
… On Jan 3, 2022, at 7:14 PM, chvchv ***@***.***> wrote:
I'm new to HA. I just installed it the first time yesterday. My main focus is the vast amount of WIZ lights that I have in my house. Basically all my lights are WIZ lights. So far I controlled them with self made PIs with a touch screen, which run scripts that I wrote all by myself after sniffing out the easy to understand plain text UDP protocol of the bulbs.
So, in HA I have installed HACS, Mosquitto broker, Terminal, a File Editor, Samba Share, Studio Code Server and SSH & Web Terminal.
HACS took a full day to get over Git's Ratelimit. But it seems to be up and running now.
I've installed wiz_light 0.4.5b according to the "Install for testing" instructions. "WIZ Light" showed up in the Integrations list while HACS was still in its Ratelimit phase. After the Ratelimit was resolved and HACS got all of its repositories, "Wiz Light" does not show up in the Integrations list anymore. So, I can't add and consequently not use it.
What happened? Can someone help?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
At the bottom of the WizLight GitHub page, there is a set of instructions for "Install for testing". Probably the part you are missing after rebooting the server is clearing your web cache (I activate the developer tools on the browser to do this selectively). I don't want to hijack too much of sbidy's dev log here, so I will point you at the wizlight discussion board (https://github.com/sbidy/wiz_light/discussions), the HA docs (https://www.home-assistant.io/docs/), and the HA community (https://community.home-assistant.io/). There is also a discord server, but I don't think you'll get much from them until you learn more about HA itself. |
Beta Was this translation helpful? Give feedback.
-
I've got 25+ wiz lights mostly br30 and some a19 and a22 and so far this integration is working amazingly! I'm coming from Smartthings and now having everything local is so fast with my zwave switches. It's very impressive. I'd like to contribute to time hard work, I there a way to do so? |
Beta Was this translation helpful? Give feedback.
-
What is a differentiation of the smartplug compared to the Bulb, the basic application does it, google home also allows it, currently only your integration does not allow it and I do not understand the reason at the moment. |
Beta Was this translation helpful? Give feedback.
-
Status 06/02/2022 🚀 🥳IT IS DONE!! The PR was now merged to the HASS core. I'm not sure what the next steps are, but the WiZ should show up as a new integration in the next release of HASS. So please keep in mind if you update your HASS to the next upcoming stable release, please remove this integration from Unfortunately, I was not that active in the past week because of some life-changing events 😄... Sorry for that .... I want to say thank you to !!YOU!! as contributes, testers, issue submitters and sponsors! THANK YOU!!! But some features, issues and changes are still open (as @Mick51 mentioned) - I'm optimistic to get these things done in the next weeks. If you want to contribute, you can have a look into the issues in the HASS repository (Link to the Issue Tracker) and help with support if you can. 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 Here is the link to the initial PR to the HASS core for more information: |
Beta Was this translation helpful? Give feedback.
-
I have my first WiZ light installed and was just waiting for the native integration to pull into HA. I'm now upgrade to 2022.2.6. I think I'm not doing something right. I go to Configuration > Integrations > Add Integration. I search for WiZ and nothing is listed. Is this what I should be doing? If so is there a reason it may be missing? I have cleared my browser cache and that good stuff. Thanks for the help! |
Beta Was this translation helpful? Give feedback.
-
Hi! Are there any instructions on how the migration will be. Will we have to remove the HACS and re add everything or is there a more automated process? Thanks! Joaquin |
Beta Was this translation helpful? Give feedback.
-
Congratulations on this achievement! I have been using the custom component, and I have been very happy with it. I like the Wiz bulbs and recently bought two Wiz strip lights as bias lighting for my TVs. HA allows me to automate them to turn on and off with the TV. Super convenient! |
Beta Was this translation helpful? Give feedback.
-
Can you shed some light on why YAML isn't an option anymore? Adding 15+ lights in UI is very cumbersome and inconvenient. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hey folks....
I try to create a kind of Development Log to trace changes/decissions and made the current overall development status transparent to you!!
Projects, Repos and Info:
Beta Was this translation helpful? Give feedback.
All reactions