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
stevenvd 51
I am probably creating a loop that is failing somewhere and I am not seeing it. But I am having the following problem:
In the main loop of a virtual device I try to do a ping for a Lan device. If it fails the Device is offline. Else it is online. And I Turn on the receiver and change the Icon of the virtual device.
That all works great and the debug window is never showing any problems (not if the device is on or off). But when the Device actually changes state, The loop seems to stop running as the devices are not switched on or off. When I go to the virtual device, add or remove a space in the code and press "save". The code runs again.
Any Ideas?
Code below:
Please login or register to see this code.
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.