Page 1 of 1

Analog Input loses connection

Posted: 17 Sep 2021, 12:28
by Obaq303
Hello there,

I am working with a revpi compact which has a 0-10 V temperature sensor attached to AIn_1. The temperature value is read via Node-Red and is then sent to an MQTT-Broker.

It all works fine for about 2 days when suddenly the temperature value (0-10V) can not be read anymore by the revpi and thus can not be sent to the MQTT-Broker. Meanwhile the revpi is still working and can still be configured via webbrowser or Node-Red dashboard. The node for the analog value still says "connected" in Node-Red.

Only when I unplug an replug the power from the revpi the temperature value is read continously and is sent to the MQTT-Broker.

Has anyone noticed a problem like that? What can I do?

Re: Analog Input loses connection

Posted: 30 Sep 2021, 13:05
by ->Johannes<-
Hi Obaq,

We won't be able to help you with Node-Red, except of course the Node-Red team, but we can support you on the RevPi site.

If the problem occurs, can you read the variable AIn_1 with piTest?

Code: Select all

piTest -r  AIn_1 
That way we can narrow it down a bit.

Regards

Johannes

Re: Analog Input loses connection

Posted: 20 Oct 2021, 09:44
by dirk
Hi do you already know the Watch Dog Timer? With the Watch Dog you have the possibility to restart your RevPi Connect if a problem occurs.
Have a look at the following tutorial:
https://revolutionpi.com/tutorials/uebe ... rect=en_US