Skip to content

Irrigator

Paolo Grasso edited this page Jul 25, 2020 · 1 revision

General info

The irrigator is similar to a generic sensor. The main difference is the presence of an MQTT subscriber.

MQTT subscriber

  • It waits for MQTT message from the irrigation strategy.
  • When the message is received, it publishes an MQTT message containing the duration of irrigation, which is then collected by the ThingSpeak adaptor and published on ThingSpeak.
  • It virtually starts the irrigation (irrigate() function).
Clone this wiki locally