Smart irrigation - Miflora plus 12v relay -

So I'm building an irrigation system which turns on when the value received from a Miflora is <20

So far I have:
Pi connected to a relay and a Node-red flow that opens or closes the relays
Miflora readings coming in from
I've set up a dashboard and have gauges showing {{payload.moisture}}

What I want to do next is turn on the relay when {{payload.moisture}} <20 I guess I need a 'function'? How would you do this?

probably start by looking at the change function, and maybe the RBE node to stop repeatedly sending the same message.
And the Node-RED Essential channel is probably 30 minutes well spent.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.