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!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

Variable for button of switch pressed


Question

Posted

Hello everyone,

Any suggestion how to create a parameter for switch button pressed?

 

I create a scene based on Fibaro motion sensor and a dimmer, when I enter in room, dimmer turn on and after few minutes when motion sensor go to safe turn off the lights. Now if I turn on the light from switch and I'm not in range of sensor....lights go off. 

i what to create a scene, if lights was on by switch.....to turn auto off based on module parameter settings.

 

Any suggestion is welcomed.

 

9 answers to this question

Recommended Posts

  • 0
Posted

I hope that I will introduce this option in next version of Very Smart Light™ scene.

  • 0
Posted

Dear Sankotronic,

 

Can you make much less complex scene (as Mediacut) requested - I get same problem with my system.

I try to analyze your (honestly very nice) scene, but number of options and variables is so big that I gave up :)

 

 

Just - two things:

Automatic light activation - when some conditions are fulfilled (door opened, motion detected, part of the day - global variable, light level is below set) light to be active for time when sensor is detecting movement + some delay.

Would be also nice to get possibility to adjust the light level (in case of dimer)

Manual override - when switch is used (for dimer any one) - and light is on or off it should stay on (or to be switched on) and timer and motion detection to be disabled. Light to be off manually only (OK it could be also secondary timer to set it and when set to 0 it will stay on until you switch it off).

 

In most of cases like toilette, bathroom, laundry, stairways, wardrobe - you like to get it automatic (light on and off when no movement), but in all those places you get sometimes requirement to switch light on for longer period (and then when timer is switching it off it is making you - and your family - angry).

 

If you do not get time to do it, can you only suggest the way how to do it.

 

BR

 

PBr

 

  • 0
Posted

Hi @PiotrBr,

 

it is true that VSL scene became complex and for some people difficult to setup but that is unavoidable consequence when goal is to make it universal or usable in as many situations as possible. I still have some request that are waiting to be added and that will only make it more complex that it already is.

 

So, now I have to rethink how to proceed with VLS scene to make it more simple for users to setup but on the other hand to keep possibilities as many as it is possible.

 

And just few things:

Automatic light activation with motion sensor, door sensor, global variable that all is possible with VSL scene.

Setting of different brightness levels for individual lights  depending on part of the day or special occasion is also possible with VSL scene.

Adjusting level of lights with dimmer when scene is already running and lights are on is also possible with VSL scene, and it will keep this level until next trigger.

 

Manual override to switch off lights is also incorporated into the VSL scene, but it is missing manual turning On. But on the other hand it has possibility to keep lights turned on for longer periods regardless of motion detection by using global variable or state of some device or even by power consumption measured by smart plug. You can change value of some global variable by pressing switch on dimmer and then value of that variable will keep lights on until you press switch again and change value of that global variable. Or you can setup door sensor so that when door is closed lights will stay on no matter if there is motion detected or not. Same is if you use power reading from smart plug and if power is greater than some defined value then lights will stay on until that power falls bellow again.

 

I can write some examples and use different situations to explain what needs to be setup to get VSL scene to work satisfactory.

  • 0
Posted

Dear Sankotronic,

 

Would be great when you can describe more detailed and make it easier for us to use your great script.

 

  • 0
Posted
1 hour ago, PiotrBr said:

Dear Sankotronic,

 

Would be great when you can describe more detailed and make it easier for us to use your great script.

 

 

@PiotrBr,

 

Ok, I will try to do that in the following weeks.

  • 0
Posted
On 2017/2/23 at 7:46 PM, Sankotronic said:

Hi @PiotrBr

 

这是真的VSL场景变得复杂,对于一些人很难设置,但这是不可避免的后果,当目标是使其通用或可用在尽可能多的情况下。我仍然有一些请求,等待被添加,这将只使它更复杂,它已经是。

 

所以,现在我必须重新思考如何继续VLS场景,使其更简单的用户设置,但另一方面尽可能多的可能性。

 

只有少数事情:

带有运动传感器,门传感器,全局变量的自动光激活,所有这些都可以用于VSL场景。

使用VSL场景也可以根据日期或特殊场合的部分设置单个灯的不同亮度级别。

当场景已经运行并且灯亮时,使用调光器调整灯光的水平也可以使用VSL场景,并且它将保持此水平直到下一个触发。

 

手动覆盖以关闭灯光也并入到VSL场景中,但它缺少手动打开。但另一方面,通过使用全局变量或某些设备的状态或甚至通过智能插头测量的功耗,可以保持灯打开更长时间,而不管运动检测。您可以通过按下调光器上的开关来更改某个全局变量的值,然后该变量的值将保持点亮,直到再次按开关并更改该全局变量的值。或者您可以设置门传感器,以便在门关闭时,无论是否检测到运动,灯都会保持亮起。相同的是,如果你使用从智能插头的功率读数,如果功率大于某个定义的值,然后灯将保持打开,直到该功率再次下降。

 

我可以写一些例子,并使用不同的情况来解释什么需要设置以使VSL场景工作令人满意。

look forward to

  • 0
Posted

+1

A more simple, less extended version would be well appreciated!

  • 0
Posted

The topic has been moved from "

Please login or register to see this link.

" to "

Please login or register to see this link.

".

 

Temat został przeniesiony z "

Please login or register to see this link.

" do "

Please login or register to see this link.

".

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...