Lumiere qui s'eteint et se rallume rapidement jusqu'a un redemarrage de Z2M

Mon problème

Salut a tous! Alors voila, dans mes toilettes j’ai un detecteur de mouvement et un module sonoff ZBMini L derriere mon interrupteur pour pouvoir piloter la lumiere soit via l’interrupteur, soit via la domotique.

Et une fois de temps en temps, la lumiere part completement en cacahuete :exploding_head:. Elle se met a s’eteindre et se rallumer soit 2 fois par secondes soit 1 fois par seconde je dirais. Et peut importe si j’essaie de l’eteindre via Z2M, Home Assistant ou manuellement a l’interrupteur, ca continue. Il ne me reste plus qu’a faire un restart de Z2M et la c’est bon. Tres honnetement ca rend fou et si jamais ca arrive a quelqu’un dans la maison alors que je ne suis pas la ca l’est encore plus car le seul moyen auquel il faut penser en premier lieu, c’est de faire sauter le courant pour cette lumiere.

Ma configuration

System Information

version core-2023.3.1
installation_type Unsupported Third Party Container
dev false
hassio false
docker true
user abc
virtualenv false
python_version 3.10.10
os_name Linux
os_version 5.15.0-58-generic
arch x86_64
timezone Europe/Paris
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4979
Installed Version 1.31.0
Stage running
Available Repositories 1240
Downloaded Repositories 9
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Dashboards
dashboards 1
resources 4
views 16
mode storage
Recorder

database_engine | mysql
database_version | 10.6.12

Plus d’infos

Ca m’est arrive de nouveau ce matin. Voici les « indices » dont je dispose:

  • Lorsque je suis arrive dans les toilettes, la lumiere ne s’est pas allumee automatiquement. Je me suis doute de ce qui allait arriver…
  • J’appuie sur l’interrupteur pour allumer manuellement, et comme prevu: Le festival commence :bulb: :black_circle: :bulb: :black_circle: :bulb: :black_circle: :bulb: :black_circle: :bulb: :black_circle:
  • Je pars restart Z2M pour que ca se calme puis je jette un oeil dans les logs a ce moment la. On voit que le message du motion sensor est bien parti, que rien ne se passe pendant 8s le temps que je me dise « Oh non… » et clique sur l’interrupteur et puis ca se met a s’allumer et s’eteindre

En cas que ca aide, voici mes logs:

