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 'button'.
-
Copied and modified a scene from web. It worked a couple of times, and sometimes needed "a break" to work again, now it is dead.. Triggered by device 189 - A Fibaro button.. --[[ %% autostart %% properties %% weather %% events 189 CentralSceneEvent %% globals --]] if (fibaro:countScenes()>1) then fibaro:debug("stop scene-count scene") fibaro:abort() end local pressSource = fibaro:getSourceTrigger()["event"]["data"] if (tostring(pressSource["keyAttribute"]) == "Pressed") then fibaro:debug('Pressed 1 time') -- add here your code fibaro:call(157, "turnOff") fibaro:call(234, "pressButton", "9") elseif (tostring(pressSource["keyAttribute"]) == "Pressed2") then fibaro:debug('Pressed 2 times') -- add here your code and so on.... Gives the following debug error: (Line 15 is the "local pressSource" above [DEBUG] 08:54:37: line 15: attempt to index field 'event' (a nil value) What can be wrong, Brgds Tor Harald
-
Hi, I'm new to HC2 and getting HC2 to know little by little. I have a VD to control my airco. I have three buttons, Power toggle, Power on and Power off. I have Power on and Power off working. I use LUA for all three buttons. Is it possible to control the Power on and Power off buttons from the Power toggle button? If Yes, could someone please provide me with some sample code? Thanks, FJW.
-
Hi ALL! I have in my system included Fibaro button with some "magic" scenes, which i'm converting now into lua scene. Normaly i coul'd delete the magic association bu pressing small red cross in the upper right corner of the associated icon, but suddenly i don't see any crosses anymore on thouse icons. Anyone an idea how to solve this without excluding and reincluding the button? [Solved] I've changed the trigger in thouse scenes and the association in the button settings disappeared.
-
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 ...
-
In one room in my house I have installed two rollershutter2's. They have exactly the same configuration settings (except id of course ). Previous week, I bought the Fibaro button. Questions/issues (1) does the standard button-wizard create assosciaton? I think it doesn't do it. Association seems to be the best way of connecting. Does it? (2) it's not possible to operate one of the rollershutters via Fibaro button. Neither individually, nor in a group (all shuitters). How to manage both of the rollershutters via button? standaard wizard or association? What can be the problem (and suggestion) for the issue that the second rollershutter won't operate via button?
-
Is it possible to check if the virtual device button was pressed in lua? Is there any function for that in lua? I want to code something like this: (If Button "3" of virtual device with an ID of 674 was pressed than a=a+1) for example
-
Hi, I'm starting to use my new Fibaro HLC, Motion and temperature sensor and danfoss valve. The system is configured, sensor is connecting with valve and the heating panel is day by day configured. I wanted to create a virtual device to enable and disable the panel warming but do not understand how to do it. Ciao, stavo iniziando ad utilizzare il sistema Fibaro HLC, sensore di movimento e la valvola Danfoss. Il sistema è configurato correttamente, il sensore è collegato con la valvola e il pannello è configurato con le temperature desiderate giorno per giorno. Volevo creare un interrottore virtuale per attivare e disattivare questo pannello ma non so proprio come si fa. thanks/grazie Andrea
- 1 reply
-
- virtual device
- button
-
(and 1 more)
Tagged with:
-
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: