Strona główna / Społeczność / Blog / ESPeasy rules

ESPeasy rules

This is example how to use ESP Easy rules on ESP Witty (ESP8266). It shows timer, events, and assigning value to "variable".

The pins are connected as below:

  • GPIO4 - Push Button
  • GPIO12 - Green LED
  • GPIO13 - Blue LED
  • GPIO15 - Red LED

One device is set to Switch input and it is named button with "1st GPIO" set to GPIO-4. You cannot have variables, but You can have dummy device to store values. So I've created Dummy Device with name zmienna and set "Value Name 2" to indeks. In this example this dummy device is "Task" 3.

How it works?

If you push button the one LED is turn on for 1 second. If you push it again the next LED is turn on.

Komentarze

Log in or create a user account to comment.

Ten kto umie pisze kod, ten kto nie umie pisze książki..., albo blog.

Pon Wt Śr Czw Pt So N
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30