Skip to content
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

Question: Example usage of get/setWifiConfig #72

Open
scriptsrc opened this issue Apr 26, 2021 · 5 comments
Open

Question: Example usage of get/setWifiConfig #72

scriptsrc opened this issue Apr 26, 2021 · 5 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@scriptsrc
Copy link
Contributor

Hey team,

Thanks a ton for this library and for your efforts to get it merged into HomeAssistant.

I have ~70 wiz bulbs and I'm starting to move them to a new vlan/ssid on my network. This is quite painful to do manually. I'm hoping to use the get/setWifiConfig UDP methods from your readme.

Is there an example piece of python on how to do this? (I've read the readme but I'm not quite sure how to use it just yet)

BTW - I love how you wrote this library to be async.

Thanks for any help. I'm now a sponsor too!

@sbidy
Copy link
Owner

sbidy commented Apr 27, 2021

Unfortunately you can't set the bulb config via UDP packages. The function is available but not used for setting the config.

@sbidy sbidy added enhancement New feature or request question Further information is requested labels Apr 27, 2021
@scriptsrc
Copy link
Contributor Author

scriptsrc commented Apr 27, 2021 via email

@sbidy
Copy link
Owner

sbidy commented May 1, 2021

Yes - I documented all function which are exists on the bulb FW (https://github.com/sbidy/pywizlight#set-functions).
But not all of them works as "expected".

@PonchoPowers
Copy link

PonchoPowers commented Jun 6, 2022

setWifiConfig works when the mobile phone is connected to the light bulb using the light bulb's own wifi hotspot, once the light bulb is not in pairing mode anymore the hotspot is turned off and the light bulb connects to the wifi network using the details provided in the setWifiConfig datagram, this is the same way Lifx bulbs work too, apart from they use TCP instead of UDP.

@apizzi69
Copy link

apizzi69 commented Jan 4, 2023

Hi, Just curious if someone can explain how WiZ bulbs are discovered via hotspot and brought into the Wifi network.. Can anyone explain that process and what would need to be done by me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants