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


  • 3

Lua script for Motion sensor and auto light


MDC

Question

Hello, can somebody share a script for auto turn on lights when motion sensor breaks and keeps on during motion detected? And lux setting also.

i have a script currently buy some time happen to crash.

 

thanks

Link to comment
Share on other sites

Recommended Posts

  • 0

@10der I love you work but have altered it to be event-driven + a couple of other changes

NB. If you activate a lot of room-setups, you will encounter the max scenes (10) - solution devide your included rooms into several scenes

 

Please login or register to see this code.

 

Please login or register to see this attachment.

Edited by Bimmer
Link to comment
Share on other sites

  • 0
5 minutes ago, 10der said:

@Bimmer not sure,

1st i do not wanr trigger by HC3 header

snd i do not have HC2 :)

 

It was not mean for you - but if anyone else (like me) wanted to have a event-driven script instead

Link to comment
Share on other sites

  • 0
On 11/18/2018 at 7:41 AM, 10der said:

for example, I am a Jew, for example,:) I have on Friday for Shabbat. 

Hi @10der,

if you were a jew, then you would write Sabbath ?

Link to comment
Share on other sites

  • 0
57 minutes ago, Bodyart said:

Sabbath

yes, "black sabbath"

Edited by 10der
  • Like 1
Link to comment
Share on other sites

  • 0
On 11/16/2018 at 10:18 PM, Thomasn said:

Hi. I have some lua-code here. You have to add lux yourself

Please login or register to see this link.

This link doesn´t work for me :S (Site Offline)

Link to comment
Share on other sites

  • 0
On 3/19/2022 at 10:59 AM, Retu said:

This link doesn´t work for me :S (Site Offline)

No. I have taken the site down. Too little traffic and too much work to keep it updated.

  • Like 1
Link to comment
Share on other sites

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...