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 'motion'.
-
Hi everyone, I have a lua scene that turns a light on when motion is detected and turns it off after 1 minute. How can I make it not turn the light off if it has been previously turned on manually using the switch? Here is the code for the scene { conditions = { { id = 220, isTrigger = true, operator = "==", property = "value", type = "device", value = true } }, operator = "all" } fibaro.call(185, 'turnOn') fibaro.setTimeout(60000, function() fibaro.call(185, 'turnOff') end) Thanks a lot
-
Hi There, I'm not getting my scene to work properly so I need some help. I want my lights to turn on if the variable is now equal to night, if the lux of one sensor is lower then 13 and is on of the two motion sensors is tripped. Then the lights can turn of when both motion sensors are save for 5 minutes. See the scene I created but is only working if I set the two sensors in a device group but then they work as an "and" state so both sensors need to be triggert before the lights turn on. Hopefully someone can help me.
-
I have a Jasco in-wall dimmer (26932). When I go to add it (by selecting or deselecting every option) the device adds and it says configuration finished. But when I go to the devices they all say not configured. It turns off the switch and when motion is detected it turns the switch back on, but the motion does not indicate a breach. It also added two lights for some reason. Does anyone have advise on resolving this issue or should I try another brand of in wall dimmer? I am tired of Fibaro not being able to add all of my devices properly!! HC2 4.600 device is 2” away from antenna
-
Hi guys I ask for Lua scene to control the lights automatically into star's by motion detection bt problem not for that The problem is I want that scene work between 6 pm to 7am and if motion detection don't detect any move then turn off light after 20 minutes Any one hare can help my to do that And Thanks for every one
-
I added 2 brand new oomi multi-sensors (Similar to Aeotec). It added every sensor but the motion on both units on multiple attempts. Has anyone had the same issue with oomi? I tried with and without security.
- 3 replies
-
- oomi
- multisensor
-
(and 3 more)
Tagged with:
-
Does anyone else have this same issue with the fibaro motion sensor? Did you resolve it, if so how? you add the motion sensor to home center and it works for a month then all of a sudden it will not detect motion and becomes a dead. it will not wakeup or respond to any commands in HC2. checked the sensor and has full battery so its not a battery issue. this has happened twice already. supposedly it is "up to date" in terms of software updates. Fibaro please fix this issue!!! *yes I have re-added it to HC2 but that does not resolve the issue permanently.
-
and i want to connect only 1 Device the Fibaro Motion Sensor without HomeKit. Is it possible to change the frequency of FGMS-001 ZW5 v3.3 with EU 868 MHz to the USA Frequency of my Hubitat?
-
Hi all, I want to install Philips Hue lightstrip (led tape) under and over mirror and trigger this light basing on presence/absence in bathroom. I can't figure out how to determine: 1) if someone is still in the bathroom (maybe my wife is laying in the bath and relaxing ) 2) if someone came in / came out 3) if another person just opened and closed the door I was trying with variables whit determine if someone is in the bathroom base od motion detector and door sensor but all are mess. I have 2 move detectors and window/door sensor, can anyone help me how to do it in block scene? I don't have access to LUA because I am musing FIBARO LITE I saw some topics about it but no final anwer was given I would be very grateful for your help Kris
-
Hi there! After latest update (or may be one before) my scene not triggered on motion state. I have Fibaro motion sensor and Fibaro wall plug. Only magic scene works. My own - no. Yes, it has Automatic flag and work when I press Run. I try to create new scene but the same. All the scenes and devices assigned to same room. What the problem?
-
I have a fibaro motion sensor and it keeps detecting motion even though there is none about every 10 seconds. turned off all scenes that interact with the motion sensor - still does the same thing. I restarted my HC2 - does the same thing. Motion sensor on latest firmware. *the only time it stops for a while is when the lux in the room goes to 0. but then it will detect motion again. **I do have the sensitivity really low, when I raise it above 20 it seams to go back to "normal" I don't want this at 20 rather it be 8-10. I have two other fibaro motion sensors set to 8-10 with no problems. @T.Konopka do you know what this could be? a bug?
- 5 replies
-
- motion
- motion sensor
-
(and 2 more)
Tagged with:
-
Hi Community, are there some experience with Motion Sensor and pets? Which value for Parameter 1 do you use to avoid motion detection caused of cats? The Sensor is installed like this. There are two cats and i want to use the Motion Sensor with the Alarm-system.
-
Hello All Ok i have a bathroom fibaro motion sensor where i need to turn on the lights when it is triggered for 15 mins and then they have to be turned off automatically The problem is here, everytime the motion is triggered the timer will start again. And this seems causing a lot of delays in the Fibaro HC2 I have checked we have a parameter calls "blind time" but you can set it to 8 seconds MAX The solution i have in mind to run a scene that when the motion is armed and triggered > turn on light and change sensor to disarm > after 15 mins > change it to arm and turn off lights What do you think?
-
I have a New HC Lite, and i have started to add Devices and setting scenes. I try first With a motion sensor, that i want to start a wall plug. I have created a scene, see photo. When i start the scene using the play button, the wall plug turn on light, and after 60 Seconds it turn off. But - when there is movement in front of the motion sensor - nothing happens, light will not turn on. Often the play button is also in pause, even if i have put X that it will not allow alarm to stop scene. Anyone who can give me hint or tips for what i am doing wrong here? I want the system to og on "loop" so every time the motion sensor is trigged the light will turn on.
-
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
-
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.
-
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
-
Hi, After I change the battery, the Motion Sensor stuck in motion. In app, it always shows that there is motion (continously). From outside, it looks it works normal, it flashes when it sees a motion. However, in app, there is continuous motion (breached). I performed reset several times and restarted HC2, but it didn't work. Dou you have any advise about a solution? Thanks in advance...
-
Hello there. Apologies if a newbie question - I have just added my first device into the HC2 and the other half was wondering why this device appeared to be going crazy Is there a way I can turn off the blinking light when the motion sensor reacts to motion? Is there a specific parameter I should be looking to control/edit Many thanks litfoo
-
Hi All Following on from posts elsewhere about my issue I am convinced the problem lies with the block/lua conversion. However as a newbie I do not know enough to decipher the flow of the code. Primarily I need to understand how this scene is triggered when %%autostart is not used. I get that a manual start will set things going by the first 4 lines but how does the scene trigger otherwise? If someone could add some comments to the offending code below for me it would be most useful! --[[ %% properties 172 value %% weather %% events %% globals --]] local startSource = fibaro:getSourceTrigger(); if(startSource["type"] == "other") then fibaro:call(64, "turnOff"); fibaro:call(66, "turnOff"); else if (( tonumber(fibaro:getValue(172, "value")) == 0 )) then setTimeout(function() local delayedCheck0 = false; local tempDeviceState0, deviceLastModification0 = fibaro:get(172, "value"); if (( tonumber(fibaro:getValue(172, "value")) == 0 ) and (os.time() - deviceLastModification0) >= 200) then delayedCheck0 = true; end local startSource = fibaro:getSourceTrigger(); if ( ( delayedCheck0 == true ) or startSource["type"] == "other" ) then fibaro:call(64, "turnOff"); fibaro:call(66, "turnOff"); end end, 200000) end end
-
I have a simple Lua script that after no motion (between 2 motion sensors) has been detected for 20 minutes then lights turn off. my script is not working properly the lights keep turning off after a few seconds of the last motion sensor becoming safe. Can someone see what I have done wrong in the script. Thanks! --[[ %% autostart %% properties 51 value 86 value %% weather %% events %% globals Day_night --]] local startSource = fibaro:getSourceTrigger(); if ( ( fibaro:getGlobalValue("Day_night") == "Day") and ( tonumber(fibaro:getValue(51, "value")) == 0 and tonumber(fibaro:getValue(86, "value")) == 0 ) or startSource["type"] == "other" ) then setTimeout(function() fibaro:call(76, "turnOff"); fibaro:call(78, "turnOff"); end, 1200) end
-
Basic question about events (light and movement)
FamSetsaas posted a question in Scenes and Interface
Hi guys, I seem to be missing something very basic... And wonder if anybody could give me a pointer. I want to do something as simple as this. 1) When movement is detected: Turn on the light 2) When there has been no movement for x seconds: Turn off the light (where x will be different for the different areas, e.g. from 15 seconds to 5 minutes) So I create two scenes (using the graphic blocks) 1) Turn on lights, (IF motion == Breached 0s) THEN (Turn on Lights) 2) Turn off lights. (IF Motion == Safe 60s) THEN (Turn off lights) But very frequently in my log, I see "Too many instances of the turn-off scenes". Which got me thinking. If I understand correctly, a new instance of 2) will be started every the sensor triggers that motion stops. So If I'm in the scene, and then move again within 60 seconds, scene 1) will be triggered again (but doing nothing, as the light is already on). When I stop moving again, yet another instance of 2) will be started. And then eventually, the max number of triggers are reached, which causes the error. The longer the timeout is, the more possible instances of 2) may be running. So I guess I could increase the number of instances, but is this really a good idea? Or am I going about this the wrong way? Should I instead create a LUA (which I haven't tried yet, but have a lot of programming experience), with the following two scenes: 1) Scene motion (motion == breached) Set global variable motion = yes if (number of instances > 1) exit Turn on lights while (variable motion == yes) wait 10 seconds while end turn off lights 2) No-motion (motion == safe 60s) set global variable motion = no Thanks for any advice on this. John Erik -
Hi ALL! I'm trying to change parameters of the Fibaro motion sensor in order to use it with @Sankotronic VSL scene. I'm trying to change folllowing parameters: Parameter 2 from 2 to 15 Parameter 6 from 5 to 30 and Parameter 40 from 200 to 40. Whatever I try, after saving the changed parameter it remains with the old value. Any help will be appreciated.
-
Does anyone know of a way that when someone rings your doorbell and you are watching tv that it will display a live view on your tv of your ip camera located at your doorstep?
-
Witam mam problem mianowicie chce zrobić scenę, jeśli motionsensor wykryje ruch to włącz światło na 15 min jeśli po 15 min mię będzie ruchu wyłącz i jeśli włączę światło z przycisku to żeby świeciło 30 min a później jeśli nie bd ruchu niech się zgasi. Czy jest coś takiego wygodę możliwe? Mam kod który włącza mi światło z włącznika i czujki ale tylko na określony czas i w obu przypadkach na ten sam czas, Co mam robić zmienić? Bardzo proszę o pomoc Kod:--[[ %% properties 59 value 119 value %% globals --]] fibaro:debug("SCENE START --------------------------") fibaro:debug("sceneInstance: "..fibaro:countScenes()) if fibaro:countScenes() > 1 then fibaro:debug("SCENE ABORT --------------------------") fibaro:abort() end local sensorID = 59 local lightID = 119 local delay = 10 local sensorMoved = (tonumber(fibaro:getValue(sensorID, "value")) > 0); local isLightOn = (tonumber(fibaro:getValue(lightID, "value")) > 0); fibaro:debug("isLightOn: "..tostring(isLightOn)); fibaro:debug("sensorMoved: "..tostring(sensorMoved)); if sensorMoved then fibaro:call(119, "turnOn") fibaro:debug("Action: turnOn") if isLightOn then local turnOffTime = os.time() + delay while turnOffTime > os.time() do if (tonumber(fibaro:getValue(sensorID, "value"))) > 0 then turnOffTime = os.time() + delay end fibaro:debug("zwłoka: "..tostring(turnOffTime - os.time())) fibaro:sleep(5000) end fibaro:call(119, "turnOff") fibaro:debug("Action: turnOff") end end fibaro:debug("SCENE STOP")
-
Cześć! Mam taką prostą scenę (jak w załączniku, HCLite) - jeśli jest noc i nie jest wystarczająco jasno, a ktoś naruszył MotionSensor to włącz oświetlenie przypodłogowe. Problem w tym, że zaraz po tym jak widzę, że MotionSensor mnie widzi (zaświeci się) to od tego momentu mijają ok. 3 sekundy zanim światło się zapali... Czy to normalne? Nie ma opcji, żeby zapalały się od razu? Uprzedzając pytania - światła bezpośrednio z urządzenia w Fibaro (ikona przłącznika) zapalają się od razu. Próbowałem też sceny "jeśli naruszony -> włącz światła" i jest to samo (ok. 3 sekundy). Z góry dzięki!