Zakupiłem taki czujnik natężenia światła i super się sparował z zigbee2mqtt przez Conbee II.
Kłopot w tym, że HA go nie przytulił i nie mam go w urządzeniach
Czy ktoś się z czymś takim spotkał? A może ktoś wie co zrobić aby HA wciągnął czujnik na listę urządzeń i pochwalił się jego encjami?
Spróbuj zmienić jego nazwę i zaznacz aby zaktualizować ją w HA.
Nie wierzę, że to było takie proste!!!
Pojawiło się i urządzenie i encje do niego.
Ale też w logach pojawiło się takie nieładne coś…
5|zigbee | Zigbee2MQTT:info 2021-11-27 16:18:52: MQTT publish: topic 'zigbee2mqtt/ZB_LIS01_0x54ef4410000d72c1', payload '{"battery":100,"illuminance":19685,"illuminance_lux":93,"linkquality":255,"voltage":3200}'
5|zigbee | Zigbee2MQTT:info 2021-11-27 16:18:52: MQTT publish: topic 'zigbee2mqtt/bridge/response/device/rename', payload '{"data":{"from":"ZBLIS01_0x54ef4410000d72c1","homeassistant_rename":true,"to":"ZB_LIS01_0x54ef4410000d72c1"},"status":"ok","transaction":"cn3rs-1"}'
2|ais | 2021-11-27 16:18:52 WARNING (MainThread) [homeassistant.components.mqtt.mixins] Erroneous JSON:
2|ais | 2021-11-27 16:18:52 WARNING (MainThread) [homeassistant.components.mqtt.mixins] Erroneous JSON:
2|ais | 2021-11-27 16:18:52 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json.battery }}'
2|ais | 2021-11-27 16:18:52 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json.illuminance_lux }}'
2|ais | 2021-11-27 16:18:53 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor 0x54ef4410000d72c1 battery, sending update
2|ais | 2021-11-27 16:18:53 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor 0x54ef4410000d72c1 illuminance_lux, sending update
2|ais | 2021-11-27 16:18:53 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor 0x54ef4410000d72c1 battery, queuing update
2|ais | 2021-11-27 16:18:53 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('sensor', '0x54ef4410000d72c1 battery') '{}'
2|ais | 2021-11-27 16:18:53 INFO (MainThread) [homeassistant.components.mqtt.mixins] Removing component: sensor.zblis01_0x54ef4410000d72c1_battery
2|ais | 2021-11-27 16:18:53 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('sensor', '0x54ef4410000d72c1 illuminance_lux') '{}'
2|ais | 2021-11-27 16:18:53 INFO (MainThread) [homeassistant.components.mqtt.mixins] Removing component: sensor.zblis01_0x54ef4410000d72c1_illuminance_lux
2|ais | 2021-11-27 16:18:53 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor 0x54ef4410000d72c1 illuminance
2|ais | 2021-11-27 16:18:53 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor 0x54ef4410000d72c1 illuminance_lux, queuing update
2|ais | 2021-11-27 16:18:53 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor 0x54ef4410000d72c1 linkquality
2|ais | 2021-11-27 16:18:53 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor 0x54ef4410000d72c1 battery
2|ais | 2021-11-27 16:18:53 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor 0x54ef4410000d72c1 illuminance_lux
2|ais | 2021-11-27 16:18:53 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.mqtt entity: sensor.zb_lis01_0x54ef4410000d72c1_illuminance
2|ais | 2021-11-27 16:18:53 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.mqtt entity: sensor.zb_lis01_0x54ef4410000d72c1_linkquality
2|ais | 2021-11-27 16:18:53 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.mqtt entity: sensor.zb_lis01_0x54ef4410000d72c1_battery
2|ais | 2021-11-27 16:18:53 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.mqtt entity: sensor.zb_lis01_0x54ef4410000d72c1_illuminance_lux