Closed gilhaz closed 5 years ago
First, Your work is art! Thank you.
I wanted to use the TemperatureMeasurement device to monitor my RaspberryPi CPU temperature by running a script, something like this:
TemperatureMeasurement
#!/bin/bash CPU_TEMP=$(</sys/class/thermal/thermal_zone0/temp) echo "$((CPU_TEMP/1000))"
But I don't see the CommandReturnCode as an input option, only InputFloatRef.
CommandReturnCode
InputFloatRef
will CommandReturnCode be available in the future for TemperatureMeasurement device?
Thanks, Gil :)
I just released v0.7.0 which adds the CommandParser InputFloat type. It attempts to parse stdout of the command you give it for a float.
Thank you for your fast response! Works perfectly! 🥇
First, Your work is art! Thank you.
I wanted to use the
TemperatureMeasurement
device to monitor my RaspberryPi CPU temperature by running a script, something like this:But I don't see the
CommandReturnCode
as an input option, onlyInputFloatRef
.will
CommandReturnCode
be available in the future forTemperatureMeasurement
device?Thanks, Gil :)