A Home assistant integration for (Phillips, SLV and more) WiZ Light bulbs
Tested with the following smart lights:
Thank you @angadsingh for make such incredible improvements!!
Thanks to @simora for create a HA Swicht <-> Wiz Switch integration
Bug fixes:
- Fixes sbidy#6: make the whole component truly async using non-blocking UDP
- Light control now works even when lights are set to a rhythm.
Features:
- Supports switching the light to rhythm mode! (rhythm is defined as a scene for HA)
- Implements a pattern of sending multiple command UDP datagrams until response is received
- Consolidates getPilot and setPilot calls using a PilotBuilder and PilotParser. Removes unnecessary UDP calls for each and every attribute (color, temperature, brightness, scene, etc.) and makes a combined getPilot/setPilot call
- enhanced debug logging for UDP
This component does need a dependency on pywizlight
like @sbidy's component which will be install automatically by Home Assistant.
Bulb Type | Dimmer | Color Temp | Effects | RGB | Tested? | Example Product |
---|---|---|---|---|---|---|
ESP01_SHDW_01 | X | |||||
ESP01_SHRGB1C_31 | X | X | X | X | x | Phillips 555623 recessed |
ESP01_SHTW1C_31 | X | X | X | Phillips 555599 recessed | ||
ESP56_SHTW3_01 | X | X | X | X | ||
ESP01_SHRGB_03 | X | X | X | X | X | |
ESP01_SHDW1_31 | X | |||||
ESP15_SHTW1_01I | X | X | ||||
ESP03_SHRGB1C_01 | X | X | X | X | X | Philips Color &. Tunable-White A19 |
ESP03_SHRGB1W_01 | X | X | X | X | X | Philips Color &. Tunable-White A21 |
ESP06_SHDW9_01 | X | X | Philips Soft White A19 | |||
ESP03_SHRGBP_31 | X | X | X | X | X | Trio Leuchten WiZ LED |
ESP03_SHRGB1C_01 | X | X | X | X | X | WiZ LED EAN 8718699787059 |
ESP17_SHTW9_01 | X | X | X | WiZ Filament Bulb EAN 8718699786793 |
Please report as issue your builb type with a feature list:
echo '{"method":"getSystemConfig","params":{}}' | nc -u -w 1 <YOU BULB IP> 38899
- Brightness
- Color (RGB)
- White Color Temperature
- On/Off, Toggle
- Effects
- Setting a rhythm as a scene
- Switch integration (thanks to @simora)
- Add Bulb Feature Management via YAML files
- Testing with other hardware -- Contribution required !!
- Config Flow Support
home-assistant/core#35132 - not merged :-(
- Loggon to your HA or HASS with SSH
- Got to the HA
custom_components
directory within the HA installation path (if this is not available - create this directory). - Run
cd custom_components
- Run
git clone https://github.com/sbidy/wiz_light
within thecustom_components
directory - Run
mv wiz_light/custom_components/wiz_light/* wiz_light/
to move the files in the correct diretory - Restart your HA/HASS service in the UI with
<your-URL>/config/server_control
- Add the bulbs to your
configuration.yaml
- You can not add the bulbs in the HA UI!! (configFlow is missing)
As an alternativ you can use the HACS platform for installation - see HACS Website
Questions? Check out the github project pywizlight
See test.py
for how the underlying API works
To enable the platform integration after installation add
light:
- platform: wiz_light
name: <Name of the device>
host: <IP of the bulb>
- platform: wiz_light
name: <Name of the device#2>
host: <IP of the bulb#2>
If you want to use the integration as switch
switch:
- platform: wiz_light
name: <Name of the device>
host: <IP of the socket>