Denis Stepanov
Denis Stepanov
The Discovery results are printed in order received, which is pretty random. Maybe make some sorting?
Partially inspired by issue #13. Since Yeelight API does not return bulb names properly, would be good to support user-defined bulb labels, and display them instead of cryptic IDs.
Since the switch just sends toggle events without consulting bulbs status, the result depends on the initial state of the bulbs. It is thus possible to have with single button...
With `/flip` page it is fairly easy to make a shell script which could be used to manipulate lights from command line.
Many places in the code don't check for errors; notably, the EEPROM operations. To improve.
From issue #26, it would be desirable to have a port of this application to ESP32.
Minor issue. Currently the scan process only updates already registered bulbs or adds newly found bulbs. No removal is done. This could be potentially an issue in a dynamic Yeelight...
Witty Cloud board comes with a built-in RGB LED, which could be used to show the RGB status of the linked Yeelight bulb.
Witty Cloud board comes with a photo sensor which could be used to monitor environment. E.g., to light the bulb when it gets dark.