kevinvincent / ha-wyzesense

A Home Assistant Component to interface with the WYZE Sense hub and sensor system
368 stars 98 forks source link

Wyze light bulb support? #22

Closed saicrazyfire closed 4 years ago

saicrazyfire commented 4 years ago

This component worked flawlessly for my motion sensor. Is there anyway to support the recently shipped light bulbs (https://www.wyze.com/wyze-bulb/)?

zackoch commented 4 years ago

@saicrazyfire they use totally different protocols.

I've been trying to hack the bulb for a little over a week now. It appears the bulb is being managed by MQTT, but it's encrypted ... I dumped the firmware from a bulb but I'm having a hard time trying to split the firmware into its proper segments. (The flash is separated into loader, and two ota images) I need to get to the code so I can see how it's registering with the API - I suspect the API tells the bulb which MQTT channel to subscribe to or something. Dunno.

zackoch commented 4 years ago

Well - I finally got a a clean copy of the firmware....

I've tried to load it into ida and radar but I'm way over my head at this point.

Hopefully this is useful for someone!

fw.zip

photinus commented 4 years ago

I feel like this is out of scope for this project. Good info, but it's a different product and a whole different area of expertise needed.

It is based on the ESP8266 family, if there is some way to trick it into loading a custom firmware, I'm guessing it could be made to work rather easily with Tasmota or ESPHome