PiThermServer icon indicating copy to clipboard operation
PiThermServer copied to clipboard

Possible to use Duino to get Temp values?

Open beniroquai opened this issue 11 years ago • 1 comments

Hello,

I was searching for a tool to chart my flats temperature and found you awesome looking server. I'm also using heimcontrol.js together with the duino package. I connected a Tempsensor to it was wondering wether it's possible to read this value instead of a sensor connected to the pi. I can call the Arduino via a .js script and get the analog value back. Actually I have no idea how I could implement a function to convert this to your sever though. Do you have a quick idea? I think somewhere around the "readfile" in server.js?

Thank you very much! :-)

beniroquai avatar Jan 30 '14 09:01 beniroquai

Hi,

Can you use my script as a template, and get your .js file to write the Adruino temperature to the database table? That way you could view the data on the graph :)

Tom

tomasholderness avatar Feb 17 '14 22:02 tomasholderness