hello,
i’m a new french user
i try to request my kodi temperature with this in my configuration.yaml :
# Rpi Kodi Stanzetta CPU temp
sensor rpi:
- platform: command_line
name: Température CPU kodi
command: 'ssh [email protected] cat /sys/class/thermal/thermal_zone0/temp'
#command: temp.sh
unit_of_measurement: "°C"
scan_interval: 120
value_template: '{{ value | multiply(0.001) | round(2) }}'
in terminal, when i place the command :
ssh [email protected] cat /sys/class/thermal/thermal_zone0/temp
the temperature is ok
i have place my public key in the kodi root and i don’t need password
but in my log i have :
Détails du journal ( ERROR )
Logger: homeassistant.components.command_line
Source: components/command_line/__init__.py:41
Integration: command_line (documentation, issues)
First occurred: 16 septembre 2020 à 09:07:04 (654 occurrences)
Last logged: 06:53:06
and i found no solution,
please help me !
thanks
Stephane