You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if I try to set an alarm on Sunday before 1am in case of TZ set as CET-1 and I get an error 254
id=Alarm.alarmRepeat(dowSunday,0,1,0,WeeklyAlarm); // 0:1:0 every Saturday
The problem according to me it's do because the calculation it's made in EpochTime and the variable "value" in all the function is set as time_t and become negative.
I fixed changing the variable "value" to int in ESP8266TimeAlarms.h and cpp. Seems to work now, but I am not sure it's the correct way.
thanks
The text was updated successfully, but these errors were encountered:
Hi
if I try to set an alarm on Sunday before 1am in case of TZ set as CET-1 and I get an error 254
id=Alarm.alarmRepeat(dowSunday,0,1,0,WeeklyAlarm); // 0:1:0 every Saturday
The problem according to me it's do because the calculation it's made in EpochTime and the variable "value" in all the function is set as time_t and become negative.
I fixed changing the variable "value" to int in ESP8266TimeAlarms.h and cpp. Seems to work now, but I am not sure it's the correct way.
thanks
The text was updated successfully, but these errors were encountered: