HomeGenie Forum

Development => Feature request => Topic started by: artichost on July 18, 2015, 02:49:18 PM

Title: Remeber status
Post by: artichost on July 18, 2015, 02:49:18 PM
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)
Title: Re: Remeber status
Post by: bkenobi on July 19, 2015, 07:17:08 AM
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. 
Title: Re: Remeber status
Post by: Michel on July 19, 2015, 01:30:31 PM
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 (http://www.homeseer.com/support/homeseer/WebHelp2/confighomeseer/powerfailure/config_powerfailure.htm)
Title: Re: Remeber status
Post by: dani on July 19, 2015, 03:04:33 PM
ZWave equipement can remember the last state after a power failure.
Title: Re: Remeber status
Post by: Michel on July 19, 2015, 09:23:04 PM
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 ?
Title: Re: Remeber status
Post by: dani on July 19, 2015, 11:18:12 PM
Yes that's right, if you setup the specific module memory parameter.
Title: Re: Remeber status
Post by: enterprised on July 20, 2015, 12:50:59 AM
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.
Title: Re: Remeber status
Post by: dani on July 20, 2015, 11:52:23 AM
As I write upstair, with ZWave it's automatically possible with each module.
Title: Re: Remeber status
Post by: artichost on July 20, 2015, 07:03:41 PM
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 :-) 

Title: Re: Remeber status
Post by: dani on July 20, 2015, 09:59:43 PM
What you ask is not only remember status. Must care of schedule even if the current comes back in few days !!!