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'm trying to do something I feel is quite simple....yet I am failing every time!
I have some lua which creates a list of events. I can do this via my own lua OR using API via httpclient. If I do this in a scene and use fibaro.debug I can see the list or, even, stick it in a table/variable etc. No problemo.
The problems start when I 'try' to show this list in a virtual device label value. Basically it goes wrong in that it's all just on one line with no wrapping so, in browser you see the whole list (just as one string). In iPhone you see only the start of the first value and in iPad you see even less (oddly even though there is more screen real estate!). Everything is also right padded. No matter what I try (custom functions etc) I cannot a) seem to put in any carriage return to split the list elements or b) in iphone/ipad see anything at all!!
I have no doubt that I could, if I wanted say a list of 10, split it into 10 individual labels (still even then I would probably encounter the reading issue) but I really wanted a list in one label. Can this not be done? Can no formatting be done or ? Any help appreciated for examples. I have only personally seen a 'list' like what I am after in Fibaro's own Sonos plugin (list of songs). I want to do similar (well just a list really) in a VD.....am I pissing in the wind or ? Any info on formatting labels or doing this is much appreciated.
KR, Dave
Please login or register to see this image.
/emoticons/default_icon_sad.gif" alt=":-(" />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.