Search found 2 matches

by MSsleeper
16 Feb 2019, 01:39
Forum: ESP Easy: General Discussion
Topic: Custom value for timer
Replies: 1
Views: 1302

Re: Custom value for timer

Figured it out

Code: Select all

on System#Boot do
gpio,2,1 // Prevent relay turning on during boot
endon

on valve#Switch=0 do
  timerSet,1,[watertime#duration]	 // duration
endon

on Rules#Timer=1 do
  gpio,2,1 // Turn off relay
endon
by MSsleeper
15 Feb 2019, 22:32
Forum: ESP Easy: General Discussion
Topic: Custom value for timer
Replies: 1
Views: 1302

Custom value for timer

Hello all, I am building a garden irrigation project for my home assistant implementation. I would like to be able to send values from HA via MQTT and change the duration of espeasy timer. I have MQTT import device up and working. Is it possible to pass the value from my MQTT import to the timer fun...