sbidy / pywizlight

A python connector for WiZ devices
MIT License
463 stars 79 forks source link

Additional or alternative scenes? #69

Closed eibanez closed 3 years ago

eibanez commented 3 years ago

Last night I downloaded the Android APK of the app and poking around I found the images that represent each scene. I did find all the images for the scenes listed in pywizlight/scenes.py

I did find a few additional images, which correspond to alternative versions of scenes listed in the repo. It seems to me that they are animated scenes that only use the white LEDs. The scene names have _tw appended to them (maybe for True White?).

For instance, this is what the file for christmas looks like (scene_christmas_big.png):

image

And this is what the file for christmas_tw looks like (scene_christmas_tw_big.png): image

There are five scenes that have this alternative version:

I don't have an android device, but these scenes are not listed in the iOS app at all. I wonder if there is an additional parameter that needs to be implemented to activate them.

cc: @vodovozovge @angadsingh

vodovozovge commented 3 years ago

hey @eibanez

we indeed have some scenes with alternative icons. Some of them exist only for Tunable White (CCT only, Whites) bulbs (hence the "tw"), some for both Tunable Whites and Dimmable Whites ("dw")

They are tuned to work on the bulbs that don't have RGB LEDs and to make the app a bit nicer, we added additional assets to better represent what happens on the lights.

To activate the scene you simply need tunable white light ;)

eibanez commented 3 years ago

Oh, that makes sense! Thanks for the prompt response.