How to send control signal to sensor (arduino/ rasberry pi like)?

I probably suggest Node-Red too often around here…
But in this case Node-Red is probably the ideal solution.

You’ve a couple of options, personally i’d send the sensor values direct to Node-Red and have it handle all of the alerts/ automation and just forward the sensor values on to farmOS.

I wouldn’t rely on e-mail notifications to control a motor if it is critical for cooling.

Edit:
I’ve done some experimenting with external notifications from farmOS in the past, take a look here:

but again if it is a critical response to an over temperature event then less is definitely more, handle it directly with your microcontroller if possible or at least within one application if using GPIO on a Raspberry pi.

1 Like