File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /.venv
2+ /__pycache__
Original file line number Diff line number Diff line change 1+ {
2+ "FAUXMO" : {
3+ "ip_address" : " auto"
4+ },
5+ "PLUGINS" : {
6+ "SimpleHTTPPlugin" : {
7+ "DEVICES" : [
8+ {
9+ "name" : " SOMFY" ,
10+ "on_cmd" : " http://localhost:80/cmd/stop?shutter={SHUTTER_ID}" ,
11+ "off_cmd" : " http://localhost:80/cmd/up?shutter={SHUTTER_ID}" ,
12+ "method" : " POST" ,
13+ "initial_state" : " on" ,
14+ "use_fake_state" : true
15+ }
16+ ]
17+ }
18+ }
19+ }
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ After=network-online.target
55
66[Service]
77User =pi
8- ExecStart =sudo /usr/bin/python3 /home/pi/Pi-Somfy/operateShutters.py -c /home/pi/Pi-Somfy/operateShutters.conf -a -e -m
8+ ExecStart =sudo bash /home/pi/Pi-Somfy/start.sh
99Environment =PYTHONUNBUFFERED =1
1010Restart =on-failure
1111Type =exec
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ sudo /usr/bin/python3 /home/pi/Pi-Somfy/operateShutters.py -c /home/pi/Pi-Somfy/operateShutters.conf -a -m &
4+ fauxmo -c /home/pi/Pi-Somfy/fauxmo_config.json -vv
You can’t perform that action at this time.
0 commit comments