]> vault307.fbx.one Git - garage_door_sensor.git/blobdiff - garage_sensor.py
garageCheck runs on device to turn on/off LEDs (Myserver)
[garage_door_sensor.git] / garage_sensor.py
index b58a031b37288cb973cd3edb57580ead5a4526dc..8953ee91124f99d5471cbf3773beb0b3634217c1 100644 (file)
@@ -1,3 +1,8 @@
 # use distance sensor to measure in front (place by track). If less than 100, door is open.
 # set up web socket to communicate with base server to display status
 # use distance sensor to measure in front (place by track). If less than 100, door is open.
 # set up web socket to communicate with base server to display status
+'''
+can send data over socket from pico w. can read socket, but only once.
+host/client need to be reset (socket seems to be 1 time use?)
+'''
 # host server will check status and light led if door OPEN
 # host server will check status and light led if door OPEN
+# if lux below 25, light off. over 25, light on. check if door open/closed