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

Notification power outage


wrongeu

Question

Hello
I'm interested in a scene through which I want to receive notifications power outage... to send me a message when it is interrupted, after a predetermined time and when it returns. I saw something made by @Sankotronic but it is for hc2 and I want it for a hc3lite. thank you

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0

Hi @wrongeu ,

 

I will start working on Advanced Notification Center in few days and I hope it will not take too long to publish it. Regarding your request, I have made my own device that detects power outage and then sends notification and also does some action when power is back. I share it long time ago here on forum, just need time to find it.

 

  • Like 2
Link to comment
Share on other sites

  • 0

unless you run your gateway on UPS the notifications won't be sent anyway...

 

I have my gateway (HC3) connected to a small UPS and the UPS in ist turn is connected to a Fibaro wall plug.

A scene to notify me of power outage would simply be looking at the power consumption on the wall plug. (it is normally a few watts when running even in standby mode)

 

For instance below 1 watt for 2 minutes --> send text to my phone.

It could be done with a basic block scene.

 

In LUA:

Conditions

Please login or register to see this code.


Trigger

Please login or register to see this code.

 

To receive notice when power returns, simply reverse the logic in this scene.

 

You could also set a global variable that has two values and whenever the global variable changes it triggers a notifications. The variable would change depending on watts used.

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

  • 0

Solution from @Whswede  is also interesting, but does it work always? I mean, when smart plug is left without power it is unable to send status to HC3 or I'm wrong? Asking since I never tested such setup.

 

Link to comment
Share on other sites

  • 0
  • Inquirer
  • 1 hour ago, Sankotronic said:

    Hi @wrongeu ,

     

    I will start working on Advanced Notification Center in few days and I hope it will not take too long to publish it. Regarding your request, I have made my own device that detects power outage and then sends notification and also does some action when power is back. I share it long time ago here on forum, just need time to find it.

     

    I made the system with a relay and a door sensor

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • 1 hour ago, Whswede said:

    unless you run your gateway on UPS the notifications won't be sent anyway...

     

    I have my gateway (HC3) connected to a small UPS and the UPS in ist turn is connected to a Fibaro wall plug.

    A scene to notify me of power outage would simply be looking at the power consumption on the wall plug. (it is normally a few watts when running even in standby mode)

     

    For instance below 1 watt for 2 minutes --> send text to my phone.

    It could be done with a basic block scene.

     

    In LUA:

    Conditions

    Please login or register to see this code.


    Trigger

    Please login or register to see this code.

     

    To receive notice when power returns, simply reverse the logic in this scene.

     

    You could also set a global variable that has two values and whenever the global variable changes it triggers a notifications. The variable would change depending on watts used.

     

    Thanks... i'll try this scene

     

    Link to comment
    Share on other sites

    • 0
    5 hours ago, Sankotronic said:

    Solution from @Whswede  is also interesting, but does it work always? I mean, when smart plug is left without power it is unable to send status to HC3 or I'm wrong? Asking since I never tested such setup.

     

    So obviously I did not try this and seeing this comment I immediately did. I does not work. Off course it does not work :(

    Sorry for not thinking trough before posting!

     

    In the case when I have had power outages I get an email from fibaro cloud telling my the connection is lost so I get the notification...  Also a new email when the cloud-connection is up again

    Link to comment
    Share on other sites

    • 0

    Hi,

     

    I found how I did it:

     

    Above solution does require UPS supply since it is done with UBS. It is also possible to make it with door/window sensor but only with version 1 that has terminals to connect external contact. New Fibaro DWS does not have terminals to connect external contact so you will have to find something else that is battery operated. Still, since you do need to have HC supplied with UPS then it is easy to make it as I did with UBS :-)

     

    • Like 1
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • @Sankotronic thanks ... I solved it ... HC3 is on an ups ... I connected a window sensor to a 12v relay and it works perfectly ...

    Link to comment
    Share on other sites

    • 0

    I do not know how in your cases, but Fibaro ID service sends me e-mail that my Home Center went Offline.

    Link to comment
    Share on other sites

    • 0
    2 hours ago, jakub.jezek said:

    I do not know how in your cases, but Fibaro ID service sends me e-mail that my Home Center went Offline.

     

    Hi @jakub.jezek ,

     

    that is true, but since my HC2 is powered by UPS same as my router then connection to Fibaro is not lost during power outage. I still need to know when there is power outage and also when power is back so that my script can do some action.

     

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