Closed jladefoged closed 5 years ago
Probably related to https://github.com/home-assistant/home-assistant/pull/18169/files (CC: @emontnemery)
@ladefoged81 For debugging this issue it would be great if you could provide us with debug mqtt logs (check logger
component in your Hass config and set the mqtt log level to debug). I can't currently test it myself (moving, and I don't have MQTT brokers nearby) so the logs would be really helpful. Thanks!
@OttoWinter I've changed the logging to this:
logger:
default: warning
logs:
mqtt: debug
Hopefully the moving process is an upgrade, not a downgrade :smile:
It happened again but unfortunately absolutely nothing in the log.
Nothing at all, not even MQTT messages from the sensor? @ottowinter might be right, but then there would probably be messages in the log about the binary sensor being reconfigured after receiving a discovery message again for the binary sensor
I've changed the logging from mqtt
to homeassistant.components.mqtt
and can now see some debugging info. Nothing interesting yet. It seem to happen after 1-2 hours.
logger:
default: warning
logs:
homeassistant.components.mqtt: debug
The log is huge. I think this the relevant part of it.
(snip)
2018-12-02 21:00:54 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_spisebord/status: b'offline'
2018-12-02 21:00:54 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_spisebord/status: b'online'
2018-12-02 21:00:54 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/binary_sensor/esp_spisebord/esp_spisebord_status/config: b'{"device_class":"connectivity","payload_on":"online","payload_off":"offline","name":"ESP spisebord status","state_topic":"esp_spisebord/status","unique_id":"ESPbinary_sensoresp_spisebord_status","device":{"identifiers":"30aea4757150","name":"esp_spisebord","sw_version":"esphomelib v1.9.3 Dec 1 2018, 17:59:13","model":"Espressif ESP32 Dev Module","manufacturer":"espressif"}}'
2018-12-02 21:00:54 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/sensor/esp_spisebord/spisebord_lys/config: b'{"unit_of_measurement":"lx","expire_after":90,"icon":"mdi:brightness-5","name":"Spisebord lys","state_topic":"esp_spisebord/sensor/spisebord_lys/state","availability_topic":"esp_spisebord/status","unique_id":"ESPsensorspisebord_lys","device":{"identifiers":"30aea4757150","name":"esp_spisebord","sw_version":"esphomelib v1.9.3 Dec 1 2018, 17:59:13","model":"Espressif ESP32 Dev Module","manufacturer":"espressif"}}'
2018-12-02 21:00:54 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_spisebord/sensor/spisebord_lys/state: b'5.0'
2018-12-02 21:00:54 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor esp_spisebord esp_spisebord_status, sending update
2018-12-02 21:00:54 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor esp_spisebord spisebord_lys, sending update
2018-12-02 21:00:54 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('binary_sensor', 'esp_spisebord esp_spisebord_status') '{'device_class': 'connectivity', 'payload_on': 'online', 'payload_off': 'offline', 'name': 'ESP spisebord status', 'state_topic': 'esp_spisebord/status', 'unique_id': 'ESPbinary_sensoresp_spisebord_status', 'device': {'identifiers': '30aea4757150', 'name': 'esp_spisebord', 'sw_version': 'esphomelib v1.9.3 Dec 1 2018, 17:59:13', 'model': 'Espressif ESP32 Dev Module', 'manufacturer': 'espressif'}, 'platform': 'mqtt', 'discovery_hash': ('binary_sensor', 'esp_spisebord esp_spisebord_status')}'
2018-12-02 21:00:54 INFO (MainThread) [homeassistant.components.mqtt] Updating component: binary_sensor.esp_spisebord_status
2018-12-02 21:00:54 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/switch/esp_spisebord/esp_spisebord_genstart/config: b'{"icon":"mdi:restart","name":"ESP spisebord genstart","state_topic":"esp_spisebord/switch/esp_spisebord_genstart/state","command_topic":"esp_spisebord/switch/esp_spisebord_genstart/command","availability_topic":"esp_spisebord/status","unique_id":"ESPswitchesp_spisebord_genstart","device":{"identifiers":"30aea4757150","name":"esp_spisebord","sw_version":"esphomelib v1.9.3 Dec 1 2018, 17:59:13","model":"Espressif ESP32 Dev Module","manufacturer":"espressif"}}'
2018-12-02 21:00:54 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('sensor', 'esp_spisebord spisebord_lys') '{'unit_of_measurement': 'lx', 'expire_after': 90, 'icon': 'mdi:brightness-5', 'name': 'Spisebord lys', 'state_topic': 'esp_spisebord/sensor/spisebord_lys/state', 'availability_topic': 'esp_spisebord/status', 'unique_id': 'ESPsensorspisebord_lys', 'device': {'identifiers': '30aea4757150', 'name': 'esp_spisebord', 'sw_version': 'esphomelib v1.9.3 Dec 1 2018, 17:59:13', 'model': 'Espressif ESP32 Dev Module', 'manufacturer': 'espressif'}, 'platform': 'mqtt', 'discovery_hash': ('sensor', 'esp_spisebord spisebord_lys')}'
2018-12-02 21:00:54 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to esp_spisebord/status
2018-12-02 21:00:54 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: switch esp_spisebord esp_spisebord_genstart, sending update
2018-12-02 21:00:54 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_spisebord/switch/esp_spisebord_genstart/state: b'OFF'
2018-12-02 21:00:54 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/binary_sensor/esp_spisebord/spisebord_pir/config: b'{"device_class":"motion","name":"Spisebord PIR","state_topic":"esp_spisebord/binary_sensor/spisebord_pir/state","availability_topic":"esp_spisebord/status","unique_id":"ESPbinary_sensorspisebord_pir","device":{"identifiers":"30aea4757150","name":"esp_spisebord","sw_version":"esphomelib v1.9.3 Dec 1 2018, 17:59:13","model":"Espressif ESP32 Dev Module","manufacturer":"espressif"}}'
2018-12-02 21:00:54 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_spisebord/binary_sensor/spisebord_pir/state: b'OFF'
2018-12-02 21:00:54 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/binary_sensor/esp_spisebord/spisebord_mw/config: b'{"device_class":"motion","name":"Spisebord MW","state_topic":"esp_spisebord/binary_sensor/spisebord_mw/state","availability_topic":"esp_spisebord/status","unique_id":"ESPbinary_sensorspisebord_mw","device":{"identifiers":"30aea4757150","name":"esp_spisebord","sw_version":"esphomelib v1.9.3 Dec 1 2018, 17:59:13","model":"Espressif ESP32 Dev Module","manufacturer":"espressif"}}'
2018-12-02 21:00:54 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('switch', 'esp_spisebord esp_spisebord_genstart') '{'icon': 'mdi:restart', 'name': 'ESP spisebord genstart', 'state_topic': 'esp_spisebord/switch/esp_spisebord_genstart/state', 'command_topic': 'esp_spisebord/switch/esp_spisebord_genstart/command', 'availability_topic': 'esp_spisebord/status', 'unique_id': 'ESPswitchesp_spisebord_genstart', 'device': {'identifiers': '30aea4757150', 'name': 'esp_spisebord', 'sw_version': 'esphomelib v1.9.3 Dec 1 2018, 17:59:13', 'model': 'Espressif ESP32 Dev Module', 'manufacturer': 'espressif'}, 'platform': 'mqtt', 'discovery_hash': ('switch', 'esp_spisebord esp_spisebord_genstart')}'
2018-12-02 21:00:54 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor esp_spisebord spisebord_pir, sending update
2018-12-02 21:00:54 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor esp_spisebord spisebord_mw, sending update
2018-12-02 21:00:54 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('binary_sensor', 'esp_spisebord spisebord_pir') '{'device_class': 'motion', 'name': 'Spisebord PIR', 'state_topic': 'esp_spisebord/binary_sensor/spisebord_pir/state', 'availability_topic': 'esp_spisebord/status', 'unique_id': 'ESPbinary_sensorspisebord_pir', 'device': {'identifiers': '30aea4757150', 'name': 'esp_spisebord', 'sw_version': 'esphomelib v1.9.3 Dec 1 2018, 17:59:13', 'model': 'Espressif ESP32 Dev Module', 'manufacturer': 'espressif'}, 'platform': 'mqtt', 'discovery_hash': ('binary_sensor', 'esp_spisebord spisebord_pir')}'
2018-12-02 21:00:54 INFO (MainThread) [homeassistant.components.mqtt] Updating component: binary_sensor.spisebord_pir
2018-12-02 21:00:54 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('binary_sensor', 'esp_spisebord spisebord_mw') '{'device_class': 'motion', 'name': 'Spisebord MW', 'state_topic': 'esp_spisebord/binary_sensor/spisebord_mw/state', 'availability_topic': 'esp_spisebord/status', 'unique_id': 'ESPbinary_sensorspisebord_mw', 'device': {'identifiers': '30aea4757150', 'name': 'esp_spisebord', 'sw_version': 'esphomelib v1.9.3 Dec 1 2018, 17:59:13', 'model': 'Espressif ESP32 Dev Module', 'manufacturer': 'espressif'}, 'platform': 'mqtt', 'discovery_hash': ('binary_sensor', 'esp_spisebord spisebord_mw')}'
2018-12-02 21:00:54 INFO (MainThread) [homeassistant.components.mqtt] Updating component: binary_sensor.spisebord_mw
2018-12-02 21:00:54 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to esp_spisebord/status
2018-12-02 21:00:54 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to esp_spisebord/status
2018-12-02 21:00:54 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to esp_spisebord/binary_sensor/spisebord_pir/state
2018-12-02 21:00:54 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_spisebord/status: b'online'
2018-12-02 21:00:54 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to esp_spisebord/binary_sensor/spisebord_mw/state
2018-12-02 21:00:54 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_spisebord/status: b'online'
2018-12-02 21:00:54 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_spisebord/status: b'online'
2018-12-02 21:00:54 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_spisebord/binary_sensor/spisebord_pir/state: b'OFF'
2018-12-02 21:00:54 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_spisebord/binary_sensor/spisebord_mw/state: b'OFF'
2018-12-02 21:00:54 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_spisebord/binary_sensor/spisebord_mw/state: b'OFF'
(snip)
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_stue/status: b'offline'
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_stue/status: b'online'
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/binary_sensor/esp_stue/esp_stue_status/config: b'{"device_class":"connectivity","payload_on":"online","payload_off":"offline","name":"ESP stue status","state_topic":"esp_stue/status","unique_id":"ESPbinary_sensoresp_stue_status","device":{"identifiers":"30aea47b3788","name":"esp_stue","sw_version":"esphomelib v1.9.3 Dec 1 2018, 18:00:13","model":"Espressif ESP32 Dev Module","manufacturer":"espressif"}}'
2018-12-02 22:17:34 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor esp_stue esp_stue_status, sending update
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/sensor/esp_stue/stue_lys/config: b'{"unit_of_measurement":"lx","expire_after":90,"icon":"mdi:brightness-5","name":"Stue lys","state_topic":"esp_stue/sensor/stue_lys/state","availability_topic":"esp_stue/status","unique_id":"ESPsensorstue_lys","device":{"identifiers":"30aea47b3788","name":"esp_stue","sw_version":"esphomelib v1.9.3 Dec 1 2018, 18:00:13","model":"Espressif ESP32 Dev Module","manufacturer":"espressif"}}'
2018-12-02 22:17:34 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('binary_sensor', 'esp_stue esp_stue_status') '{'device_class': 'connectivity', 'payload_on': 'online', 'payload_off': 'offline', 'name': 'ESP stue status', 'state_topic': 'esp_stue/status', 'unique_id': 'ESPbinary_sensoresp_stue_status', 'device': {'identifiers': '30aea47b3788', 'name': 'esp_stue', 'sw_version': 'esphomelib v1.9.3 Dec 1 2018, 18:00:13', 'model': 'Espressif ESP32 Dev Module', 'manufacturer': 'espressif'}, 'platform': 'mqtt', 'discovery_hash': ('binary_sensor', 'esp_stue esp_stue_status')}'
2018-12-02 22:17:34 INFO (MainThread) [homeassistant.components.mqtt] Updating component: binary_sensor.esp_stue_status
2018-12-02 22:17:34 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor esp_stue stue_lys, sending update
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to esp_stue/status
2018-12-02 22:17:34 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('sensor', 'esp_stue stue_lys') '{'unit_of_measurement': 'lx', 'expire_after': 90, 'icon': 'mdi:brightness-5', 'name': 'Stue lys', 'state_topic': 'esp_stue/sensor/stue_lys/state', 'availability_topic': 'esp_stue/status', 'unique_id': 'ESPsensorstue_lys', 'device': {'identifiers': '30aea47b3788', 'name': 'esp_stue', 'sw_version': 'esphomelib v1.9.3 Dec 1 2018, 18:00:13', 'model': 'Espressif ESP32 Dev Module', 'manufacturer': 'espressif'}, 'platform': 'mqtt', 'discovery_hash': ('sensor', 'esp_stue stue_lys')}'
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_stue/status: b'online'
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_stue/sensor/stue_lys/state: b'0.0'
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/sensor/esp_stue/stue_temperatur/config: b'{"unit_of_measurement":"\xc2\xb0C","expire_after":675,"name":"Stue temperatur","state_topic":"esp_stue/sensor/stue_temperatur/state","availability_topic":"esp_stue/status","unique_id":"ESPsensorstue_temperatur","device":{"identifiers":"30aea47b3788","name":"esp_stue","sw_version":"esphomelib v1.9.3 Dec 1 2018, 18:00:13","model":"Espressif ESP32 Dev Module","manufacturer":"espressif"}}'
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_stue/sensor/stue_temperatur/state: b'23.5'
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/sensor/esp_stue/stue_luftfugtighed/config: b'{"unit_of_measurement":"%","expire_after":675,"icon":"mdi:water-percent","name":"Stue luftfugtighed","state_topic":"esp_stue/sensor/stue_luftfugtighed/state","availability_topic":"esp_stue/status","unique_id":"ESPsensorstue_luftfugtighed","device":{"identifiers":"30aea47b3788","name":"esp_stue","sw_version":"esphomelib v1.9.3 Dec 1 2018, 18:00:13","model":"Espressif ESP32 Dev Module","manufacturer":"espressif"}}'
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_stue/sensor/stue_luftfugtighed/state: b'47'
2018-12-02 22:17:34 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor esp_stue stue_temperatur, sending update
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/switch/esp_stue/esp_stue_genstart/config: b'{"icon":"mdi:restart","name":"ESP stue genstart","state_topic":"esp_stue/switch/esp_stue_genstart/state","command_topic":"esp_stue/switch/esp_stue_genstart/command","availability_topic":"esp_stue/status","unique_id":"ESPswitchesp_stue_genstart","device":{"identifiers":"30aea47b3788","name":"esp_stue","sw_version":"esphomelib v1.9.3 Dec 1 2018, 18:00:13","model":"Espressif ESP32 Dev Module","manufacturer":"espressif"}}'
2018-12-02 22:17:34 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor esp_stue stue_luftfugtighed, sending update
2018-12-02 22:17:34 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('sensor', 'esp_stue stue_temperatur') '{'unit_of_measurement': '°C', 'expire_after': 675, 'name': 'Stue temperatur', 'state_topic': 'esp_stue/sensor/stue_temperatur/state', 'availability_topic': 'esp_stue/status', 'unique_id': 'ESPsensorstue_temperatur', 'device': {'identifiers': '30aea47b3788', 'name': 'esp_stue', 'sw_version': 'esphomelib v1.9.3 Dec 1 2018, 18:00:13', 'model': 'Espressif ESP32 Dev Module', 'manufacturer': 'espressif'}, 'platform': 'mqtt', 'discovery_hash': ('sensor', 'esp_stue stue_temperatur')}'
2018-12-02 22:17:34 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: switch esp_stue esp_stue_genstart, sending update
2018-12-02 22:17:34 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('sensor', 'esp_stue stue_luftfugtighed') '{'unit_of_measurement': '%', 'expire_after': 675, 'icon': 'mdi:water-percent', 'name': 'Stue luftfugtighed', 'state_topic': 'esp_stue/sensor/stue_luftfugtighed/state', 'availability_topic': 'esp_stue/status', 'unique_id': 'ESPsensorstue_luftfugtighed', 'device': {'identifiers': '30aea47b3788', 'name': 'esp_stue', 'sw_version': 'esphomelib v1.9.3 Dec 1 2018, 18:00:13', 'model': 'Espressif ESP32 Dev Module', 'manufacturer': 'espressif'}, 'platform': 'mqtt', 'discovery_hash': ('sensor', 'esp_stue stue_luftfugtighed')}'
2018-12-02 22:17:34 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('switch', 'esp_stue esp_stue_genstart') '{'icon': 'mdi:restart', 'name': 'ESP stue genstart', 'state_topic': 'esp_stue/switch/esp_stue_genstart/state', 'command_topic': 'esp_stue/switch/esp_stue_genstart/command', 'availability_topic': 'esp_stue/status', 'unique_id': 'ESPswitchesp_stue_genstart', 'device': {'identifiers': '30aea47b3788', 'name': 'esp_stue', 'sw_version': 'esphomelib v1.9.3 Dec 1 2018, 18:00:13', 'model': 'Espressif ESP32 Dev Module', 'manufacturer': 'espressif'}, 'platform': 'mqtt', 'discovery_hash': ('switch', 'esp_stue esp_stue_genstart')}'
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_stue/switch/esp_stue_genstart/state: b'OFF'
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/binary_sensor/esp_stue/stue_pir/config: b'{"device_class":"motion","name":"Stue PIR","state_topic":"esp_stue/binary_sensor/stue_pir/state","availability_topic":"esp_stue/status","unique_id":"ESPbinary_sensorstue_pir","device":{"identifiers":"30aea47b3788","name":"esp_stue","sw_version":"esphomelib v1.9.3 Dec 1 2018, 18:00:13","model":"Espressif ESP32 Dev Module","manufacturer":"espressif"}}'
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_stue/binary_sensor/stue_pir/state: b'OFF'
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/binary_sensor/esp_stue/stue_mw/config: b'{"device_class":"motion","name":"Stue MW","state_topic":"esp_stue/binary_sensor/stue_mw/state","availability_topic":"esp_stue/status","unique_id":"ESPbinary_sensorstue_mw","device":{"identifiers":"30aea47b3788","name":"esp_stue","sw_version":"esphomelib v1.9.3 Dec 1 2018, 18:00:13","model":"Espressif ESP32 Dev Module","manufacturer":"espressif"}}'
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_stue/binary_sensor/stue_mw/state: b'OFF'
2018-12-02 22:17:34 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor esp_stue stue_pir, sending update
2018-12-02 22:17:34 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor esp_stue stue_mw, sending update
2018-12-02 22:17:34 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('binary_sensor', 'esp_stue stue_pir') '{'device_class': 'motion', 'name': 'Stue PIR', 'state_topic': 'esp_stue/binary_sensor/stue_pir/state', 'availability_topic': 'esp_stue/status', 'unique_id': 'ESPbinary_sensorstue_pir', 'device': {'identifiers': '30aea47b3788', 'name': 'esp_stue', 'sw_version': 'esphomelib v1.9.3 Dec 1 2018, 18:00:13', 'model': 'Espressif ESP32 Dev Module', 'manufacturer': 'espressif'}, 'platform': 'mqtt', 'discovery_hash': ('binary_sensor', 'esp_stue stue_pir')}'
2018-12-02 22:17:34 INFO (MainThread) [homeassistant.components.mqtt] Updating component: binary_sensor.stue_pir
2018-12-02 22:17:34 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('binary_sensor', 'esp_stue stue_mw') '{'device_class': 'motion', 'name': 'Stue MW', 'state_topic': 'esp_stue/binary_sensor/stue_mw/state', 'availability_topic': 'esp_stue/status', 'unique_id': 'ESPbinary_sensorstue_mw', 'device': {'identifiers': '30aea47b3788', 'name': 'esp_stue', 'sw_version': 'esphomelib v1.9.3 Dec 1 2018, 18:00:13', 'model': 'Espressif ESP32 Dev Module', 'manufacturer': 'espressif'}, 'platform': 'mqtt', 'discovery_hash': ('binary_sensor', 'esp_stue stue_mw')}'
2018-12-02 22:17:34 INFO (MainThread) [homeassistant.components.mqtt] Updating component: binary_sensor.stue_mw
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to esp_stue/status
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to esp_stue/status
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to esp_stue/binary_sensor/stue_pir/state
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Subscribing to esp_stue/binary_sensor/stue_mw/state
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_stue/status: b'online'
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_stue/status: b'online'
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_stue/binary_sensor/stue_pir/state: b'OFF'
2018-12-02 22:17:34 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on esp_stue/binary_sensor/stue_mw/state: b'OFF'
(snip)
The normal sensors (light, temperature, humidity) seems to work fine.
@emontnemery I'll download the dev docker image and test it out.
@emontnemery Looks like the binary sensors works. I think it works as expected except for the error/bug mentioned in #19019
Home Assistant release with the issue:
0.83.2 (I believe the problem started in 0.83.0)
Last working Home Assistant release (if known): 0.82.1
Operating environment (Hass.io/Docker/Windows/etc.):
HA in Docker on Synology NAS MQTT server is Mosquito 1.5.4 (also Docker on Synology NAS)
Component/platform:
Unknown - MQTT?
Description of problem: I'm using some esphomeyaml boards. MQTT values hang in 0.83.2. Works fine in 0.82.1. My production HA and test HA setup uses the same MQTT server. The sensor on the screenshot is a binary_sensor. The sensor works fine (for a while) after restarting HA. No errors in the log. It happens with multible sensors. This is an example.
0.82.1:![mqtt_old](https://user-images.githubusercontent.com/26121019/49338568-e371b100-f622-11e8-8b83-06a248ff5967.png)
0.83.2:![mqtt_new](https://user-images.githubusercontent.com/26121019/49338570-e8366500-f622-11e8-878b-b2cec504cbcb.png)
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information: