[2021-10-16 23:06:39][DEBUG] : [Test][Test][autoMotionLightOff] {"lightmanager_id":4,"event_id":"54","value":"1","datetime":"2021-10-16 23:06:38","listener_id":"2"} [2021-10-16 23:06:39][DEBUG] : [Test][Test] handleStateLight [2021-10-16 23:06:39][DEBUG] : [Test][Test][getLightState] Light state check => 1 [2021-10-16 23:06:39][DEBUG] : [Test][Test] #54# result : 1 [2021-10-16 23:06:39][DEBUG] : [Test][Test][getMotionState] Motion check => 1 [2021-10-16 23:06:39][DEBUG] : [Test][Test][handleStateLight] I need to remove previous plan cron [2021-10-16 23:06:39][DEBUG] : [Test][Test][handleStateLight] Motion detected, check luminosity [2021-10-16 23:06:39][DEBUG] : [Test][Test][getLuminosityState] Luminosity 7 threshold : 100 [2021-10-16 23:06:39][DEBUG] : [Test][Test][getLuminosityState] Luminosity check => 1 [2021-10-16 23:06:39][DEBUG] : [Test][Test][lightOn] Turn on light [2021-10-16 23:07:49][DEBUG] : [Test][Test][autoMotionLightOff] {"lightmanager_id":4,"event_id":"54","value":"0","datetime":"2021-10-16 23:07:48","listener_id":"2"} [2021-10-16 23:07:49][DEBUG] : [Test][Test] handleStateLight [2021-10-16 23:07:49][DEBUG] : [Test][Test][getLightState] Light state check => 1 [2021-10-16 23:07:49][DEBUG] : [Test][Test] #54# result : 0 [2021-10-16 23:07:49][DEBUG] : [Test][Test][getMotionState] Motion check => 0 [2021-10-16 23:07:49][DEBUG] : [Test][Test][handleStateLight] I need to remove previous plan cron [2021-10-16 23:07:49][DEBUG] : [Test][Test][handleStateLight] No motion check off light [2021-10-16 23:07:49][DEBUG] : [Test][Test][handleStateLight] Light is on, plan off light [2021-10-16 23:08:06][DEBUG] : [Test][Test][autoMotionLightOff] {"lightmanager_id":4,"event_id":"54","value":"1","datetime":"2021-10-16 23:08:06","listener_id":"2"} [2021-10-16 23:08:06][DEBUG] : [Test][Test] handleStateLight [2021-10-16 23:08:06][DEBUG] : [Test][Test][getLightState] Light state check => 1 [2021-10-16 23:08:06][DEBUG] : [Test][Test] #54# result : 1 [2021-10-16 23:08:06][DEBUG] : [Test][Test][getMotionState] Motion check => 1 [2021-10-16 23:08:06][DEBUG] : [Test][Test][handleStateLight] I need to remove previous plan cron [2021-10-16 23:08:06][DEBUG] : [Test][Test][handleStateLight] Motion detected, check luminosity [2021-10-16 23:08:06][DEBUG] : [Test][Test][getLuminosityState] Luminosity 17 threshold : 100 [2021-10-16 23:08:06][DEBUG] : [Test][Test][getLuminosityState] Luminosity check => 1 [2021-10-16 23:08:06][DEBUG] : [Test][Test][lightOn] Turn on light [2021-10-16 23:09:16][DEBUG] : [Test][Test][autoMotionLightOff] {"lightmanager_id":4,"event_id":"54","value":"0","datetime":"2021-10-16 23:09:16","listener_id":"2"} [2021-10-16 23:09:16][DEBUG] : [Test][Test] handleStateLight [2021-10-16 23:09:16][DEBUG] : [Test][Test][getLightState] Light state check => 1 [2021-10-16 23:09:16][DEBUG] : [Test][Test] #54# result : 0 [2021-10-16 23:09:16][DEBUG] : [Test][Test][getMotionState] Motion check => 0 [2021-10-16 23:09:16][DEBUG] : [Test][Test][handleStateLight] I need to remove previous plan cron [2021-10-16 23:09:16][DEBUG] : [Test][Test][handleStateLight] No motion check off light [2021-10-16 23:09:16][DEBUG] : [Test][Test][handleStateLight] Light is on, plan off light [2021-10-16 23:12:51][DEBUG] : [Test][Test] autoMotionLightOff => {"lightmanager_id":4,"seconds":"49"} [2021-10-16 23:12:51][DEBUG] : [Test][Test] #54# result : 0 [2021-10-16 23:12:51][DEBUG] : [Test][Test][getMotionState] Motion check => 0 [2021-10-16 23:12:51][DEBUG] : [Test][Test][lightOff] Turn off light