-3

I am building a sprinkler system using blynk and ESP32 wifi module. I have 6 solenoids that activate sprinklers, and I am looking to have them fire every x days, changing every month. So far, I have come up with code that: fires a relay at a specific time, and/or fires a relay for a given amount of time when a button is pressed in Blynk.

Where I am looking to go with this is having 6 solenoids fire back-to-back every x days, with x changing by month. I don't really know how to format the syntax for the 'every x days' part. Any tips?

  • 1
    Possible duplicate [How do I fire a relay using an ESP32 every x days?](https://stackoverflow.com/questions/61978231/how-do-i-fire-a-relay-using-an-esp32-every-x-days) – gre_gor May 24 '20 at 00:09

1 Answers1

0

The simplest way to use Blynk, is to put the generated Blynk sketch in the Arduino and set the widgets in Blynk App.

To make a time schedule, use the BlynkTimer and/or Eventor widgets. The Blynk cloud handles the schedule even if the application is not connected.

Juraj
  • 3,490
  • 4
  • 18
  • 25