[2021-10-19 22:03:04][DEBUG] : [Test][Test][autoMotionLightOff] {"lightmanager_id":4,"event_id":"54","value":"1","datetime":"2021-10-19 22:03:03","listener_id":"2"} [2021-10-19 22:03:04][DEBUG] : [Test][Test] handleStateLight [2021-10-19 22:03:04][DEBUG] : [Test][Test][getLightState] Light state check => 1 [2021-10-19 22:03:04][DEBUG] : [Test][Test] #54# result : 1 [2021-10-19 22:03:04][DEBUG] : [Test][Test][getMotionState] Motion check => 1 [2021-10-19 22:03:04][DEBUG] : [Test][Test][handleStateLight] I need to remove previous plan cron, count 0 [2021-10-19 22:03:04][DEBUG] : [Test][Test][handleStateLight] Motion detected, check luminosity [2021-10-19 22:03:04][DEBUG] : [Test][Test][getLuminosityState] Luminosity 7 threshold : 100 [2021-10-19 22:03:04][DEBUG] : [Test][Test][getLuminosityState] Luminosity check => 1 [2021-10-19 22:03:04][DEBUG] : [Test][Test][lightOn] Turn on light [2021-10-19 22:04:13][DEBUG] : [Test][Test][autoMotionLightOff] {"lightmanager_id":4,"event_id":"54","value":"0","datetime":"2021-10-19 22:04:13","listener_id":"2"} [2021-10-19 22:04:13][DEBUG] : [Test][Test] handleStateLight [2021-10-19 22:04:13][DEBUG] : [Test][Test][getLightState] Light state check => 1 [2021-10-19 22:04:13][DEBUG] : [Test][Test] #54# result : 0 [2021-10-19 22:04:13][DEBUG] : [Test][Test][getMotionState] Motion check => 0 [2021-10-19 22:04:13][DEBUG] : [Test][Test][handleStateLight] I need to remove previous plan cron, count 0 [2021-10-19 22:04:13][DEBUG] : [Test][Test][handleStateLight] No motion check off light [2021-10-19 22:04:13][DEBUG] : [Test][Test][handleStateLight] Light is on, plan off light [2021-10-19 22:05:46][DEBUG] : [Test][Test][autoMotionLightOff] {"lightmanager_id":4,"event_id":"54","value":"1","datetime":"2021-10-19 22:05:45","listener_id":"2"} [2021-10-19 22:05:46][DEBUG] : [Test][Test] handleStateLight [2021-10-19 22:05:46][DEBUG] : [Test][Test][getLightState] Light state check => 1 [2021-10-19 22:05:46][DEBUG] : [Test][Test] #54# result : 1 [2021-10-19 22:05:46][DEBUG] : [Test][Test][getMotionState] Motion check => 1 [2021-10-19 22:05:46][DEBUG] : [Test][Test][handleStateLight] I need to remove previous plan cron, count 0 [2021-10-19 22:05:46][DEBUG] : [Test][Test][handleStateLight] Motion detected, check luminosity [2021-10-19 22:05:46][DEBUG] : [Test][Test][getLuminosityState] Luminosity 8 threshold : 100 [2021-10-19 22:05:46][DEBUG] : [Test][Test][getLuminosityState] Luminosity check => 1 [2021-10-19 22:05:46][DEBUG] : [Test][Test][lightOn] Turn on light [2021-10-19 22:06:56][DEBUG] : [Test][Test][autoMotionLightOff] {"lightmanager_id":4,"event_id":"54","value":"0","datetime":"2021-10-19 22:06:55","listener_id":"2"} [2021-10-19 22:06:56][DEBUG] : [Test][Test] handleStateLight [2021-10-19 22:06:56][DEBUG] : [Test][Test][getLightState] Light state check => 1 [2021-10-19 22:06:56][DEBUG] : [Test][Test] #54# result : 0 [2021-10-19 22:06:56][DEBUG] : [Test][Test][getMotionState] Motion check => 0 [2021-10-19 22:06:56][DEBUG] : [Test][Test][handleStateLight] I need to remove previous plan cron, count 0 [2021-10-19 22:06:56][DEBUG] : [Test][Test][handleStateLight] No motion check off light [2021-10-19 22:06:56][DEBUG] : [Test][Test][handleStateLight] Light is on, plan off light