Hi,
i need help. My gascounter change from pimatic pi to a old pi b. How can i over a shellsensor read the counter?
The old config on my pimatic pi work with this command:
rrdtool lastupdate /home/pi/hmc5883-gas-counter/count.rrd | tail -1 | cut -d ':' -f 2 | cut -d ' ' -f 2
With this command i haven´t a output:
sshpass -p '<raspberry>' ssh -o StrictHostKeyChecking=no <pi>@<192.168.2.6> 'rrdtool lastupdate /home/pi/hmc5883-gas-counter/count.rrd | tail -1 | cut -d ':' -f 2 | cut -d ' ' -f 2
MfG.