My code was working last year but not today.
I have runEvery1Minute(poll) and put a log after to be sure that line is executed and yes it is.
But poll is never called. Any idea why ? I also tried runEvery1Minute("poll") .
My code was working last year but not today.
I have runEvery1Minute(poll) and put a log after to be sure that line is executed and yes it is.
But poll is never called. Any idea why ? I also tried runEvery1Minute("poll") .
Can you post the rule and the log for it?
Ah I use Room Lighting or Rule Machine for my lights someone else will need to help you with that one. Sorry.
The method requires a string try
runEvery1Minute(“poll”)
I assume you actually have poll() defined somewhere? What does "Scheduled Jobs" on the devices detail page look like after the job is scheduled?
I would also suggest using a string, which I think is how this formally defined, though in my experience, it's usually good at converting if you don't.
Sorry guys, beginner error, I found an unschedule in the code that's why the runEvery1Minute was not working
Sorry...
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.