Treatlife esp01_1m 2/3-Way Wall-Switch
Specifications
34% Complete
34% Complete
Priority 1 (Core)62%
Priority 2 (Smart Specs)25%
Priority 3 (Extended)14%
| Brand | Treatlife |
|---|---|
| Manufacturer | — |
| Model Number | — |
| Also Known As | — |
| ASIN | — |
| Price | — |
| Official Site | — |
| Dimensions | — |
| Weight | — |
| Color / Material | — / — |
| Cloud Control | — |
| Local Control | Yes |
| Hardware Requirements | — |
| Requirement Notes | — |
| Release / Discontinued | 2020-11-29 / Active |
| Connectivity | |
|---|---|
| Power Types | — |
| USB Type | — |
| Battery | — |
| Sensors | — |
| Voice Assistants | — |
| Compatible Apps | — |
| Compatible Services | |
| Source | esphome_devices |
Description
* push button wall switch * 2 way bought here: [https://www.amazon.com/dp/B07WWYQJFR](https://www.amazon.com/dp/B07WWYQJFR) * 3 way bought here: [https://www.amazon.com/dp/B07V3XB1QG](https://www.amazon.com/dp/B07V3XB1QG) * this dude shows how to flash it: [https://www.digiblur.com/2020/01/tuya-convert-23-update-flash-tuya.html](https://www.digiblur.com/2020/01/tuya-convert-23-update-flash-tuya.html) * unlike the 3 way switch, the 2 way switch does not have a power sense pin. To solve this issue, and allow the smart switch to be smart, this code turns the White LED on when the light is off and, led off when the light is on. This allows the LEDs pin state to be used as a power sense, to determine whether to turn the relay on or off.
Additional Attributes
| Chip / Board | esp8266 |
|---|---|
| Electrical Standard | global |


