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
Quikdav 15
Hi all
I tried to use main loop (I know it does not work very well) but nothing has changed. I just want to request an external card. Here is my code. It works well but crash after a few time !!!
Please login or register to see this code.
When I run the debug mode, here is the error message !!
Please login or register to see this code.
Line 4 is empty and it work during some hours so I don't understand why it crashed suddenly !!!
I have a proposition for fibaro team. A fine way to manage main loop could be to have same parameters as for a Unix cron.
Because main loop is execute each 3 seconds by default, we need to add sleep command to control duration !!! I think it is the reason of the crash
So according to me, a best way would be to add same parameters as a Unix cron
What do you think ??
Thanks
David
6 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.