This shows you the differences between two versions of the page.
|
iothings:laboratoare:2025:lab5 [2025/10/28 11:33] dan.tudose [Switch as a Sleepy ED] |
iothings:laboratoare:2025:lab5 [2025/10/28 11:35] (current) dan.tudose [Switch as a Sleepy ED] |
||
|---|---|---|---|
| Line 264: | Line 264: | ||
| Encode more than simple on/off behavior from the switch. For example, a press toggles, and a hold dims up/down. Add a long-press detector on GPIO 9 and send MoveWithOnOff / Stop commands; on the bulb, implement Level Control callbacks to set NeoPixel brightness with transition times. | Encode more than simple on/off behavior from the switch. For example, a press toggles, and a hold dims up/down. Add a long-press detector on GPIO 9 and send MoveWithOnOff / Stop commands; on the bulb, implement Level Control callbacks to set NeoPixel brightness with transition times. | ||
| </note> | </note> | ||
| + | |||
| + | <hidden> | ||
| + | Pentru asistenți: la laboratorul ăsta o să aveți nevoie de un gateway Home Assistant cu stick Zigbee Coordinator atașat. Dacă nu aveți așa ceva, întrebați-l pe Dan Tudose. | ||
| + | |||
| + | </hidden> | ||