PLEG garden irrigation system

Hello,

can please someone share with me his irrigation system in PLEG, so I don’t have to invent, what already had been invented?

My inputs would be:

  • Netatmo rain gauge (1hr or 24hr rain accumulation)
  • Outdoor temperature

My outputs would be:

  • Irrigation valve (Open/Close)

I would imagine some timer when irrigation start for example 30 minutes and then it would close and some rules IF there was no rain that day and temperature average for that day exceeded XX degrees celsius.

Thanks for all PLEG examples.