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
dw89 8
Hi All,
I've got a list of motion/door breaches from api event history for display in a VD. What I want to do, in the loop, is (depending on whether a Motion Sensor or a door) show the HC2 icon 'in' that list. So, lets say, when queried, I have a list of x10 motion breaches then I will see the breached motion sensor icon 10 times; one for each breach.
So, I have tried the following but no joy. Probably doing something stupid so any suggestions would help.
local _motionIc = _HC22:GET("/fibaro/icons/motion_sensor/motion_sensor100.png");
then further down, where I try to display, basically as a URL ref:
fibaro:call(212, "setProperty", "ui.label_5_0.value", _motionIc .._name .." : " .._Time);
This doesn't work.
Help appreciated
Please login or register to see this image.
/emoticons/default_icon_biggrin.gif" alt=":-D" />5 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.