From: Jimmy Date: Fri, 5 Jul 2024 17:41:59 +0000 (-0500) Subject: updated garage_sensor.py to reflect ability to use socket to send data X-Git-Url: https://vault307.fbx.one/gitweb/garage_door_sensor.git/commitdiff_plain/1535dbb06aee0da9d337b8fd143b6a3747e20181?ds=inline;hp=d2fd13bb66066a358f8038f86279695548e5ddb7 updated garage_sensor.py to reflect ability to use socket to send data to client from host. only can be read once --- diff --git a/garage_sensor.py b/garage_sensor.py index b58a031..0987498 100644 --- a/garage_sensor.py +++ b/garage_sensor.py @@ -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