+ elif structname == "DoorCommandEvent":
+ last_user = dictdata["Who"]
+ continue
+ elif structname == "BoreDoomButtonPressEvent":
+ playThemeOf(user="PANIC", fallback_default="nothing")
+ continue
+ elif structname == "MovementSensorUpdate" or structname == "DoorAjarUpdate":
+ unixts_last_movement=time.time()
+ if (time.time() - unixts_last_presence) <= float(uwscfg.tracker_secs_presence_before_movement_to_launch_event):
+ unixts_last_presence=0
+ if last_status:
+ playThemeOf(user=last_user, fallback_default="DEFAULT")
+ continue
+ elif structname == "DoorProblemEvent" and "Severity" in dictdata:
+ playThemeOf(user="ERROR", fallback_default="nothing")
+ continue
+