]> vault307.fbx.one Git - garage_door_sensor.git/commitdiff
updated garage_sensor.py to reflect ability to use socket to send data
authorJimmy <jimipunk88@gmail.com>
Fri, 5 Jul 2024 17:41:59 +0000 (12:41 -0500)
committerJimmy <jimipunk88@gmail.com>
Fri, 5 Jul 2024 17:41:59 +0000 (12:41 -0500)
to client from host. only can be read once

garage_sensor.py

index b58a031b37288cb973cd3edb57580ead5a4526dc..0987498aa258dc76a51e2b8cdbab0f39158c5eee 100644 (file)
@@ -1,3 +1,7 @@
 # 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