X-Git-Url: https://git.realraum.at/?p=svn42.git;a=blobdiff_plain;f=switch-power.py;h=9e036b37e6e6c4812c1efcbf0b721966100a0c52;hp=4db6ad762893025c054926d8ebae117b6f33e58e;hb=9148b190d80a15e5393f7ef8c5bd6997c4b40bb2;hpb=564023a044eb709e3d0ea23bfcd8f74455de4bc0 diff --git a/switch-power.py b/switch-power.py index 4db6ad7..9e036b3 100755 --- a/switch-power.py +++ b/switch-power.py @@ -343,7 +343,7 @@ while True: elif structname == "BoreDoomButtonPressEvent": eventPanic() continue - elif structname == "MovementSensorUpdate": + elif structname == "MovementSensorUpdate" or structname == "DoorAjarUpdate": eventMovement() continue elif structname == "IlluminationSensorUpdate" and "Value" in dictdata: