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
nicopret 16
I'm "cleaning code" on my HC2 to ensure that it runs without any errors.
When I start my HC2 after a power off I get the error: "line 155: Assertion failed". I don't get the error other than during startup and it therefore seems to be a "timing issue", especially since line 155, does not exist, since the code is only 72 lines. I have no idea why this error is reported. The code is based on an adapted version of @Sankotronic VD Home Status Version 1.0. which I use set set certain states for my Very Smart Light scenes.
I commented out some of the code I don't want/use from the original VD code dowloaded. Below find the code from the main loop. I have also attached the full code for the VD which is very basic.
Any ideas what might be causing the error or how to find the problem?
Please login or register to see this code.
Please login or register to see this attachment.
Link to comment
Share on other sites
2 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.