Zkoušel jsem to i přes phython.
Traceback (most recent call last):
soubor=file('/dev/shm/teplota_kotel','r')
teplota1 = soubor.read()
soubor.close()
float(teplota1)
print(teplota1)
from rrdtool import update as rrd_update
ret = rrd_update('/home/pi/databaze_teplota.rrd', 'N:%s:%s' %(teplota1, teplota1));
File "/home/pi/test", line 16, in <module>
ret = rrd_update('/home/pi/databaze_teplota.rrd', 'N:%s:%s' %(teplota1, teplota1));
rrdtool.error: /home/pi/databaze_teplota.rrd: conversion of '14.3
' to float not complete: tail '