Zigbee2MQTT:info  2023-03-07 09:00:02: MQTT publish: topic 'zigbee2mqtt/motion.0_toilets', payload '{"battery":100,"device_temperature":22,"illuminance":3,"illuminance_lux":3,"last_seen":"2023-03-07T08:00:02.473Z","linkquality":76,"occupancy":true,"power_outage_count":15,"voltage":3015}'
Zigbee2MQTT:info  2023-03-07 09:00:02: MQTT publish: topic 'zigbee2mqtt/motion.0_toilets', payload '{"battery":100,"device_temperature":22,"illuminance":3,"illuminance_lux":3,"last_seen":"2023-03-07T08:00:02.479Z","linkquality":76,"occupancy":true,"power_outage_count":15,"voltage":3015}'
Zigbee2MQTT:info  2023-03-07 09:00:10: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:10.572Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:10: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:10.694Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:10: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:10.793Z","linkquality":65,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:10: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:10.908Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:10: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:10.908Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:10: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:10.908Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:10: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:10.995Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:11: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:11.109Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:11: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:11.109Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:11: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:11.192Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:11: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:11.307Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:11: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:11.392Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:11: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:11.392Z","linkquality":58,"power_on_behavior":"off","state":"OFF","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:11: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:11.432Z","linkquality":58,"power_on_behavior":"off","state":"OFF","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:11: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:11.492Z","linkquality":61,"power_on_behavior":"off","state":"OFF","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:11: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:11.601Z","linkquality":61,"power_on_behavior":"off","state":"OFF","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:11: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:11.695Z","linkquality":58,"power_on_behavior":"off","state":"OFF","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:11: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:11.821Z","linkquality":58,"power_on_behavior":"off","state":"OFF","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:12: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:12.073Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:12: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:12.193Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:12: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:12.297Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:12: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:12.411Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:12: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:12.411Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:12: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:12.495Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:12: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:12.613Z","linkquality":65,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:12: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:12.613Z","linkquality":65,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:12: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:12.695Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:12: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:12.817Z","linkquality":54,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:12: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:12.817Z","linkquality":54,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:12: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:12.817Z","linkquality":54,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:13: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:13.402Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:13: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:13.509Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:13: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:13.624Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:13: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:13.624Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:13: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:13.710Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:13: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:13.808Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:13: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:13.913Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:14: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:14.010Z","linkquality":51,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:14: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:14.109Z","linkquality":51,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:14: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:14.207Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:14: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:14.310Z","linkquality":51,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:14: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:14.419Z","linkquality":54,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:14: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:14.488Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:14: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:14.531Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:14: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:14.531Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:14: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:14.610Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:14: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:14.710Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:14: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:14.727Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:14: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:14.809Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:14: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:14.909Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:15: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:15.111Z","linkquality":54,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:15: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:15.116Z","linkquality":58,"power_on_behavior":"off","state":"OFF","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:15: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:15.612Z","linkquality":58,"power_on_behavior":"off","state":"OFF","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:15: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:15.731Z","linkquality":61,"power_on_behavior":"off","state":"OFF","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:15: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:15.804Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:15: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:15.824Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:15: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:15.922Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:16: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:16.021Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:16: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:16.120Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:16: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:16.221Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:16: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:16.321Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:16: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:16.379Z","linkquality":61,"power_on_behavior":"off","state":"OFF","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:16: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:16.420Z","linkquality":61,"power_on_behavior":"off","state":"OFF","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:16: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:16.520Z","linkquality":61,"power_on_behavior":"off","state":"OFF","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:16: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:16.654Z","linkquality":61,"power_on_behavior":"off","state":"OFF","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:17: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:17.032Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:17: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:17.250Z","linkquality":65,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:17: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:17.366Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:17: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:17.366Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:17: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:17.462Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:17: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:17.566Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:17: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:17.566Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:17: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:17.649Z","linkquality":58,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:17: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:17.751Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
Zigbee2MQTT:info  2023-03-07 09:00:17: MQTT publish: topic 'zigbee2mqtt/light.0_toilets', payload '{"last_seen":"2023-03-07T08:00:17.849Z","linkquality":61,"power_on_behavior":"off","state":"ON","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'

Et du cote de Home-Assistant, je n’ai vraiment rien de fou lie a ce device, juste 2 automatisations:

Code de la premiere:

alias: "Light: Floor 0 - Toilets: Turn on"
description: ""
trigger:
  - type: motion
    platform: device
    device_id: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
    entity_id: binary_sensor.motion_0_toilets_occupancy
    domain: binary_sensor
condition: []
action:
  - type: turn_on
    device_id: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
    entity_id: switch.light_0_toilets
    domain: switch
mode: restart

Code de la deuxieme:

alias: "Light: Floor 0 - Toilets: Turn off"
description: ""
trigger:
  - type: no_motion
    platform: device
    device_id: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
    entity_id: binary_sensor.motion_0_toilets_occupancy
    domain: binary_sensor
    for:
      hours: 0
      minutes: 4
      seconds: 0
condition: []
action:
  - type: turn_off
    device_id: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
    entity_id: switch.light_0_toilets
    domain: switch
mode: restart

Est-ce que quelqu’un a deja eu ce cas de figure?

Est-ce que quelqu’un pense a un fix possible?

Ca n’arrive pas tous les jours, et parfois il s’ecoule 1 mois sans que ca arrive… Mais la c’est arrive 2 fois en 2 jours par exemple.

Merci!

Hello

pourquoi tu met restart ??? la ton automate redemarre en boucle.

voici mon code , la nuit la lumiere va diminué en intensite

alias: Lumière Toilette Automatique
description: ""
trigger:
  - platform: state
    entity_id:
      - binary_sensor.detecteur_toilette_occupancy
    to: "on"
    for:
      hours: 0
      minutes: 0
      seconds: 1
condition: []
action:
  - choose:
      - conditions:
          - condition: time
            after: "20:00"
            before: "7:00"
            weekday:
              - sun
              - sat
              - fri
              - thu
              - wed
              - tue
              - mon
        sequence:
          - service: light.turn_on
            data:
              color_temp: 500
              brightness_pct: 1
            target:
              entity_id:
                - light.eclairage_toilette
          - delay:
              hours: 0
              minutes: 4
              seconds: 0
              milliseconds: 0
          - service: light.turn_off
            data: {}
            target:
              entity_id: light.eclairage_toilette
    default:
      - service: light.turn_on
        data:
          brightness: 255
        target:
          entity_id:
            - light.eclairage_toilette
      - delay:
          hours: 0
          minutes: 2
          seconds: 0
          milliseconds: 0
      - service: light.turn_off
        data: {}
        target:
          entity_id: light.eclairage_toilette
mode: single

single (Par défaut) Ne pas démarrer une nouvelle exécution. Émettre un avertissement.
restart Démarrez une nouvelle analyse après avoir arrêté l’analyse précédente.

Salut,
ton soucis est le mode restart de l’automatisation. Mets le en mode single et fini les soucis :wink:

C’est en restart pour que si quelqu’un reste aux toilettes ou sort sans eteindre et quelqu’un rentre a nouveau, l’automatisation restart. J’imagine qu’en effet je peux enlever le restart sur l’automatisation start.

Avant j’avais meme une condition qui start que si la lumiere est eteinte. Et pire des cas, ca allume une lumiere deja allumee.

Comme explique, cette automatisation marche tres bien, parfois pendant plus d’un mois entier. Mais de temps en temps, si je rentre dans les toilettes, que le detecteur me voit, mais que pour une raison inconnue la lumiere ne s’allume pas… et qu’ensuite je l’allume a la main via l’interrupteur a ce moment la c’est parti pour la fete.

Mais sinon la plupart du temps tout marche nikel donc je doute fort que le probleme vienne du restart meme si je vais essayer…

Mais pour l’automatisation turn off je suis oblige de le garder sinon au plus tard toutes les 4 mn ca va s’eteindre alors que si quelqu’un est encore la je veux que ca restart pour ne pas s’eteindre

Hello

c’est ce prendre la tete pour rien , dans mon scenario j’ai mis un timer de 4 minutes.
la lumiere se coupe un geste ou un appui sur l’interrupteur ca repart pour 4 minutes …

Se prendre la tete pour rien? :sweat_smile:

Je suis en tele travail. J’ai exactement la meme automatisation dans mon bureau ou je suis 8h par jour voir beaucoup plus (apres le travail aussi).

Disons que je passe facile 10h dans cette piece par jour en tout cas en semaine. Si je devais avoir la lumiere qui clignote toutes les 4mn, soit 150 off/on dans la journee je me tire une balle :upside_down_face:.

Honnetement rien de pire qu’une domotique mal reglee. Je prefere limite avoir juste l’interrupteur manuel si c’est pour avoir un clignotement toutes les 4mn.

les automatisations ne doivent pas prendre le pas sur les actions manuel.

Perso, là où j’ai mise en place des détecteur de présence et allumage auto des lumières, j’ai fait ça :

  • Allumage de la lumière via le détecteur de présence , active aussi un input_boolean :
- id: '11111'
  alias: Buanderie On Via Detecteur
  description: ''
  trigger:
  - type: motion
    platform: device
    device_id: XXXXX
    entity_id: binary_sensor.detecteur_buanderie_occupancy
    domain: binary_sensor
  condition:
  - type: is_illuminance
    condition: device
    device_id: XXXXX
    entity_id: sensor.detecteur_buanderie_illuminance_lux
    domain: sensor
    below: 40
  - condition: device
    type: is_off
    device_id: YYYYY
    entity_id: switch.aaaa
    domain: switch
  action:
  - type: turn_on
    device_id: YYYYY
    entity_id: switch.aaaa
    domain: switch
  - service: input_boolean.turn_on
    target:
      entity_id: input_boolean.buanderie_switch_auto_on
    data: {}
  mode: single
  • et pour l’arreter si personne n’est detecter, la condition sur l’input booleen :
- id: '1111'
  alias: Buanderie Off via Detecteur
  description: ''
  trigger:
  - type: no_motion
    platform: device
    device_id: XXXXX
    entity_id: binary_sensor.detecteur_buanderie_occupancy
    domain: binary_sensor
  condition:
  - condition: state
    entity_id: input_boolean.buanderie_switch_auto_on
    state: 'on'
  - condition: device
    type: is_on
    device_id: YYYYY
    entity_id: switch.aaaa
    domain: switch
  action:
  - type: turn_off
    device_id: YYYYY
    entity_id: switch.aaaa
    domain: switch
  - service: input_boolean.turn_off
    target:
      entity_id: input_boolean.buanderie_switch_auto_on
  mode: single
1 « J'aime »