Read the story:
https://www.shawenyao.com/A-Distributed-Motion-Controlled-Lighting-System/
picow
code to be run on a Raspberry Pi Pico Wserver
code to be run on a Raspberry Pi 4
- (On a Raspberry Pi 4)
cd ~
git clone https://github.com/shawenyao/light.git
- Edit
~/light/server/server_config.py
and~/light/picow/pir_config.py
as necessary - Upload all files in
picow
to a Raspberry Pi Pico W ~/light/server/start
to start the server~/light/server/stop
to stop the server