Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team
Question
Neo Andersson 62
Guys anyone can assist me, cause i am probably missing something evident..
I am using a simple formula , where this timer start when my Rain sensor detects rain, so it waits 3 sec and then prints the message
Please login or register to see this code.
later in the code i am testing the timer, and if exists i want to clear it
Please login or register to see this code.
However this always throws me this error
[19.01.2023] [03:23:22] [ERROR] [QUICKAPP51]: in Event({"type":"device","id":57,"property":"value"}) => ..: ./include/eventDefinitions.lua:113: Wrong parameter type, number required. Provided param '[Timer:31866 02:31:47 01/19/23]' is type of table
So this indicates that rainref is a table when i assign it to seTimeout, on the other hand Cleartimeout functions awaits number...
Then i open a completely new QA, just for testint this functionality..i am following the same procedure...and in the other QA the rainref is a number, so the Cleartimeout can work...
What the hell is going on???
Anyone any clue???
This is my simple testing QA, and in this the timer references are always numbers and not tables..
Please login or register to see this code.
Link to comment
Share on other sites
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.