bluetooth-temperature-sensors
bluetooth-temperature-sensors copied to clipboard
Issues with "value_json.temperature-celsius"
Hi to all, I'm getting "unknown" state in this particular values, Any tip? Thanks!
-
platform: mqtt name: "Cozinha Temperatura" state_topic: "homeassistant/sensor/ble-temp/XX.XX.XX.XX.XX.XX" value_template: "{{ value_json.temperature-celsius }}" unit_of_measurement: "°C" json_attributes_topic: "homeassistant/sensor/ble-temp/XX.XX.XX.XX.XX.XX"
-
platform: mqtt name: "Cozinha Temp Bateria " state_topic: "homeassistant/sensor/ble-temp/XX.XX.XX.XX.XX.XX" value_template: "{{ value_json.battery-pct }}" unit_of_measurement: "%" json_attributes_topic: "homeassistant/sensor/ble-temp/XX.XX.XX.XX.XX.XX"
Apologies for not replying. I have not been able to work on this for a while. Hoping you found a solution. I use MQTT Explorer : http://mqtt-explorer.com/
to look at the MQTT values published by the app. This will give you an idea if the app is publishing any values from the BLE sensor, if not then problem is most likely with the app and it's communication with the BLE sensor. If you are seeing MQTT messages with the MQTT Explorer app, the look to a problem with Home Assistant decoding the JSON data correctly.