So have it working to some extent; however I cannot seem to get the distance portion to show data. MQTT Explorer shows that information is being received by my MQTT server (see attached screenshot). I changed this portion:
- platform: mqtt
name: "OpenGarage Distance"
state_topic: "OpenGarage/OUT/JSON"
unit_of_measurement: "cm"
value_template: "{{ value_json.dist }}"
so that JSON
was DIST
and a value of 0
at least started to appear (whereas previously it was Unknown
, but that’s also clearly not correct since MQTT Explorer is able to show me that values are being discovered / recorded (around 298
- 300
). Is this an aspect I need to edit / alter as well?