Doubt - Events Offline

Yeah, I get the coding example, but it seems overly complicated for what I am doing, in my current code I am reporting 4 different values at different timed offsets and would have to establish 2 variables for each.

Rather than recoding 4+ functions I just imported simple timer and in 1 line per function call achieved the same effect.

I do intend to fully implement this in the future as my default practice, but for now simple timer is simpler & faster.

yup simple timer is a good choice rather than using delay.

@wjmatamoros and @MBfromOK we had added support for offline event couple of months back for pi agent. can you guys give it a try and let me know.

I have the same problem, the place where I want to monitor, turn devices on and off, the internet signal is very unstable. I have thought about using several slide widgets to send the data of date, hour and minutes, to a NodeMCU where these data will be stored, in the hardware I am going to use an RTC, and in this way using the if statement compare when the date sent matches with the RTC.

What do you think about this solution?

1 Like