more G-Labs products

Author Topic: Remeber status  (Read 2202 times)

July 18, 2015, 02:49:18 PM
Read 2202 times

artichost

  • *
  • Information
  • Newbie
  • Posts: 8
Hi,
Just started using Homegenie to use in our vaccation house,

I will use it for lights, Furnice, tempcontrol, and alot more.

I discoverd when testing that if i turn a light on, (conected to a relay)
and then restart the server the switch will go off and stay that way after booting.

I wuld want it to remember the state it was before reboot (ex poweroutage)

July 19, 2015, 07:17:08 AM
Reply #1

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
I think this might be beneficial for some protocols but not for others.  I don't think an X10 switch will turn on after a power failure if the switch was on prior to the failure.  Thus, I would not want X10 to remember the state necessarily. 

July 19, 2015, 01:30:31 PM
Reply #2

Michel

  • **
  • Information
  • Jr. Member
  • Posts: 42
In Homeseer, there is an option that take care of power outage by going back in time the specified number of hours, then executing each event while incrmenting time.

http://www.homeseer.com/support/homeseer/WebHelp2/confighomeseer/powerfailure/config_powerfailure.htm

July 19, 2015, 03:04:33 PM
Reply #3

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
ZWave equipement can remember the last state after a power failure.

July 19, 2015, 09:23:04 PM
Reply #4

Michel

  • **
  • Information
  • Jr. Member
  • Posts: 42
Let's say that a ZWave lamp is ON when the power outage at 22:00. The power comes back at 23:30. The lamp remembers that it was ON at the time of failure and so turns ON itself again. This lamp is scheduled to turn OFF at 23:00 in HG. Is this lamp will remained ON until 23:00 the next day ?

July 19, 2015, 11:18:12 PM
Reply #5

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
Yes that's right, if you setup the specific module memory parameter.

July 20, 2015, 12:50:59 AM
Reply #6

enterprised

  • ****
  • Information
  • Sr. Member
  • Posts: 101
  • Things are only impossible until they are not
Still it will be a great addition for HomeGenie to remember the state of anything that's switched on and off (X10, ZWave, GPIO etc.)

It's always an annoyance to the wife and kids when I'm playing with  HomeGenie (read programming and experimenting) and have to reboot the Raspberry Pi because of this. They don't appreciate that everything goes dark and requires manual switch on.
4a 75 73 74 20 61 20 70 65 72 73 6f 6e 20 68 61 76 69 6e 67 20 66 75 6e 20 77 69 74 68 20 68 6f 6d 65 20 61 75 74 6f 6d 61 74 69 6f 6e
enterprised == guytpetj

July 20, 2015, 11:52:23 AM
Reply #7

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
As I write upstair, with ZWave it's automatically possible with each module.

July 20, 2015, 07:03:41 PM
Reply #8

artichost

  • *
  • Information
  • Newbie
  • Posts: 8
In my case i was refering to GPIO state, (sorry i missed that info)  ::)

"Let's say that a ZWave lamp is ON when the power outage at 22:00. The power comes back at 23:30. The lamp remembers that it was ON at the time of failure and so turns ON itself again. This lamp is scheduled to turn OFF at 23:00 in HG. Is this lamp will remained ON until 23:00 the next day ?"

No, If the power comes back on Homegenie will read the timescript and turn the switch off, Depending on how it´s setup.

If time has passed 23 it will trigger the off switch parameter, 

Might be tricky to program, But i think it´s  possible :-) 


July 20, 2015, 09:59:43 PM
Reply #9

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
What you ask is not only remember status. Must care of schedule even if the current comes back in few days !!!