Jump to content

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!



Smart Home Forum by FIBARO Team

Search the Community

Showing results for tags 'scene'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • FIBARO Community
    • FIBARO Portal and Forum policy
    • FIBARO
    • Say hello!
    • Off-topics
  • FIBARO Update
    • FIBARO System Update
    • FIBARO Mobile Update
  • FIBARO Community Support
    • Scenes and Interface
    • FIBARO Products
    • FIBARO Mobile
    • FIBARO HomeKit
    • FIBARO Assistant Integrations
    • Other Devices / Third-party devices
    • Tutorials and Guides
    • Home Automation
    • Suggestions
  • FIBARO Społeczność
    • FIBARO
    • Przywitaj się!
    • Off-topic
  • FIBARO Aktualizacja
    • FIBARO System Aktualizacja
    • FIBARO Mobile Aktualizacja
  • FIBARO Wsparcie Społeczności
    • Sceny i Interfejs
    • FIBARO Urządzenia
    • FIBARO Mobilnie
    • FIBARO HomeKit
    • Integracja z Amazon Alexa i Google Home
    • Urządzenia Firm Trzecich
    • Poradniki
    • Automatyka Domowa
    • Sugestie


  • Scenes
  • Virtual Devices
  • Quick Apps
  • Icons

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start






Website URL





  1. In my toilet i have an AEON LABS Multisensor 6 Aeotec, whereby my light is been triggered by the sensor. You can see the scene below, often the light goes out because there is no movement anymore in the toilet, while the person is still in the toilet! if I increase the reset time, then it takes longer before the light dims (off), but on the other side, I would like to have a scene, when I step outside the toilet the light dims to off, within around 5 seconds. Does somebody has an improved scene from his or her timer from the toilet or any other scene what is equivalent (revised) to this scene? --[[ %% properties 442 value %% globals --]] -- User Settings local debug = false; -- true local toiletSpot = 408; -- ToiletSpot -- function variables local time = 0; local timeReset = 15; -- delay in seconds during which PresentState will not change after last breach local timerStop = 16; local motionSensor = 442; -- Motion Sensor Toilet local Motion = tonumber(fibaro:getValue(motionSensor, "value")); local toiletSpotStatus = tonumber(fibaro:getValue(toiletSpot, "value")); local function log(str) if debug then fibaro:debug(str); end; end -- avoid loop of this scene if tonumber(fibaro:countScenes()) > 1 then fibaro:abort(); end ----------------------------------------------------------------------------- -- Do Not change below this line ----------------------------------------------------------------------------- function toiletFunction() fibaro:call(toiletSpot, "setValue", "75") log("Light Turned ON"); log(timeReset.. " seconds before Light goes OFF starting at " .. os.date()); fibaro:sleep(5000); -- loop start ————————————————————----------------------------------------— repeat if tonumber(fibaro:getValue(motionSensor, "value")) > 0 then time = 0; log("Movement detected from Motion Sensor"); else time = time + 1; log("No Movement " .. time .." of " .. timeReset .. " seconds Detected"); end fibaro:sleep(999); until time >= timeReset -- 16 > 15 fibaro:call(toiletSpot, "turnOff"); log("Timer stopped, Vanity Mirror OFF"); log("-------------------------------------"); end if Motion > 0 then log("Start Timer") toiletFunction() end
  2. Sometimes you can do things in a (LUA) scene or in the main loop of a VD. I know that programming differs a little on some items like HTTP but in general you can use the same code. Currently I have a VD that reads a json file from a PI, stores the acquired data in global variables and presents the data in the VD GUI. Next I have a scene that processes the data from the global variables and does some steering of dimmers. Is this from efficiency point of view a good method? the alternative is to put all the calculations and steering which is now done in the scene, in the main loop of the VD. is there a general rule that the processing in a scene is less or more cpu intensive or generates less or more overhead than when done in the main loop of a VD
  3. Hi, I´m writing a couple of VERY SIMPLE LUA Scenes that I have linked to Double Click action of a double switch 2. The scene often works fine, but sometimes, some the turnon or turnoff actions are not executed. (by instance, instead of turning off the 3 lights, only 2 are turnned off, or maybe the vent turnon fails...) Also tried added sleep between commands but the result is the same. Any idea? This is quite frustrating... When I run the scen from the debuger interface, it seems that it works properly... As stated, the code is very simple: (Turn off lights, turn on vent, wait 7 minutes and turn off vent (except if the light were turned on again while the vent is on) fibaro:call(88, "turnOff"); --light off 1 fibaro:sleep(100); fibaro:call(93, "turnOff"); --light off 2 fibaro:sleep(100); fibaro:call(94, "turnOff"); --light off 3 fibaro:sleep(100); fibaro:call(89, "turnOn"); --this is the vent fibaro:sleep(420000); -- wait 7 minutes local bathLightStatus = 0; bathLightStatus = bathLightStatus + fibaro:getValue(88, 'value'); bathLightStatus = bathLightStatus + fibaro:getValue(93, 'value'); bathLightStatus = bathLightStatus + fibaro:getValue(94, 'value'); -- fibaro:debug('Number of bath lights on: ' .. bathLightStatus); if ( bathLightStatus == 0) then -- fanStatus = fibaro:getValue(89, 'value'); -- fibaro:debug('Fan Status ' .. fanStatus); fibaro:call(89, "turnOff"); -- fibaro:sleep(1000); -- fanStatus = fibaro:getValue(89, 'value'); -- fibaro:debug('Fan Status after off ' .. fanStatus); end
  4. How could I make an scene that would override my existing scenes? for example: I have a sprinkler scene for 1 am, and a lights off as well, how can I create an override sequence so that later on or the next day the preprogrammed scenes run properly? Gracias
  5. Hi I have recently reconfigured my system, now a big part of my devices got other functions. Everything works well, beside one switch. There is one device, which turning off on random time of the day. I'm considering that I have a scene running, where I forgot to change device id after changes on the system, but I cannot find it. Everything looks fine. Question is: Is there any option to find out, which scene or system process is triggering action on the specific device?
  6. Hi, Planning on setting up Qubino 0-10v dimmers with the Fibaro HC2. Does anyone know if these can be used in Lua scenes like the scene activation functionality in the Fibaro Dimmer 2? Thanks
  7. I have a lua scene that I want when the HC2 starts up. But it will not run. --[[ %% properties %% events %% globals --]] local message = 'HC2 restarted' -- Rohit fibaro:call (4, "sendEmail", message, message) -- Rajan fibaro:call (304, "sendEmail", message, message) The properties are as in the image. Any idea why ? Background - I have had continuous problems for 6 months now with all versions of firmware where the HC just does not run some scenes sometimes. The debug shows that its not busy at all. So I now have a scene that reboots it every morning at 4am. It sends me an email telling me its about to reboot. I would like one above to tell me that it has rebooted.
  8. I have below script VD in LUA which detect my phone IP in network - works good :] Now question - how can i must create scene with blocks ? after detect my phone in local network switch lights or etc...... Must first make variable or how? Please help really dont know, try since few hours
  9. Hi, I have HC-2 and have around 50 scene for different actions. Everything is working fine till last few days. Now when ever I trigger scene for 1st time it got executed but after that, if trigger new scene (Like, I have trigger ALL ON scene first and then Mood Light Scene. In this case execution of Mood light scene takes 15-20 second. Which was working perfectly before ) then it takes 15-20 second to execute it. This same situation occur when I trigger scene via Android Phone, iPad or Keyfob. So I think it's problem with fibaro Hc-2. Note : I have included Keyfob and Swipe on that day. Also I am unable to have remote access from last one day.
  10. Hey All, I created a "scene A" light on and after 10" licht off via a wall plug, this scene works fine. Now I create "scene B" as follows: If KeyFob "button 2 press hold" then "scene A". This "scene B" does not work. What is wrong, anyone an idea? To activate a scene from an other scene must be possible isn'it? Thx for your replies.
  11. Hello I have noticed that you can not choose which time to start with interactive push in block scenes. Just choose the top one. However, one can save another scene but nothing happens.
  12. I have two Fibaro sensor on my drive one at each end. i am trying to make a scene that says if sensor a is trigged first and then sensor b is trigged turn on lights but if sensor b is trigged first and then sensor a is trigged don't turn on lights not sure how to right it in Lua code
  13. Hi, For certain modules when I double press to activate a scene the light comes on at full brightness breifly before the scene kicks in and puts it to the desired brightness. I know I can switch off the parameter setting the double click to do this but when I deactivate the double click it also stops it from running the scene. Its really frustrating, and happens on both dimmer versions (1&2). it only happens in certain rooms but I cant see any difference in the parameters, other than I have disabled the double click in the rooms that behave correctly. As I said I'm happy to do this in the rooms that aren't working but then I get no scene activation at all. Any help would be great, thanks tom
  14. Hi all, I have a DW sensor that should switch on the light when it is evening and the door is open. Once triggered, the light should remain on until the door is closed and no motion is detected in that room. When door is closed and motion is no longer detected the light should slowly fade out. I wrote below code for this but cant get it working properly. I have the problem that the light will perfectly go when the door is opened but it will not go out! Anybody an idea what I do wrong? It seems not to reach the "repeat" part of my code which is within the IF statement. Here is the code: --[[ %% autostart %% properties 21 value 127 value %% weather %% events %% globals omtrekverlichting --]] --============ HOME TABLE ======================= fibaro:getGlobalValue("HomeTable") local jT = json.decode(fibaro:getGlobalValue("HomeTable")) --=============================================== -- used devices and its id fibaro:debug("device: hal - voordeur DW = ID: " ..jT.hal.voordeursensor) --127 fibaro:debug("device: hal - hal PIR = ID: " ..jT.hal.HalMo21) --21 fibaro:debug("device: hal - duospot = ID: " ..jT.hal.duospot) --160 fibaro:debug("device: hal - halspot = ID: " ..jT.hal.halspot) --116 --=============================================== local debug = false Debug = function (debug,color, message ) if (debug) then fibaro:debug(os.date("%x")..string.format('<%s style="color:%s;">%s</%s>', "span", color, message, "span")); end end if (fibaro:countScenes() > 1) then Debug( true,"purple", " too many instances --> abort "); fibaro:abort() end local trigger = fibaro:getSourceTrigger() if (trigger['type'] == 'property') then Debug(true, "Grey", ' scene triggered by - Source device = ' .. trigger['deviceID']) elseif (trigger['type'] == 'global') then Debug(true, "Grey", ' scene triggered by - Global variable source = ' .. trigger['name']) elseif (trigger['type'] == 'other') then Debug(true, "Grey", ' scene triggered by - Other source') end -- start up --------------------------------------- local deurstatus = fibaro:getValue(jT.hal.voordeursensor, "value") local Darkness = fibaro:getGlobalValue("Darkness") local motion = fibaro:getValue(jT.hal.HalMo21, "value") local lampstatus = fibaro:getValue(jT.hal.duospot, "value") local dimlevel = 60 if (tonumber(Darkness) == 1) and (tonumber(deurstatus) == 1) then Debug( true,"Orange",' hal verlichting ingeschakeld') fibaro:call(jT.hal.duospot , 'setValue' , dimlevel) fibaro:call(jT.hal.halspot , 'setValue' , dimlevel) repeat fibaro:sleep(3*1000) -- always wait at least x seconds before fade out. until (tonumber(motion) == 0) and (tonumber(deurstatus) == 0) while( dimlevel > 10 ) do -- start fade -out. fibaro:call(jT.hal.duospot , 'setValue' , dimlevel) fibaro:call(jT.hal.halspot , 'setValue' , dimlevel) fibaro:sleep(20) Debug( true,"Yellow",' dimlevel is '..dimlevel) dimlevel = (dimlevel -0.4) end fibaro:call(jT.hal.duospot , 'turnOff' ) -- make sure lights are really off fibaro:call(jT.hal.halspot , 'turnOff' ) Debug( true,"Green",' hal verlichting uitgeschakeld') end
  15. Hi I have been playing around with motion activated scenes which I now have working however I would like the ability to override the motion scenes by switching the light switch (connected to a Dimmer 2 module) I currently have this working but it only works if the lights are already off, is there a way I can set a scene which says if Bathroom lights are switched on via the switch change variable to X and the same if the light switch is switched off? Day time motion Night time motion Motion Off Any help would be greatly appreciated.
  16. Hello guys, I have some trouble with creating scene, which has to TURN ON a Fibaro Plug at exact time, but only when variable is met. The problem is, if i tell scene to TURN ON plug at exact time, it works fine. But, when I add variable next to the time with "And", scene completely ignores the time and runs every time the variable is met. So if I or a different scene change variable to OFF, this scene will automatically trigger despite it shouldnt untill 18:00. Anyone knows why please? Thank you!
  17. Hi, I think there is an issue with PIN protected scenes that are triggered from LUA configured popup or interactive push notifications. Scenes that should be PIN protected run straightforward when triggered from "YES" button on such notifications. Here are tutorials for setting such notifications up - courtesy of @Sankotronic: - popup notifications: - interactive push: Best regards, Andrzej
  18. I am new to the technology and have problems understanding when to use what option, when making a scene that includes the motion detector. The following options are avaiable: Add Magic scene Tripped Not tripped tripped more than X minutes Armed Disarmed Armed and tripped Add scene using graphic blocks Armed Disarmed Breached Breached and armed Breached and disarmed Safe Safe and armed Safe and disarmed Tamper tripped Tamper not tripped But when shall I use the different options and what is the difference between them? Feels like a stupid question, but hope you will still help. Thanks.
  19. I would like to be set and/or use the (current) temperature from the heating panel in a scene / using conditions. Example: If there hasn't been movement in the house for a given amount of time, the temperature set in the heating panel can be turned down.
  20. Good day, i have linked my two zwave locks to my HC2, they work fine from the app, i can control them with not issues. However, when i try to set and scene, to make sure they are closed when needed, the scene does not complete the saving step. I can add them and set the parameter to "Close", just not saving the Scene to have it running later. I have tried to remove only the locks from the scene and it saves the other steps, i also tried putting the scene only for one lock but still not saving. Lock types: - Yale Deadbolt YRD220-ZW-619 - Kwikset 910 zwave HC2 v.4.150 regards, Andres
  21. Hi, I have a some Smart Dimmer 6 modules from Aeotec which are connected to a HCL (v4.160). Including and switching/dimming works OK, but I cannot use them in a scene (graphical). Is there any way, that can be solved (e.g. by adding the template manually)? Thanks. Willem-Jan
  22. So I rebooted my Homecenter2. Upgraded to the latest version (not beta) and installed all my devices again. Now, on to making scenes. Everything works except for one device. My Front door lock. As soon as this is included in a scene I can't save the scen. It just hangs itself when I hit the save button. My lock is working when I try to lock/unlock it with HomeCenter2. And in the frontend it looks fine. I tried to create a simple scene using the blocks like in the attachment but it simply dosn't work. And it did work before I did the reset. Have anyone come across this before?
  23. Hi, I would like to use the wake on lan plugin in my scene, but it doesn´t show for block scenes so I guess it is only available for LUA. But I have no idea how to use it in LUA. Can someone help? Regards, Jens
  24. When i installed a dimmer2 and connected it to mij hc2 it created a set of devices. One is de dimmer to put on of or control light power One is a remote switch. How can i use this? I see 4 numbered events where i can activate scenes. The manual is verry verry basic and does not tell the full operation and nothing about programming on hc2. What i understand is: push puls switch once: lights on to previus power strength push puls switch again once: lights out Pusch puls switch two times : lights to maximum How can ik regulate light strength with the puls switch? Or is this not posible? Then programming. Can i read puls switch events to scenes? Is this done bij de remote switch device? What is event 12,13,14 and 16? Can ik opperate de dimmer bij programming and ignore puls switch actions ( i want to use the puls switch actions in custom scenes). A lot of questions. I hope there will be some answers. Thanks for that.
  25. Helle Everyone, hope someone can help me out here. I have this simple scene below running to turn on and off the lights in a room (off after 15 minutes) It works perfect, however, problems start when turning the light off with the physical light switch (pulse) If I do that, the light goes out (of course) but this scene keeps running and won't turn on the light if I enter the room again in 5 minutes. Ideal situation (in my opinion) , to kill this scene when the light is switched of but I have no success yet.... hope someone can help me with that. Greeting, Vincent. --[[ %% autostart %% properties 505 value %% weather %% events %% globals --]] if (fibaro:countScenes()>1) then fibaro:abort() end -- Run only one scene local light_1 = 513 -- ID Lamp 1 --local light_2 = 78 -- ID lamp 2 local sensor_1 = 505 -- Mov. sensor 1 --local sensor_2 = 86 -- Mov. sensor 2 local timer = 15 -- Timer in minutes local counter = timer local counter = timer if (tonumber(fibaro:getValue(sensor_1, "value")) > 0 ) then fibaro:debug("Turn on lights") --fibaro:call(light_1, "turnOn"--) fibaro:call(light_1, "turnOn") --fibaro:call(light_2, "turnOn") while counter > 0 do counter = counter -1 fibaro:sleep(60*1000) fibaro:debug("Counter = ".. counter) if tonumber(fibaro:getValue(sensor_1, "value")) > 0 --or tonumber(fibaro:getValue(sensor_2, "value")) > 0 then counter = timer end end fibaro:debug("Turn off lights") fibaro:call(light_1, "turnOff") --fibaro:call(light_2, "turnOff")-- end
  • Create New...