aboutsummaryrefslogtreecommitdiffstats
path: root/readme.rst
diff options
context:
space:
mode:
Diffstat (limited to 'readme.rst')
-rw-r--r--readme.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/readme.rst b/readme.rst
index 4737ef5..7bd9e9b 100644
--- a/readme.rst
+++ b/readme.rst
@@ -10,3 +10,11 @@ Simple control is done on the serial line. Exemple with python:
import serial
s = serial.Serial('/dev/serial/device', baudrate=9600)
s.write(b't') # toggle switch
+
+
+In `doc` directory, there is example of a daemon to turn light on and off from
+a jolla phone (a simple python script easily adaptable: 3 lines). The daemon
+can also turn on light in the good time range by just detecting the phone mac
+address requesting an address on the dhcp local server. This possibility is
+only available if the dhcp server is on the same device as where the usb servo
+switch is plugged into.