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

power outage scene


Question

Posted

Hello friends, 

I want to make a scene : when the power is cut , and returned back , the wall plug is disconnected automatically for 1 minutes and reconnect again , because i am using wall plug for Refrigerator  , so i don't want to be damaged when the power come back

My question is there any parameter should i change in wall plug advanced and how to make a scene do this process.

note :iam in a country the electricity is cutting down continuously. 

11 answers to this question

Recommended Posts

  • 0
Posted

Change parameter 16 "Remember device status after power failure" of the wall plug (the description will make it clear).

 

Save this scene on your HC2, replace 9999 with ID of plug

 

Please login or register to see this code.

  • 0
Posted

Which in case the HC2 does not come up leaves your fridge without power until you're back home to notice. I would not do that but leave it without a plug and just let the fridge come back on when power is restored. That seems much safer.

  • 0
  • Inquirer
  • Posted

    Thanks peter , but idon't know why it works fine for just one time and  when i repeat the cut-down the scene not work any more ! 

    UrSv ,I am usually be out of my house for long periods (10 days),  when the power is restored the current become high because many loads is being low,

    so i fair that the fridge get damaged as it happened to others (It is usual for us to get stuff like this).

    • 0
    Posted

    This scene only runs when you press "save" and when you reboot. It doesn't run when you press "start" and that's by design. That's what the "autostart" means...

    Does this explain what you see? If not, let me know, I'll try the script when I am home...

    • 0
  • Inquirer
  • Posted

    Peter , i know autostart function , and i save it as you said, but works for just first time only .

    • 0
  • Inquirer
  • Posted

    Peter , I did this scene ,and it works fine as i test it , if you have any improvement please write it .
    ID of socket = 141
     

    Please login or register to see this code.

    • 0
    Posted

    I would still use a normal industrial delayed relay for it which connects the load after a preset delay on power-up. Something like a Weidmüller Timer BTR-S 8647720000

    • 0
    Posted

    I see... Looks good. You want the script to respond to "141 value" changes too, so when someone accidentally switches of the wall plug, it'll be switched on after 60 seconds. My script was only run at boot... The <<<startSource["type"] == "other">>> is only there to make the "start" button work (for debugging). And "setTimeout" is newer alternative to "sleep". So that should be good!

    BTW I do think UrSv gave an interesting alternative (though not cheap... but you don't want cheap here)...

    • 0
  • Inquirer
  • Posted

     I saw the price of  Weidmüller Timer BTR-S 8647720000 , it was almost the same price of wall plug , also it needs to connect wires

    • 0
    Posted

    Sure, there are cheaper models available for sure.

     

    This could be an alternative (but I do'nt guarantee it):

    Please login or register to see this link.

    • 0
  • Inquirer
  • Posted

    Peter , you are right in your scene , it works fine , because i was tested this scene by Removal the wall plug to simulate the power cut, but forget to power cut the home center too 

    Please login or register to see this image.

    /emoticons/default_icon_redface.gif" alt=":oops:" /> , So your code works fine when the power is cutting , and my scene works only if someone accidentally switches off the wall plug as you said.

    Thanks Peter ,UrSv

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