Can eventor timer be triggered by the temperature?

Hi, I am a fan of the Eventor widget. But now I am struggling with an issue…
I want to control the heating in my house at night, based on the outside temperature. So I have my outdoor temperature sensor (DS18B20) connected to my chip (wemos ESP-8266). I see the temperature in on the Blynk app, cool. But now I want to heat during the night my electrical heater.
I use a relay, connected to my ESP-8266 to switch the heating.

With the Eventor I can decide the time when the heating should start manually. But how do I link the charging start-time to the outside temperature.
example:

V7 is the temperature
D1 is the relay

At 02:00 AM if V7 is <10 set D1 to ON
At 03:00 AM if V7 is <15 set D1 to ON

With other words, how do I link a condition (like the temperature) to a time based action?

is something like this possible with the Eventor?
How can I solve this?

Thanks

use Scheduler Time Input widget like me
it is better than eventor

 TimeInputParam t(param);

  nowseconds = ((hour() * 3600) + (minute() * 60) + second());
  startseconds = (t.getStartHour() * 3600) + (t.getStartMinute() * 60);
  stopseconds = (t.getStopHour() * 3600) + (t.getStopMinute() * 60);



  if (t.isWeekdaySelected((weekday() + dayadjustment))) {
    //Schedule is ACTIVE today
    if (nowseconds >= startseconds && nowseconds <= stopseconds) {
      Timer1 = true;
      Serial.print("Timer1 = " );
      Serial.println(Timer1);
      Blynk.virtualWrite(V61, 255);  // turn on virtual LED
    }
    else {
      Timer1 = false;
      Serial.print("Timer1 = " );
      Serial.println(Timer1);
      Blynk.virtualWrite(V61, 0);   // turn OFF virtual LED
    }
  }
  else {
    Timer1 = false;
    Serial.print("Timer1 = " );
    Serial.println(Timer1);
    Blynk.virtualWrite(V61, 0);   // turn OFF virtual LED
  }
}
1 Like

Good question actually. At the moment the Eventor itself doesn’t support that, however, there are some workarounds like above.

Another way would be to put some time as integer into pin and use Eventor to compare with value from that pin.

1 Like

It’s a good idea :bulb:
I’ll try tomorrow.