technicalpickles / picklehome-homeassistant-config

homeassistant configuration for my house
3 stars 0 forks source link

Goodnight doesn't always trigger #6

Closed technicalpickles closed 5 years ago

technicalpickles commented 6 years ago

The house has a 'mode': awake, bed time, or sleeping. Bed time seems to be triggering consistently (bed is occupied after sunset ), but sleeping isn't (bedroom lights turn off if it's bedtime). Recently, bedtime has been detected, but sleeping hasn't, which means goodnight never triggers and the lights stay on overnight.

I think it's because there's a standing lamp that often gets physically turned off, rather than using hue. Maybe that's becasue allow_unreachable?

Another option would be to exclude checking that standing lamp, since we usually turn off the entire group, or just the night stand lights.

It might also make sense to trigger bedtime at some point in the middle of the night?

technicalpickles commented 6 years ago

Another idea: make a template switch for good night, that just changes the house mode to good night, so it triggers the rest of the automations. Expose that to Alexa, and add a routine for "good night" that turns on good night mode.

technicalpickles commented 6 years ago

make a template switch for good night, that just changes the house mode to good night, so it triggers the rest of the automations. Expose that to Alexa, and add a routine for "good night" that turns on good night mode.

This is working 👍

I think it flushed out some 🐛 🐞 with the good night scene though. It turned 'off' the Fireplace TV, which sent the off IR signal which is actually a toggle, so the TV was just on in the morning.

technicalpickles commented 5 years ago

It seems to have been triggering consistently for awhile now.