Home/Support/Support Forum/Use analog i/o to get temperature in sauna - need help coding python
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Use analog i/o to get temperature in sauna - need help coding python

0 votes
Hi,

I would like to use the analog i/o to get a temperature through a one-wire temp sensor. We have a common owned sauna in Stockholm and we need to know when the temperature is good to go.

I have found a script for raspberryPi written in Python that I would like to adopt but I don't know if it'll work.

I have goten it to work on an Arduino, where the arduino sends data to Thingspeak.

All code so far are available in github. https://github.com/Mirtosh/tempWR31

My first question: is it possible to do this on my WR31?
Second: Some one who would like to help us get this thing working?
asked Oct 20, 2017 in Digi TransPort by mirtosh New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
Hi

The WR31 analog IO can be used to read voltage or current.

Depending on the 1 wire sensor the wr31 can read the input and cary out some task using python.

https://github.com/digidotcom/transport_examples/tree/master/WR31

is example of wr31 scripts that allow monitor inputs and carry out task like sms or switch on a light.

other resource

https://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwiT6bzHuIbXAhXKWBoKHYebB60QFggoMAA&url=http%3A%2F%2Fftp1.digi.com%2Fsupport%2Fdocumentation%2F90001489.pdf&usg=AOvVaw2ShsBVmelByosNNcYy1V0G

regards

James
answered Oct 23, 2017 by James.Wilson Veteran of the Digi Community (1,225 points)
...