К вопросу о правильности работы датчика движения aqara

Вопросы о разработке собственного драйвера или об отладке существующих
Antworten
OlegJktu
starter
Beiträge: 37
Registriert: 29.10.2017, 06:48

К вопросу о правильности работы датчика движения aqara

Beitrag von OlegJktu » 21.03.2018, 11:50

сделал тему что бы выложить лог по датчику движения aqara. вчера в телеграмме был разговор, что может работать не корректно.
Я наверно плохой тестер, у себя сработок по движению не увидел.
Прикладываю выборку лога, полный лог по запросу.

Один из двух датчиков повернул к стене. Но утром когда встали он все равно сработал. Может я не понял что проверяли, могу провести повторный эксперимент.
Spoiler: Show hidden text
2018-03-21 00:01:55.665 - [34mdebug[39m: mihome.0 data: 158d0001a33b7c(sensor_motion.aq2): {"no_motion":1800,"state":false}
2018-03-21 00:01:55.665 - [34mdebug[39m: mihome.0 RAW: {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001a33b7c","short_id":15508,"data":{"no_motion":"1800"}}
2018-03-21 00:09:46.283 - [34mdebug[39m: mihome.0 data: 158d00016db80b(sensor_motion.aq2): {"lux":0}
2018-03-21 00:09:46.284 - [34mdebug[39m: mihome.0 RAW: {"cmd":"report","model":"sensor_motion.aq2","sid":"158d00016db80b","short_id":32063,"data":{"lux":"0"}}
2018-03-21 00:09:46.284 - [34mdebug[39m: mihome.0 data: 158d00016db80b(sensor_motion.aq2): {"voltage":3.015,"percent":81.5}
2018-03-21 00:09:46.284 - [34mdebug[39m: mihome.0 RAW: {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d00016db80b","short_id":32063,"data":{"voltage":3015}}
2018-03-21 00:44:31.873 - [34mdebug[39m: mihome.0 data: 158d0001a33b7c(sensor_motion.aq2): {"lux":0}
2018-03-21 00:44:31.873 - [34mdebug[39m: mihome.0 RAW: {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001a33b7c","short_id":15508,"data":{"lux":"0"}}
2018-03-21 00:44:31.874 - [34mdebug[39m: mihome.0 data: 158d0001a33b7c(sensor_motion.aq2): {"voltage":3.045,"percent":84.5}
2018-03-21 00:44:31.874 - [34mdebug[39m: mihome.0 RAW: {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d0001a33b7c","short_id":15508,"data":{"voltage":3045}}
2018-03-21 01:04:44.530 - [34mdebug[39m: mihome.0 data: 158d00016db80b(sensor_motion.aq2): {"lux":0}
2018-03-21 01:04:44.530 - [34mdebug[39m: mihome.0 RAW: {"cmd":"report","model":"sensor_motion.aq2","sid":"158d00016db80b","short_id":32063,"data":{"lux":"0"}}
2018-03-21 01:04:44.531 - [34mdebug[39m: mihome.0 data: 158d00016db80b(sensor_motion.aq2): {"voltage":3.015,"percent":81.5}
2018-03-21 01:04:44.532 - [34mdebug[39m: mihome.0 RAW: {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d00016db80b","short_id":32063,"data":{"voltage":3015}}
2018-03-21 01:39:31.147 - [34mdebug[39m: mihome.0 data: 158d0001a33b7c(sensor_motion.aq2): {"lux":0}
2018-03-21 01:39:31.147 - [34mdebug[39m: mihome.0 RAW: {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001a33b7c","short_id":15508,"data":{"lux":"0"}}
2018-03-21 01:39:31.148 - [34mdebug[39m: mihome.0 data: 158d0001a33b7c(sensor_motion.aq2): {"voltage":3.045,"percent":84.5}
2018-03-21 01:39:31.148 - [34mdebug[39m: mihome.0 RAW: {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d0001a33b7c","short_id":15508,"data":{"voltage":3045}}
2018-03-21 01:59:45.500 - [34mdebug[39m: mihome.0 data: 158d00016db80b(sensor_motion.aq2): {"lux":0}
2018-03-21 01:59:45.500 - [34mdebug[39m: mihome.0 RAW: {"cmd":"report","model":"sensor_motion.aq2","sid":"158d00016db80b","short_id":32063,"data":{"lux":"0"}}
2018-03-21 01:59:45.502 - [34mdebug[39m: mihome.0 data: 158d00016db80b(sensor_motion.aq2): {"voltage":3.015,"percent":81.5}
2018-03-21 01:59:45.502 - [34mdebug[39m: mihome.0 RAW: {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d00016db80b","short_id":32063,"data":{"voltage":3015}}
2018-03-21 02:34:31.223 - [34mdebug[39m: mihome.0 data: 158d0001a33b7c(sensor_motion.aq2): {"lux":0}
2018-03-21 02:34:31.224 - [34mdebug[39m: mihome.0 RAW: {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001a33b7c","short_id":15508,"data":{"lux":"0"}}
2018-03-21 02:34:31.225 - [34mdebug[39m: mihome.0 data: 158d0001a33b7c(sensor_motion.aq2): {"voltage":3.045,"percent":84.5}
2018-03-21 02:34:31.226 - [34mdebug[39m: mihome.0 RAW: {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d0001a33b7c","short_id":15508,"data":{"voltage":3045}}
2018-03-21 02:54:47.322 - [34mdebug[39m: mihome.0 data: 158d00016db80b(sensor_motion.aq2): {"lux":0}
2018-03-21 02:54:47.323 - [34mdebug[39m: mihome.0 RAW: {"cmd":"report","model":"sensor_motion.aq2","sid":"158d00016db80b","short_id":32063,"data":{"lux":"0"}}
2018-03-21 02:54:47.323 - [34mdebug[39m: mihome.0 data: 158d00016db80b(sensor_motion.aq2): {"voltage":3.015,"percent":81.5}
2018-03-21 02:54:47.324 - [34mdebug[39m: mihome.0 RAW: {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d00016db80b","short_id":32063,"data":{"voltage":3015}}
2018-03-21 03:29:32.598 - [34mdebug[39m: mihome.0 data: 158d0001a33b7c(sensor_motion.aq2): {"lux":0}
2018-03-21 03:29:32.598 - [34mdebug[39m: mihome.0 RAW: {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001a33b7c","short_id":15508,"data":{"lux":"0"}}
2018-03-21 03:29:32.599 - [34mdebug[39m: mihome.0 data: 158d0001a33b7c(sensor_motion.aq2): {"voltage":3.045,"percent":84.5}
2018-03-21 03:29:32.599 - [34mdebug[39m: mihome.0 RAW: {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d0001a33b7c","short_id":15508,"data":{"voltage":3045}}
2018-03-21 03:49:49.280 - [34mdebug[39m: mihome.0 data: 158d00016db80b(sensor_motion.aq2): {"lux":0}
2018-03-21 03:49:49.281 - [34mdebug[39m: mihome.0 RAW: {"cmd":"report","model":"sensor_motion.aq2","sid":"158d00016db80b","short_id":32063,"data":{"lux":"0"}}
2018-03-21 03:49:49.282 - [34mdebug[39m: mihome.0 data: 158d00016db80b(sensor_motion.aq2): {"voltage":3.015,"percent":81.5}
2018-03-21 03:49:49.282 - [34mdebug[39m: mihome.0 RAW: {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d00016db80b","short_id":32063,"data":{"voltage":3015}}
2018-03-21 04:24:33.925 - [34mdebug[39m: mihome.0 data: 158d0001a33b7c(sensor_motion.aq2): {"lux":0}
2018-03-21 04:24:33.926 - [34mdebug[39m: mihome.0 RAW: {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001a33b7c","short_id":15508,"data":{"lux":"0"}}
2018-03-21 04:24:33.930 - [34mdebug[39m: mihome.0 data: 158d0001a33b7c(sensor_motion.aq2): {"voltage":3.045,"percent":84.5}
2018-03-21 04:24:33.930 - [34mdebug[39m: mihome.0 RAW: {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d0001a33b7c","short_id":15508,"data":{"voltage":3045}}
2018-03-21 04:44:51.708 - [34mdebug[39m: mihome.0 data: 158d00016db80b(sensor_motion.aq2): {"lux":2}
2018-03-21 04:44:51.709 - [34mdebug[39m: mihome.0 RAW: {"cmd":"report","model":"sensor_motion.aq2","sid":"158d00016db80b","short_id":32063,"data":{"lux":"2"}}
2018-03-21 04:44:51.709 - [34mdebug[39m: mihome.0 data: 158d00016db80b(sensor_motion.aq2): {"voltage":3.015,"percent":81.5,"lux":2}
2018-03-21 04:44:51.710 - [34mdebug[39m: mihome.0 RAW: {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d00016db80b","short_id":32063,"data":{"voltage":3015,"lux":"2"}}
2018-03-21 05:19:35.146 - [34mdebug[39m: mihome.0 data: 158d0001a33b7c(sensor_motion.aq2): {"lux":2}
2018-03-21 05:19:35.147 - [34mdebug[39m: mihome.0 RAW: {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001a33b7c","short_id":15508,"data":{"lux":"2"}}
2018-03-21 05:19:35.147 - [34mdebug[39m: mihome.0 data: 158d0001a33b7c(sensor_motion.aq2): {"voltage":3.045,"percent":84.5,"lux":2}
2018-03-21 05:19:35.147 - [34mdebug[39m: mihome.0 RAW: {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d0001a33b7c","short_id":15508,"data":{"voltage":3045,"lux":"2"}}
2018-03-21 05:39:51.303 - [34mdebug[39m: mihome.0 data: 158d00016db80b(sensor_motion.aq2): {"lux":0}
2018-03-21 05:39:51.304 - [34mdebug[39m: mihome.0 RAW: {"cmd":"report","model":"sensor_motion.aq2","sid":"158d00016db80b","short_id":32063,"data":{"lux":"0"}}
2018-03-21 05:39:51.304 - [34mdebug[39m: mihome.0 data: 158d00016db80b(sensor_motion.aq2): {"voltage":3.015,"percent":81.5}
2018-03-21 05:39:51.305 - [34mdebug[39m: mihome.0 RAW: {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d00016db80b","short_id":32063,"data":{"voltage":3015}}
2018-03-21 05:56:22.657 - [34mdebug[39m: mihome.0 data: 158d0001a33b7c(sensor_motion.aq2): {"lux":0}
2018-03-21 05:56:22.657 - [34mdebug[39m: mihome.0 RAW: {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001a33b7c","short_id":15508,"data":{"lux":"0"}}
2018-03-21 05:56:22.665 - [34mdebug[39m: mihome.0 data: 158d0001a33b7c(sensor_motion.aq2): {"state":true,"no_motion":0}
2018-03-21 05:56:22.665 - [34mdebug[39m: mihome.0 RAW: {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001a33b7c","short_id":15508,"data":{"status":"motion"}}
2018-03-21 05:58:22.380 - [34mdebug[39m: mihome.0 data: 158d0001a33b7c(sensor_motion.aq2): {"no_motion":120,"state":false}
2018-03-21 05:58:22.380 - [34mdebug[39m: mihome.0 RAW: {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001a33b7c","short_id":15508,"data":{"no_motion":"120"}}
2018-03-21 05:59:22.233 - [34mdebug[39m: mihome.0 data: 158d0001a33b7c(sensor_motion.aq2): {"no_motion":180,"state":false}
2018-03-21 05:59:22.233 - [34mdebug[39m: mihome.0 RAW: {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001a33b7c","short_id":15508,"data":{"no_motion":"180"}}
2018-03-21 06:00:39.486 - [34mdebug[39m: mihome.0 data: 158d0001a33b7c(sensor_motion.aq2): {"lux":0}
2018-03-21 06:00:39.487 - [34mdebug[39m: mihome.0 RAW: {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001a33b7c","short_id":15508,"data":{"lux":"0"}}
2018-03-21 06:00:39.494 - [34mdebug[39m: mihome.0 data: 158d0001a33b7c(sensor_motion.aq2): {"state":true,"no_motion":0}
2018-03-21 06:00:39.495 - [34mdebug[39m: mihome.0 RAW: {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001a33b7c","short_id":15508,"data":{"status":"motion"}}
Spoiler: Show hidden text
Screenshot_20180321_124752.png
Screenshot_20180321_124752.png (102.54 KiB) 186 mal betrachtet

Antworten