Läuft wider
This commit is contained in:
parent
3daf57e440
commit
3806945d74
329
nohup.out
Normal file
329
nohup.out
Normal file
@ -0,0 +1,329 @@
|
|||||||
|
Connected
|
||||||
|
Subscribed OK
|
||||||
|
Received on topic: foobar/oben/licht Message: b'2'
|
||||||
|
Received on topic: foobar/oben/licht Message: b''
|
||||||
|
No valid value
|
||||||
|
Received on topic: foobar/oben/licht Message: b'7'
|
||||||
|
Received on topic: foobar/oben/licht Message: b''
|
||||||
|
No valid value
|
||||||
|
Received on topic: foobar/oben/licht Message: b'99'
|
||||||
|
Received on topic: foobar/oben/licht Message: b''
|
||||||
|
No valid value
|
||||||
|
Received on topic: foobar/oben/licht Message: b'1'
|
||||||
|
Received on topic: foobar/oben/licht Message: b''
|
||||||
|
No valid value
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b''
|
||||||
|
No valid value
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b''
|
||||||
|
No valid value
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b''
|
||||||
|
No valid value
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
||||||
|
Received on topic: foobar/oben/licht Message: b'8'
|
@ -85,7 +85,7 @@ def switch(i,speed=0.5):
|
|||||||
time.sleep(speed)
|
time.sleep(speed)
|
||||||
off(i)
|
off(i)
|
||||||
|
|
||||||
commands = { "flur" : 0, "baellebad" : 1, "lounge-front": 2, "lounge-back" : 3,"baellebad-ein" : 4, "lounge-ein" : 5, "cantina-ein" : 6, "zentral-aus" : 7, "flur-strobo": 9, "cantina" : 8}
|
commands = { "flur" : 0, "baellebad" : 1, "lounge-front": 2, "lounge-back" : 3,"baellebad-ein" : 4, "lounge-ein" : 5, "cantina-ein" : 6, "zentral-aus" : 7, "flur-strobo": 100, "cantina" : 8, "cantina-strobo": 99}
|
||||||
|
|
||||||
def msgs(inp):
|
def msgs(inp):
|
||||||
c = inp.decode("utf-8")
|
c = inp.decode("utf-8")
|
||||||
@ -97,16 +97,16 @@ def msgs(inp):
|
|||||||
except ValueError:
|
except ValueError:
|
||||||
print ( "No valid value")
|
print ( "No valid value")
|
||||||
return
|
return
|
||||||
if (msg == 9):
|
#if (msg == 9):
|
||||||
for i in range(1000):
|
# for i in range(1000):
|
||||||
switch(0, speed=0.05)
|
# switch(0, speed=0.05)
|
||||||
time.sleep(0.06)
|
# time.sleep(0.06)
|
||||||
elif (msg == 99):
|
#elif (msg == 99):
|
||||||
for i in range(50):
|
# for i in range(50):
|
||||||
switch(8, speed=0.05)
|
# switch(8, speed=0.05)
|
||||||
time.sleep(0.06)
|
# time.sleep(0.06)
|
||||||
else:
|
#else:
|
||||||
switch(msg)
|
switch(msg)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
cmds = c.split(",")
|
cmds = c.split(",")
|
||||||
@ -121,10 +121,12 @@ def msgs(inp):
|
|||||||
except ValueError:
|
except ValueError:
|
||||||
return
|
return
|
||||||
switch(command,speed = 3*arg/100+0.7 )
|
switch(command,speed = 3*arg/100+0.7 )
|
||||||
if ( command == 9 ):
|
if ( command == 100 or command == 99 ):
|
||||||
for i in range(arg):
|
if arg < 100:
|
||||||
switch(0, speed=0.05)
|
for i in range(arg):
|
||||||
time.sleep(0.06)
|
switch((100-command)*8, speed=0.05)
|
||||||
|
time.sleep(0.06)
|
||||||
|
|
||||||
|
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user