Skip to content

duckida/picow-lightswitches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

picow-lightswitches

Pico W code to use servos to turn on and off the lights via Home Assistant

To learn more about the different types of switches and learn to add them to Home Assistant, open their folders. The types are:

The Smart Switches are powered by MicroPython, while the dimmer uses ESPHome.

API control

The smart switches use HTTP endpoints to turn on and off the lights.

http://switch.ip.address/light/on - turns on the light and returns status

http://switch.ip.address/light/off - turns off the light and returns status

http://switch.ip.address/light/status - returns the light status (format {"POWER": "ON"})

About

Pico W code to use servos to turn on and off the lights via Home Assistant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages