[BUG] Lost connection to wall panel
See original GitHub issueDescription
After some time or specifc actions, I lost connection to wall panel , here is my observations:
- Camera of Wall Panel dont work anymore, device do not wake up when I’m in front of camera ;
- MQTT show losing connection from my HA instance, all my sensors become unavailables ;
- HTPP commands do not work anymore and get timeout ;
- If I wake up manually the device, HA works well, even if Wall Panel is still “offline” from MQTT / HTTP ;
To restore Wall Panel, I can:
- Wake up manually the device ;
- Go to the settings of Wall Panel ;
- Go back to the webview ;
- MQTT / HTTP commands immediatly work then ;
Informations about my configuration:
- Camera, HTTP, MQTT and sensors are enabled ;
- Sensor publish frequence is default one (30s) ;
- Battery optimization has been disabled for Wall Panel app ;
- Wall panel app is default dashboard of device ;
- I have the Home Assistant app on the same device which continue to send sensors informations even when Wall Panel is “offline” ;
Steps to reproduce
Bug occure when :
- Device boot automatically (android function where you set time to automatically switch off / on the device), Wall Panel is active during like 3min and then become offline ;
- Sometimes, when I send an MQTT message to change camera settings, Wall Panel become unavailable ;
Sometime, there is day with no disconnection, sometimes it’s 2 or 3 times a day. Right now, Wall Panel seems to disconnect every morning after boot since a few day.
Versions
- Device: Archos 101 Platinum 3G
- OS: Android 7
- Application version: v0.10.3
Some logs
Logs form HA, when trying to enable camera and loosing connection from Wall Panel
Maybe something important to note here is my system have sent in the example 3 or 4 MQTT messages to Wall Panel to enable or disable wall panel camera within like 25 seconds.
2022-10-17 19:05:46.837 DEBUG (MainThread) [homeassistant.components.mqtt.client] Transmitting message on wallpanel/mywallpanel/command: '{"camera":true}', mid: 223
2022-10-17 19:05:47.433 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homeassistant/sensor/mywallpanel/battery/config: b'{"name":"My Wall Panel Battery Level","state_topic":"wallpanel\\/mywallpanel\\/sensor\\/battery","unit_of_measurement":"%","value_template":"{{ value_json.value | float }}","device_class":"battery","unique_id":"wallpanel_mywallpanel_battery","device":{"identifiers":"[wallpanel_mywallpanel]","name":"My Wall Panel","manufacturer":"Archos","model":"Archos 101 Platinum 3G"},"availability_topic":"wallpanel\\/mywallpanel\\/connection"}'
2022-10-17 19:05:47.437 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Process discovery payload {'name': 'My Wall Panel Battery Level', 'state_topic': 'wallpanel/mywallpanel/sensor/battery', 'unit_of_measurement': '%', 'value_template': '{{ value_json.value | float }}', 'device_class': 'battery', 'unique_id': 'wallpanel_mywallpanel_battery', 'device': {'identifiers': '[wallpanel_mywallpanel]', 'name': 'My Wall Panel', 'manufacturer': 'Archos', 'model': 'Archos 101 Platinum 3G'}, 'availability_topic': 'wallpanel/mywallpanel/connection', 'platform': 'mqtt'}
2022-10-17 19:05:47.438 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor mywallpanel battery, sending update
2022-10-17 19:05:47.439 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homeassistant/binary_sensor/mywallpanel/usbPlugged/config: b'{"name":"My Wall Panel USB Plugged","state_topic":"wallpanel\\/mywallpanel\\/sensor\\/battery","payload_on":true,"payload_off":false,"value_template":"{{ value_json.usbPlugged }}","device_class":"power","unique_id":"wallpanel_mywallpanel_usbPlugged","device":{"identifiers":"[wallpanel_mywallpanel]","name":"My Wall Panel","manufacturer":"Archos","model":"Archos 101 Platinum 3G"},"availability_topic":"wallpanel\\/mywallpanel\\/connection"}'
2022-10-17 19:05:47.440 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homeassistant/binary_sensor/mywallpanel/acPlugged/config: b'{"name":"My Wall Panel AC Plugged","state_topic":"wallpanel\\/mywallpanel\\/sensor\\/battery","payload_on":true,"payload_off":false,"value_template":"{{ value_json.acPlugged }}","device_class":"power","unique_id":"wallpanel_mywallpanel_acPlugged","device":{"identifiers":"[wallpanel_mywallpanel]","name":"My Wall Panel","manufacturer":"Archos","model":"Archos 101 Platinum 3G"},"availability_topic":"wallpanel\\/mywallpanel\\/connection"}'
2022-10-17 19:05:47.445 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homeassistant/binary_sensor/mywallpanel/charging/config: b'{"name":"My Wall Panel Charging","state_topic":"wallpanel\\/mywallpanel\\/sensor\\/battery","payload_on":true,"payload_off":false,"value_template":"{{ value_json.charging }}","device_class":"battery_charging","unique_id":"wallpanel_mywallpanel_charging","device":{"identifiers":"[wallpanel_mywallpanel]","name":"My Wall Panel","manufacturer":"Archos","model":"Archos 101 Platinum 3G"},"availability_topic":"wallpanel\\/mywallpanel\\/connection"}'
2022-10-17 19:05:47.446 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homeassistant/binary_sensor/mywallpanel/face/config: b''
2022-10-17 19:05:47.447 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homeassistant/binary_sensor/mywallpanel/motion/config: b'{"name":"My Wall Panel Motion Detected","state_topic":"wallpanel\\/mywallpanel\\/sensor\\/motion","payload_on":true,"payload_off":false,"value_template":"{{ value_json.value }}","device_class":"motion","unique_id":"wallpanel_mywallpanel_motion","device":{"identifiers":"[wallpanel_mywallpanel]","name":"My Wall Panel","manufacturer":"Archos","model":"Archos 101 Platinum 3G"},"availability_topic":"wallpanel\\/mywallpanel\\/connection"}'
2022-10-17 19:05:47.448 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homeassistant/tag/mywallpanel/qr/config: b''
2022-10-17 19:05:47.449 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('sensor', 'mywallpanel battery') '{'name': 'My Wall Panel Battery Level', 'state_topic': 'wallpanel/mywallpanel/sensor/battery', 'unit_of_measurement': '%', 'value_template': '{{ value_json.value | float }}', 'device_class': 'battery', 'unique_id': 'wallpanel_mywallpanel_battery', 'device': {'identifiers': '[wallpanel_mywallpanel]', 'name': 'My Wall Panel', 'manufacturer': 'Archos', 'model': 'Archos 101 Platinum 3G'}, 'availability_topic': 'wallpanel/mywallpanel/connection', 'platform': 'mqtt'}'
2022-10-17 19:05:47.449 INFO (MainThread) [homeassistant.components.mqtt.mixins] Ignoring unchanged update for: sensor.my_wall_panel_battery_level
2022-10-17 19:05:47.449 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Process discovery payload {'name': 'My Wall Panel USB Plugged', 'state_topic': 'wallpanel/mywallpanel/sensor/battery', 'payload_on': True, 'payload_off': False, 'value_template': '{{ value_json.usbPlugged }}', 'device_class': 'power', 'unique_id': 'wallpanel_mywallpanel_usbPlugged', 'device': {'identifiers': '[wallpanel_mywallpanel]', 'name': 'My Wall Panel', 'manufacturer': 'Archos', 'model': 'Archos 101 Platinum 3G'}, 'availability_topic': 'wallpanel/mywallpanel/connection', 'platform': 'mqtt'}
2022-10-17 19:05:47.450 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor mywallpanel usbPlugged, sending update
2022-10-17 19:05:47.450 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Process discovery payload {'name': 'My Wall Panel AC Plugged', 'state_topic': 'wallpanel/mywallpanel/sensor/battery', 'payload_on': True, 'payload_off': False, 'value_template': '{{ value_json.acPlugged }}', 'device_class': 'power', 'unique_id': 'wallpanel_mywallpanel_acPlugged', 'device': {'identifiers': '[wallpanel_mywallpanel]', 'name': 'My Wall Panel', 'manufacturer': 'Archos', 'model': 'Archos 101 Platinum 3G'}, 'availability_topic': 'wallpanel/mywallpanel/connection', 'platform': 'mqtt'}
2022-10-17 19:05:47.450 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor mywallpanel acPlugged, sending update
2022-10-17 19:05:47.450 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Process discovery payload {'name': 'My Wall Panel Charging', 'state_topic': 'wallpanel/mywallpanel/sensor/battery', 'payload_on': True, 'payload_off': False, 'value_template': '{{ value_json.charging }}', 'device_class': 'battery_charging', 'unique_id': 'wallpanel_mywallpanel_charging', 'device': {'identifiers': '[wallpanel_mywallpanel]', 'name': 'My Wall Panel', 'manufacturer': 'Archos', 'model': 'Archos 101 Platinum 3G'}, 'availability_topic': 'wallpanel/mywallpanel/connection', 'platform': 'mqtt'}
2022-10-17 19:05:47.451 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor mywallpanel charging, sending update
2022-10-17 19:05:47.451 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Process discovery payload {}
2022-10-17 19:05:47.451 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Process discovery payload {'name': 'My Wall Panel Motion Detected', 'state_topic': 'wallpanel/mywallpanel/sensor/motion', 'payload_on': True, 'payload_off': False, 'value_template': '{{ value_json.value }}', 'device_class': 'motion', 'unique_id': 'wallpanel_mywallpanel_motion', 'device': {'identifiers': '[wallpanel_mywallpanel]', 'name': 'My Wall Panel', 'manufacturer': 'Archos', 'model': 'Archos 101 Platinum 3G'}, 'availability_topic': 'wallpanel/mywallpanel/connection', 'platform': 'mqtt'}
2022-10-17 19:05:47.451 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: binary_sensor mywallpanel motion
2022-10-17 19:05:47.451 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Process discovery payload {}
2022-10-17 19:05:47.461 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Pending discovery for ('sensor', 'mywallpanel battery'): deque([])
2022-10-17 19:05:47.462 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('binary_sensor', 'mywallpanel usbPlugged') '{'name': 'My Wall Panel USB Plugged', 'state_topic': 'wallpanel/mywallpanel/sensor/battery', 'payload_on': True, 'payload_off': False, 'value_template': '{{ value_json.usbPlugged }}', 'device_class': 'power', 'unique_id': 'wallpanel_mywallpanel_usbPlugged', 'device': {'identifiers': '[wallpanel_mywallpanel]', 'name': 'My Wall Panel', 'manufacturer': 'Archos', 'model': 'Archos 101 Platinum 3G'}, 'availability_topic': 'wallpanel/mywallpanel/connection', 'platform': 'mqtt'}'
2022-10-17 19:05:47.462 INFO (MainThread) [homeassistant.components.mqtt.mixins] Ignoring unchanged update for: binary_sensor.my_wall_panel_usb_plugged
2022-10-17 19:05:47.462 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on wallpanel/mywallpanel/state: b'{"currentUrl":"http:\\/\\/192.168.0.15:8123\\/la-maison\\/default_view","screenOn":false,"camera":true,"brightness":133}'
2022-10-17 19:05:47.464 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('binary_sensor', 'mywallpanel acPlugged') '{'name': 'My Wall Panel AC Plugged', 'state_topic': 'wallpanel/mywallpanel/sensor/battery', 'payload_on': True, 'payload_off': False, 'value_template': '{{ value_json.acPlugged }}', 'device_class': 'power', 'unique_id': 'wallpanel_mywallpanel_acPlugged', 'device': {'identifiers': '[wallpanel_mywallpanel]', 'name': 'My Wall Panel', 'manufacturer': 'Archos', 'model': 'Archos 101 Platinum 3G'}, 'availability_topic': 'wallpanel/mywallpanel/connection', 'platform': 'mqtt'}'
2022-10-17 19:05:47.464 INFO (MainThread) [homeassistant.components.mqtt.mixins] Ignoring unchanged update for: binary_sensor.my_wall_panel_ac_plugged
2022-10-17 19:05:47.464 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('binary_sensor', 'mywallpanel charging') '{'name': 'My Wall Panel Charging', 'state_topic': 'wallpanel/mywallpanel/sensor/battery', 'payload_on': True, 'payload_off': False, 'value_template': '{{ value_json.charging }}', 'device_class': 'battery_charging', 'unique_id': 'wallpanel_mywallpanel_charging', 'device': {'identifiers': '[wallpanel_mywallpanel]', 'name': 'My Wall Panel', 'manufacturer': 'Archos', 'model': 'Archos 101 Platinum 3G'}, 'availability_topic': 'wallpanel/mywallpanel/connection', 'platform': 'mqtt'}'
2022-10-17 19:05:47.464 INFO (MainThread) [homeassistant.components.mqtt.mixins] Ignoring unchanged update for: binary_sensor.my_wall_panel_charging
2022-10-17 19:05:47.466 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Pending discovery for ('binary_sensor', 'mywallpanel usbPlugged'): deque([])
2022-10-17 19:05:47.474 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Pending discovery for ('binary_sensor', 'mywallpanel acPlugged'): deque([])
2022-10-17 19:05:47.474 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Pending discovery for ('binary_sensor', 'mywallpanel charging'): deque([])
2022-10-17 19:05:47.476 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new binary_sensor.mqtt entity: binary_sensor.my_wall_panel_motion_detected
2022-10-17 19:05:47.487 DEBUG (SyncWorker_3) [homeassistant.components.mqtt.client] Subscribing to wallpanel/mywallpanel/connection, mid: 224
2022-10-17 19:05:47.513 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on wallpanel/mywallpanel/connection (retained): b'online'
2022-10-17 19:05:47.526 DEBUG (SyncWorker_8) [homeassistant.components.mqtt.client] Subscribing to wallpanel/mywallpanel/sensor/motion, mid: 225
2022-10-17 19:05:47.541 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on wallpanel/mywallpanel/sensor/motion: b'{"value":true}'
2022-10-17 19:05:47.551 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Pending discovery for ('binary_sensor', 'mywallpanel motion'): deque([])
2022-10-17 19:06:07.316 INFO (MainThread) [homeassistant.components.script.desactive_la_camera] Désactive la caméra: Executing step call service
2022-10-17 19:06:07.326 DEBUG (MainThread) [homeassistant.components.mqtt.client] Transmitting message on wallpanel/mywallpanel/command: '{"camera":false}', mid: 226
2022-10-17 19:06:07.375 INFO (MainThread) [homeassistant.components.script.eteindre_tablette] Eteindre tablette: Running script sequence
2022-10-17 19:06:07.376 INFO (MainThread) [homeassistant.components.script.eteindre_tablette] Eteindre tablette: Executing step call service
2022-10-17 19:06:07.528 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homeassistant/sensor/mywallpanel/battery/config: b'{"name":"My Wall Panel Battery Level","state_topic":"wallpanel\\/mywallpanel\\/sensor\\/battery","unit_of_measurement":"%","value_template":"{{ value_json.value | float }}","device_class":"battery","unique_id":"wallpanel_mywallpanel_battery","device":{"identifiers":"[wallpanel_mywallpanel]","name":"My Wall Panel","manufacturer":"Archos","model":"Archos 101 Platinum 3G"},"availability_topic":"wallpanel\\/mywallpanel\\/connection"}'
2022-10-17 19:06:07.538 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Process discovery payload {'name': 'My Wall Panel Battery Level', 'state_topic': 'wallpanel/mywallpanel/sensor/battery', 'unit_of_measurement': '%', 'value_template': '{{ value_json.value | float }}', 'device_class': 'battery', 'unique_id': 'wallpanel_mywallpanel_battery', 'device': {'identifiers': '[wallpanel_mywallpanel]', 'name': 'My Wall Panel', 'manufacturer': 'Archos', 'model': 'Archos 101 Platinum 3G'}, 'availability_topic': 'wallpanel/mywallpanel/connection', 'platform': 'mqtt'}
2022-10-17 19:06:07.538 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor mywallpanel battery, sending update
2022-10-17 19:06:07.538 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homeassistant/binary_sensor/mywallpanel/usbPlugged/config: b'{"name":"My Wall Panel USB Plugged","state_topic":"wallpanel\\/mywallpanel\\/sensor\\/battery","payload_on":true,"payload_off":false,"value_template":"{{ value_json.usbPlugged }}","device_class":"power","unique_id":"wallpanel_mywallpanel_usbPlugged","device":{"identifiers":"[wallpanel_mywallpanel]","name":"My Wall Panel","manufacturer":"Archos","model":"Archos 101 Platinum 3G"},"availability_topic":"wallpanel\\/mywallpanel\\/connection"}'
2022-10-17 19:06:07.539 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homeassistant/binary_sensor/mywallpanel/acPlugged/config: b'{"name":"My Wall Panel AC Plugged","state_topic":"wallpanel\\/mywallpanel\\/sensor\\/battery","payload_on":true,"payload_off":false,"value_template":"{{ value_json.acPlugged }}","device_class":"power","unique_id":"wallpanel_mywallpanel_acPlugged","device":{"identifiers":"[wallpanel_mywallpanel]","name":"My Wall Panel","manufacturer":"Archos","model":"Archos 101 Platinum 3G"},"availability_topic":"wallpanel\\/mywallpanel\\/connection"}'
2022-10-17 19:06:07.539 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homeassistant/binary_sensor/mywallpanel/charging/config: b'{"name":"My Wall Panel Charging","state_topic":"wallpanel\\/mywallpanel\\/sensor\\/battery","payload_on":true,"payload_off":false,"value_template":"{{ value_json.charging }}","device_class":"battery_charging","unique_id":"wallpanel_mywallpanel_charging","device":{"identifiers":"[wallpanel_mywallpanel]","name":"My Wall Panel","manufacturer":"Archos","model":"Archos 101 Platinum 3G"},"availability_topic":"wallpanel\\/mywallpanel\\/connection"}'
2022-10-17 19:06:07.540 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('sensor', 'mywallpanel battery') '{'name': 'My Wall Panel Battery Level', 'state_topic': 'wallpanel/mywallpanel/sensor/battery', 'unit_of_measurement': '%', 'value_template': '{{ value_json.value | float }}', 'device_class': 'battery', 'unique_id': 'wallpanel_mywallpanel_battery', 'device': {'identifiers': '[wallpanel_mywallpanel]', 'name': 'My Wall Panel', 'manufacturer': 'Archos', 'model': 'Archos 101 Platinum 3G'}, 'availability_topic': 'wallpanel/mywallpanel/connection', 'platform': 'mqtt'}'
2022-10-17 19:06:07.540 INFO (MainThread) [homeassistant.components.mqtt.mixins] Ignoring unchanged update for: sensor.my_wall_panel_battery_level
2022-10-17 19:06:07.541 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Process discovery payload {'name': 'My Wall Panel USB Plugged', 'state_topic': 'wallpanel/mywallpanel/sensor/battery', 'payload_on': True, 'payload_off': False, 'value_template': '{{ value_json.usbPlugged }}', 'device_class': 'power', 'unique_id': 'wallpanel_mywallpanel_usbPlugged', 'device': {'identifiers': '[wallpanel_mywallpanel]', 'name': 'My Wall Panel', 'manufacturer': 'Archos', 'model': 'Archos 101 Platinum 3G'}, 'availability_topic': 'wallpanel/mywallpanel/connection', 'platform': 'mqtt'}
2022-10-17 19:06:07.541 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor mywallpanel usbPlugged, sending update
2022-10-17 19:06:07.541 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Process discovery payload {'name': 'My Wall Panel AC Plugged', 'state_topic': 'wallpanel/mywallpanel/sensor/battery', 'payload_on': True, 'payload_off': False, 'value_template': '{{ value_json.acPlugged }}', 'device_class': 'power', 'unique_id': 'wallpanel_mywallpanel_acPlugged', 'device': {'identifiers': '[wallpanel_mywallpanel]', 'name': 'My Wall Panel', 'manufacturer': 'Archos', 'model': 'Archos 101 Platinum 3G'}, 'availability_topic': 'wallpanel/mywallpanel/connection', 'platform': 'mqtt'}
2022-10-17 19:06:07.542 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor mywallpanel acPlugged, sending update
2022-10-17 19:06:07.542 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Process discovery payload {'name': 'My Wall Panel Charging', 'state_topic': 'wallpanel/mywallpanel/sensor/battery', 'payload_on': True, 'payload_off': False, 'value_template': '{{ value_json.charging }}', 'device_class': 'battery_charging', 'unique_id': 'wallpanel_mywallpanel_charging', 'device': {'identifiers': '[wallpanel_mywallpanel]', 'name': 'My Wall Panel', 'manufacturer': 'Archos', 'model': 'Archos 101 Platinum 3G'}, 'availability_topic': 'wallpanel/mywallpanel/connection', 'platform': 'mqtt'}
2022-10-17 19:06:07.542 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor mywallpanel charging, sending update
2022-10-17 19:06:07.542 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homeassistant/binary_sensor/mywallpanel/face/config: b''
2022-10-17 19:06:07.543 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homeassistant/binary_sensor/mywallpanel/motion/config: b''
2022-10-17 19:06:07.544 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on homeassistant/tag/mywallpanel/qr/config: b''
2022-10-17 19:06:07.544 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on wallpanel/mywallpanel/state: b'{"currentUrl":"http:\\/\\/192.168.0.15:8123\\/la-maison\\/default_view","screenOn":true,"camera":false,"brightness":133}'
2022-10-17 19:06:07.550 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Pending discovery for ('sensor', 'mywallpanel battery'): deque([])
2022-10-17 19:06:07.551 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('binary_sensor', 'mywallpanel usbPlugged') '{'name': 'My Wall Panel USB Plugged', 'state_topic': 'wallpanel/mywallpanel/sensor/battery', 'payload_on': True, 'payload_off': False, 'value_template': '{{ value_json.usbPlugged }}', 'device_class': 'power', 'unique_id': 'wallpanel_mywallpanel_usbPlugged', 'device': {'identifiers': '[wallpanel_mywallpanel]', 'name': 'My Wall Panel', 'manufacturer': 'Archos', 'model': 'Archos 101 Platinum 3G'}, 'availability_topic': 'wallpanel/mywallpanel/connection', 'platform': 'mqtt'}'
2022-10-17 19:06:07.551 INFO (MainThread) [homeassistant.components.mqtt.mixins] Ignoring unchanged update for: binary_sensor.my_wall_panel_usb_plugged
2022-10-17 19:06:07.552 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('binary_sensor', 'mywallpanel acPlugged') '{'name': 'My Wall Panel AC Plugged', 'state_topic': 'wallpanel/mywallpanel/sensor/battery', 'payload_on': True, 'payload_off': False, 'value_template': '{{ value_json.acPlugged }}', 'device_class': 'power', 'unique_id': 'wallpanel_mywallpanel_acPlugged', 'device': {'identifiers': '[wallpanel_mywallpanel]', 'name': 'My Wall Panel', 'manufacturer': 'Archos', 'model': 'Archos 101 Platinum 3G'}, 'availability_topic': 'wallpanel/mywallpanel/connection', 'platform': 'mqtt'}'
2022-10-17 19:06:07.552 INFO (MainThread) [homeassistant.components.mqtt.mixins] Ignoring unchanged update for: binary_sensor.my_wall_panel_ac_plugged
2022-10-17 19:06:07.552 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('binary_sensor', 'mywallpanel charging') '{'name': 'My Wall Panel Charging', 'state_topic': 'wallpanel/mywallpanel/sensor/battery', 'payload_on': True, 'payload_off': False, 'value_template': '{{ value_json.charging }}', 'device_class': 'battery_charging', 'unique_id': 'wallpanel_mywallpanel_charging', 'device': {'identifiers': '[wallpanel_mywallpanel]', 'name': 'My Wall Panel', 'manufacturer': 'Archos', 'model': 'Archos 101 Platinum 3G'}, 'availability_topic': 'wallpanel/mywallpanel/connection', 'platform': 'mqtt'}'
2022-10-17 19:06:07.552 INFO (MainThread) [homeassistant.components.mqtt.mixins] Ignoring unchanged update for: binary_sensor.my_wall_panel_charging
2022-10-17 19:06:07.552 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Process discovery payload {}
2022-10-17 19:06:07.553 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Process discovery payload {}
2022-10-17 19:06:07.553 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor mywallpanel motion, sending update
2022-10-17 19:06:07.553 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Process discovery payload {}
2022-10-17 19:06:07.571 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Pending discovery for ('binary_sensor', 'mywallpanel usbPlugged'): deque([])
2022-10-17 19:06:07.571 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Pending discovery for ('binary_sensor', 'mywallpanel acPlugged'): deque([])
2022-10-17 19:06:07.572 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Pending discovery for ('binary_sensor', 'mywallpanel charging'): deque([])
2022-10-17 19:06:07.572 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('binary_sensor', 'mywallpanel motion') '{}'
2022-10-17 19:06:07.572 INFO (MainThread) [homeassistant.components.mqtt.mixins] Removing component: binary_sensor.my_wall_panel_motion_detected
2022-10-17 19:06:07.581 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Pending discovery for ('binary_sensor', 'mywallpanel motion'): deque([])
2022-10-17 19:06:07.617 DEBUG (SyncWorker_10) [homeassistant.components.mqtt.client] Unsubscribing from wallpanel/mywallpanel/sensor/motion, mid: 227
[...]
2022-10-17 19:07:53.989 DEBUG (MainThread) [homeassistant.components.mqtt.client] Received message on wallpanel/mywallpanel/connection: b'offline'
Issue Analytics
- State:
- Created a year ago
- Comments:18 (9 by maintainers)
Top Results From Across the Web
6 Common Wire Connection Problems and Their Solutions
Electrical connection problems may be prevalent around your home. Here are some of the most common ones and how to fix them.
Read more >How to fix the “Terraria lost connection” 2020 bug ... - YouTube
If you can, please SUBSCRIBE. It would mean the world to me: https://bit.ly/2JLkz0AIf you can, also consider becoming a paid member to get ......
Read more >My Light Panels are Showing Up as Unreachable or Not ...
If it is flashing every 4 seconds, this indicates the device has lost connection to your Wifi network. Unplug the Nanoleaf Controller from...
Read more >How to Resolve Issues with a Door Control Panel ...
Any bare wires touching the circuit board can cause a short circuit. Check that the screw terminals on the back of the wall-mounted...
Read more >Troubleshooting Lost Internet Connection in the SunPower ...
Check if your SunPower monitoring enclosure (mounted in your garage or on the side of your home) has a direct connection to the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks a lot @FredericMa for giving a try to fix this issue and @TheTimeWalker for creating a new version!
I will install the new version right now and will give you my feedbacks after a few days. Hope this fix the issue 👍
I’ve created PR #47 that should handle all MQTT disconnects. Before, only one particular type of disconnects would have been handled. My expectation is that this solves this issue but it doesn’t clarify why the disconnects happen while using the camera.