HI there,
I’m currently trying to manipulate some MQTT data into an MQTT sensor reading but I cannot get it to display anything other than “Unknown”.
I know that HA is connected to my MQTT Broker because I can publish from HA to a topic fine.
Here’s my MQTT stream:
Here’s my config:
sensor:
- state_topic: "meraki/v1/mt/L_682****************120/ble/A8:46:9D:FF:C9:6D"
name: "MT10 Sensor Temperature"
unique_id: "MT10Temp"
value_template: '{{ value_json.temperature.celsius }}'
json_attributes_topic: "meraki/v1/mt/L_682****************120/ble/A8:46:9D:FF:C9:6D"
json_attributes_template: "{{ value_json.temperature | tojson }}"
unit_of_measurement: "°C"
- state_topic: "meraki/v1/mt/L_682****************120/ble/A8:46:9D:FF:C9:6D"
name: "MT10 Sensor Humidity"
value_template: '{{ value_json.humidity["humidity"] }}'
unique_id: "MT10Humidity"
And it’s just saying ‘Unknown’ in HA and I can’t seem to find anywhere that there’s a log for MQTT.
Any help is greatly appreciated! Thanks!