Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 117739

MQTT sensor Temperature GPU

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 117739

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>