GithubHelp home page GithubHelp logo

wiz_light's Introduction

Lint Pylint

Check out my latest post in the "Dev.-Blog"!! Click!!!

๐Ÿ’ก wiz_light - V 0.4.2 (out for testing)

One short note: If you have multible (>5) bulb connected to the HASS, please try to bring all online if you restart the HASS service/container. Becuase on older HASS version the startup can be slowed down if multible bulbs are offline.

There is an issue with bulb when these are offline on start up and swichted on if HASS is started. The bulbs will stay in "not available". This seems so be a bug ๐Ÿ˜‰. To fix that you have to switch the entry to "disabled" and than back to "enabled" via the UI (small โš™๏ธ in the upper left corner of the UI card).

There are changes in the bulb detection function. I can't test all possible bulb types in real because I have only two of them ๐Ÿ˜‰. TW (Tunable White) bulbs seems tho had some issues with the effects. Should be fixed in the current branch.

๐Ÿ’ช Change Log

  • Workaround in 0.4.2: The bulb FW 1.22.0 breaks the automated kelvin detectioon. A workaround was added. Final solution still open.
  • Small fix in 0.4.1: The Arry for the bulb effects now mapped correctly.
  • New in 0.4.: The bulb type and featerus will be autodetected.
  • New in 0.4.: Fixing some other small issues. Updat to pywizlight 0.4.5
  • Working ConfigFlow: Now the bulbs can be configured via UI
  • Devices Registration: The Bulb now shows up as "Light" device
  • [BETA] The colors now "correct" regarding the HS to RGB-CW conversation in the WiZ app. Thanks to @brettonw for incredible work!(should be tested with non-RGB and non-Kelvin bulbs!! )
  • Poll Service: Now it is possible to trigger a status update from the bulb via HASS service. This can be helpful for automations (e.g. motion detectors).
  • DNS and IPs Support: The bulbs can now be added with an DNS name or ip.
  • Bulb Library Moved: The "YAML" file was removed (because of a policy from HASS dev) and moved to the pywizlight repo..
  • Tones of other fixes, improvement and removed typos ๐Ÿ˜‰

Still missing but "Work in Progress":

  • Registration of the bulb to HASS via UDP API. There are features to register the HASS to the bulb to send UDP packages to the HASS if the state of the bulb was changed. This will made the Poll Service obsolete.
  • A User Documentaion based on HASS Docs. (with screen shots etc.) will be added (soon ๐Ÿ˜‰)

Fix "Unavailable" Bug

To fix bulbs which are stuck in a "unavailability" if they are offline at startup: gif

What is declined or rejected:

  • Change of the speed of the transition from on to off and off->on. This is not supported via the UDP API and can only be configured via WiZ App.
  • Custom Effekts will not be implemented in the HASS integration becaus of missing feature in HASS.

โ„น๏ธ Development Log

Here you can found some news and updates!! I try to create a kind of Development Log to trace changes/decissions and made the current overall development status transparent to you!!

โš ๏ธ Discussions

If you have questions or other comments please use the new Discussions Board.

๐Ÿ’™ Kudos and contributions

Thank you @angadsingh for make such incredible improvements!

Thanks to @simora for create a HA Switch <-> WiZ Plug integration!

Thanks to @jarpatus for the feedback and enhancements!

Thanks to @ChrisLizon for the review, feedbacks and improvements!

Thanks to @brettonw for improveing the RGB-CW to HU tranistion!

Thanks to @vodovozovge for the "insider support" for the community!

๐Ÿ›ซ Dependencies

This component has a dependency on pywizlight which will be installed automatically by Home Assistant.

โšก Bulbs - the library was moved to the pywizlight

project!

Bulb Type Dimmer Color Temp Effects RGB Tested? Example Product
ESP01_SHDW_01 โœ”๏ธ
ESP01_SHRGB1C_31 โœ”๏ธ โœ”๏ธ โœ”๏ธ โœ”๏ธ โœ”๏ธ โ€ข Philips 555623 recessed
โ€ข Philips 556167 A19 Frosted Full Colour and Tunable White
ESP01_SHTW1C_31 โœ”๏ธ โœ”๏ธ โœ”๏ธ โ€ข Philips 555599 recessed
ESP56_SHTW3_01 โœ”๏ธ โœ”๏ธ โœ”๏ธ โœ”๏ธ
ESP01_SHRGB_03 โœ”๏ธ โœ”๏ธ โœ”๏ธ โœ”๏ธ โœ”๏ธ
ESP01_SHDW1_31 โœ”๏ธ
ESP06_SHDW1_01 โœ”๏ธ
ESP15_SHTW1_01I โœ”๏ธ โœ”๏ธ
ESP03_SHRGB1C_01 โœ”๏ธ โœ”๏ธ โœ”๏ธ โœ”๏ธ โœ”๏ธ โ€ข Philips Color &. Tunable-White A19
โ€ข WiZ A60 E27 EAN 8718699787059
โ€ข WiZ G95 E27 EAN 8718699786359
ESP03_SHRGB1W_01 โœ”๏ธ โœ”๏ธ โœ”๏ธ โœ”๏ธ โœ”๏ธ โ€ข Philips Color &. Tunable-White A21
โ€ข WiZ A67 E27 EAN 8718699786199
ESP06_SHDW9_01 โœ”๏ธ โœ”๏ธ โ€ข Philips Soft White A19
ESP03_SHRGBP_31 โœ”๏ธ โœ”๏ธ โœ”๏ธ โœ”๏ธ โœ”๏ธ โ€ข Trio Leuchten WiZ LED
ESP17_SHTW9_01 โœ”๏ธ โœ”๏ธ โœ”๏ธ โ€ข WiZ Filament Bulb EAN 8718699786793
ESP03_SHRGB3_01ABI โœ”๏ธ โœ”๏ธ โœ”๏ธ โœ”๏ธ โœ”๏ธ

Pull request in HA core

home-assistant/core#44779

Install for testing

  1. Logon to your HA or HASS with SSH
  2. Got to the HA custom_components directory within the HA installation path (if this is not available - create this directory).
  3. Run cd custom_components
  4. Run git clone https://github.com/sbidy/wiz_light within the custom_components directory
  5. Run mv wiz_light/custom_components/wiz_light/* wiz_light/ to move the files in the correct diretory
  6. Restart your HA/HASS service in the UI with <your-URL>/config/server_control
  7. Add the bulbs either by:
    • HA UI by navigating to "Integrations" -> "Add Integration" -> "WiZ Light"
    • Manually by adding them to configuration.yaml

Questions? Check out the github project pywizlight

Enable Debug

logger:
    default: warning
    logs:
      homeassistant.components.wiz_light: debug

HA config

You can now use the HASS UI to add the devices/integration.

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>

wiz_light's People

Contributors

angadsingh avatar bleeisme avatar brettonw avatar chrislizon avatar jangeador avatar nareddyt avatar sbidy avatar z1ni avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.