Hi Guys,
Just after some advice, i have set up some events which are conditional but i don't think they are very efficient, basically i have a few devices that are snevlLatitude devices, there is one Lauren HOME Occupancy, which becomes ON when my wife is home, there is a Travis HOME Occupancy which becomes ON when i get home, then there is a final device Guest Staying which when ON suggests a guest is staying.
What i am trying to achieve is the following:
If someone is home (Any combination of Lauren Home Occupancy, Travis Home Occupancy or Guest Staying = ON) AND Time is between 6am and 11:59pm THEN House Status = Occupied
If someone is home (Any combination of Lauren Home Occupancy, Travis Home Occupancy or Guest Staying = ON) AND Time is between 11:59am and 6:00am THEN House Status = Occupied - Sleep
If no-one is home (Lauren Home Occupancy, Travis Home Occupancy or Guest Staying = OFF) THEN House Status = Occupied - Sleep
The Thing is, sometimes i would like to be put the house into Occupancy - Sleep at hours outside of the normal occupancy time, so for example if D7 X10 OFF is received, it would put the house into occupied - sleep mode until either the house gets put back into Occupied mode, or the normal 6:00am - 11:59pm window is reached. the next day, so for example say I put the house into Occupied - Sleep mode at 9:00am, then it would not come out of Occupied - Sleep mode until the device status is changed by a seperate event, or the next time window of 6:00 - 11:59am is reached, OR the house becomes unoccupied, then goes back to occupied, or if the time is after 11:59pm and 6am, it would go from unoccupied to soccupied - sleep.
Sorry if i have not explained it very well, to sum up:
1. House is set to Occupied IF Someone is home, or the time is between 6:00am and 11:59pm
2. House is set to Occupied - Sleep IF someone is home, the time is between 11:59 - 6am, OR an event puts the house into Occupied - Sleep earlier through X10 D7 OFF Received.
3. The house stays in Occupied - Sleep mode, UNLESS the next occupied time window happens (e.g. the next day after 6:00am to 11:59pm occurs and someone is home), OR the house becomes Unoccupied
4. If the house is in Unoccupied, and someone comes home in the 11:59pm to 6:00am window, the house would be in Occupied - Sleep mode, HOWEVER
If the house is in Unoccupied mode and someone comes home between 6:00am and 11:59pm it goes back to Occupied mode.
The event is a bit of a mess, but for the most part it works, the only thing i am unsure of is how on a conditional event to get the event to NOT return back to occupied when it has been forced into Occupied - Sleep mode. Appreciate any help people can give on how to best set this up, i am not tied to Conditional events, nor having the one event, if someone things it is easier i can have a someone's home device that is conditional for the devices Lauren Home, Travis Home or Guest Staying and then go from there, but i am keen after my system rebuilt to get light automation, motion sensors, alarms and so on to function around device values so the system can be much more specific about not doing TTS announcements when the house is in Sleep mode, not turning on all lights, and activating the alarm etc.
Appreciate any input!
Just after some advice, i have set up some events which are conditional but i don't think they are very efficient, basically i have a few devices that are snevlLatitude devices, there is one Lauren HOME Occupancy, which becomes ON when my wife is home, there is a Travis HOME Occupancy which becomes ON when i get home, then there is a final device Guest Staying which when ON suggests a guest is staying.
What i am trying to achieve is the following:
If someone is home (Any combination of Lauren Home Occupancy, Travis Home Occupancy or Guest Staying = ON) AND Time is between 6am and 11:59pm THEN House Status = Occupied
If someone is home (Any combination of Lauren Home Occupancy, Travis Home Occupancy or Guest Staying = ON) AND Time is between 11:59am and 6:00am THEN House Status = Occupied - Sleep
If no-one is home (Lauren Home Occupancy, Travis Home Occupancy or Guest Staying = OFF) THEN House Status = Occupied - Sleep
The Thing is, sometimes i would like to be put the house into Occupancy - Sleep at hours outside of the normal occupancy time, so for example if D7 X10 OFF is received, it would put the house into occupied - sleep mode until either the house gets put back into Occupied mode, or the normal 6:00am - 11:59pm window is reached. the next day, so for example say I put the house into Occupied - Sleep mode at 9:00am, then it would not come out of Occupied - Sleep mode until the device status is changed by a seperate event, or the next time window of 6:00 - 11:59am is reached, OR the house becomes unoccupied, then goes back to occupied, or if the time is after 11:59pm and 6am, it would go from unoccupied to soccupied - sleep.
Sorry if i have not explained it very well, to sum up:
1. House is set to Occupied IF Someone is home, or the time is between 6:00am and 11:59pm
2. House is set to Occupied - Sleep IF someone is home, the time is between 11:59 - 6am, OR an event puts the house into Occupied - Sleep earlier through X10 D7 OFF Received.
3. The house stays in Occupied - Sleep mode, UNLESS the next occupied time window happens (e.g. the next day after 6:00am to 11:59pm occurs and someone is home), OR the house becomes Unoccupied
4. If the house is in Unoccupied, and someone comes home in the 11:59pm to 6:00am window, the house would be in Occupied - Sleep mode, HOWEVER
If the house is in Unoccupied mode and someone comes home between 6:00am and 11:59pm it goes back to Occupied mode.
The event is a bit of a mess, but for the most part it works, the only thing i am unsure of is how on a conditional event to get the event to NOT return back to occupied when it has been forced into Occupied - Sleep mode. Appreciate any help people can give on how to best set this up, i am not tied to Conditional events, nor having the one event, if someone things it is easier i can have a someone's home device that is conditional for the devices Lauren Home, Travis Home or Guest Staying and then go from there, but i am keen after my system rebuilt to get light automation, motion sensors, alarms and so on to function around device values so the system can be much more specific about not doing TTS announcements when the house is in Sleep mode, not turning on all lights, and activating the alarm etc.
Appreciate any input!
Comment