@Guillaume wrote:
Hello everybody,
I have a problem with mqtt sensor and the temperature of GPU from my Pi.
First, I’m running Home Assistant 0.190.4 with docker on a Raspberry Pi3B+. Mosquitto is installed on this Pi and I have a script for publish the temperature of the GPU on a topic.
When I listen to the topic from the developer tools MQTT, I can see the value (temp=50.1’C for example)
In my configuration.yaml, I declare a mqtt sensor with a value_template like this
'{{ value | replace("temp=", "") | replace("''C", "") }}'but the value show permanently unknown.
Anybody for any ideas?
Thanks
Posts: 4
Participants: 2