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

Help needed: Howto report a broken lamp when light is turned on.


Question

Posted

Please help me.....

I tried to create a scene that checked the power consumption when a lamp was turned on (did this with a "block scene").

The idea was that normally the lamp (it has three LED blobs) consume about 30w when it is on, but if the power consumption was lower than 30w when the lamp was turned on then a mail should be sent to me telling me that one lamp is broken.

Got it working once, but then my HomeCenter2 started to act strange, other scenes stopped to work. Got the feeling that my new scene killed a lot of other scenes.

What I want is a scene that:

1. 10 seconds after that a lamp is turned on checks the power consumption

2. If the power consumption is lower than 23w then a mail should be sent to me.

3. I only want to do the check one time 10seconds after that the lamp is turned on, not a constant surveillance of the lamp (guess that it was this that my scene did)

Would prefer to do this in a LUA scene, but I am a beginner in LUA programming......

Thanks in advance!

5 answers to this question

Recommended Posts

  • 0
Posted

Please help me.....

I tried to create a scene that checked the power consumption when a lamp was turned on (did this with a "block scene").

The idea was that normally the lamp (it has three LED blobs) consume about 30w when it is on, but if the power consumption was lower than 30w when the lamp was turned on then a mail should be sent to me telling me that one lamp is broken.

Got it working once, but then my HomeCenter2 started to act strange, other scenes stopped to work. Got the feeling that my new scene killed a lot of other scenes.

What I want is a scene that:

1. 10 seconds after that a lamp is turned on checks the power consumption

2. If the power consumption is lower than 23w then a mail should be sent to me.

3. I only want to do the check one time 10seconds after that the lamp is turned on, not a constant surveillance of the lamp (guess that it was this that my scene did)

Would prefer to do this in a LUA scene, but I am a beginner in LUA programming......

Thanks in advance!

Hi
This scene should work.
Create a variable, as in the picture, it should make it not run in the loop.
The variable, set to "on" when the light turns on and "off" when the light is turned off.
Here watt be below or equal to 3 watts in >15 seconds if the e-mail should be sent.
Hope it helps.

Please login or register to see this attachment.

Please login or register to see this attachment.

 

Please login or register to see this attachment.

  • 0
Posted

Hi

This scene should work.

Create a variable, as in the picture, it should make it not run in the loop.

The variable, set to "on" when the light turns on and "off" when the light is turned off.

Here watt be below or equal to 3 watts in >15 seconds if the e-mail should be sent.

Hope it helps.

Please login or register to see this link.

Please login or register to see this link.

Please login or register to see this link.

How can i create variable chcecked? Can you post screen or whatever

  • 0
Posted

How can i create variable chcecked? Can you post screen or whatever

The variable is called "Light" and has three modes, "Checked", "on", "off".
See picture above.
Hope it helps.
  • 0
Posted

The variable is called "Light" and has three modes, "Checked", "on", "off".

See picture above.

Hope it helps.

Yes, but you must make scene for on, off and chcecked variable. And there is problem for me. I do not know how to do.
  • 0
Posted

Yes, but you must make scene for on, off and chcecked variable. And there is problem for me. I do not know how to do.

Hi
Has made a few small changes, this will hopefully work.
In schreen dump: Så = Then --- Og = And
First, create variables. There must be a scene for turning on the light, one to check the light and one to turn off the light.
Hope it will work.

Please login or register to see this attachment.

Please login or register to see this attachment.

Please login or register to see this attachment.

Please login or register to see this attachment.

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