I am creating a smart thermostat project.
- Arduino Uno connected to several sensors and to a remote controlled socket to turn a heater on/off
- An arduino ethernet shield is used to connect to the internet.
- I am using the ubidots-ethernet library to send sensor data and receive control inputs (on/off and desired tempetrature)
The project is working: sensor data is logged and I can turn on/off the heater from the ubidots dashboard.
The setup hangs however after a few hours.
Is there a way to detected the connection with ubidots is lost and to reinitiate this?