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
Search the Community
Showing results for tags 'label'.
-
Hi all ! I would like to update another QA's label. In this case, it's QA with ID 95 and the label is called Doors. Does anyone know if this is possible and what that code might look like. function QuickApp:onInit() self:debug("QuickApp:OnInit") self:updateView("Doors open", "text", Doors) -- would like to update QA ID 95 end
-
Hi All! Is there a way to automatic create labels in VD with LUA? I want to add, or delete labels in VD depending on results of my code. For example if i have a VD displaying humidity sensor values and i add a new sensor the code should add a new label to display its value. Any ideas? Thanks in advance.
-
I was trying to find workaround here but without success. So I request for a new feature. Possibility to break line in labels of VD on all devices (web UI, iOS mobile, Android mobile) in one common way. Actually: web UI supports html tag <br/>, but mobile not (mobile displays tag as <br/>) iOS supports \n Android doesn't support <br/> nor \n Solution can be done in 2 ways: a) support <br/> tag on iOS and Android mobile or b) support \n on webUI and Android Examples how line breaking looks like actually: web UI iOS mobile Android mobile
-
- 3
-
- vd
- line break
-
(and 1 more)
Tagged with:
-
Hi I'm trying to break line in VD label. Do you have a solution for this? My VD has got 3 labels: Label 1: line 1<br/>line 2 Label 2: line 1\nline 2 Label 3: line 1<br/>\nline 2 Label 1 looks good on www but not on iOS mobile. Label 2 looks good on iOS mobile but not on www. Label 3 looks good on www but not on iOS mobile. Every of these 3 labels looks bad on Android mobile. www mobile iOS mobile Android My VD: Line_Break.vfib
- 6 replies
-
- 1
-
- label
- line break
-
(and 1 more)
Tagged with:
-
Hello, I'm working on a tiny lua code showing status on different variables and devices. This is what I got: local ID = fibaro:getSelfId() local lys = fibaro:getGlobal('LYS') local lysstue = fibaro:getValue(36, 'value') local TV = fibaro:getValue(85, 'value') local dor = fibaro:getValue(66, 'value') fibaro:call(ID,'setProperty','ui.Label1.value',lys) fibaro:call(ID,'setProperty','ui.Label2.value',lysstue) fibaro:call(ID,'setProperty','ui.Label3.value',TV) fibaro:call(ID,'setProperty','ui.Label4.value',dor) Only thing I want to change are values displayed as 0 and values displayed as 1 changes to "OFF" and "ON". Help is much appreciated!
-
Hi! I am working on my first VD and I want to change the text of a button during runtime. fibaro:call(SelfId, "setProperty", "ui.Button21.Label", "new text") fibaro:call(SelfId, "setProperty", "ui.Button21.value", "new text") None of the calls on top is working, I am a little bit frustrated Change a slider value or a text of a label is working fine Any help is welcome ...
-
Hello, i am not into coding but i guess i need some help. I have a virtual device with 2 buttons, very simple, light1 on /light1 off . i would prefer to have just one toggle button. is it possible? moreover i need to find a way to express the status of the device. I am wondering if there is any way to i.e. change the color of the text into yellow in order to indicate the loght is ON. could please anyone instruct me on how to do such a toggle button with a simple example ( if possible) Thanks
- 8 replies
-
- button
- virtual device
-
(and 3 more)
Tagged with:
-
Which lua code do I use within a VD label to display a temperature from a multisensor from fibaro or aeon ?