Page 1 of 1

How to use Alexa to stop automatic lights

PostPosted: Mon Nov 05, 2018 6:06 am
by siclark
Hi,
I have the lights in many rooms set to come on automatically during the day if the light levels outside are below a threshold and then go off after a certain amount of time. This has worked well for a long time, but now we have babies napping in the living room duruing the day, we want to be able to turn off the lights. If we ask Alexa to turn them off, then they just come back on.

I tried starting a timer when they get turned off whilst its not bright outside, and then not allowing the motion to reactivate them in that time, but that then prevents them working if they have just turned off after no motion. I guess I could try and get clever by cancelling the timer if they are turned off by no motion, but wondered what else people do?

I could ask my wife to ask Alexa to run a separate action to stop automation, ie run the above timer, but thats not going to be met with much enthusiasm. Its better if that is part of the turn off lights command, and ideally that would be a "native" alexa one, ie turn off lights in living room, rather than having to use certain words to run an action group that turns off lights and starts timer to block automation.

I am guessing there is no way to determine what has caused the lights to be turned off?

Thanks

Re: How to use Alexa to stop automatic lights

PostPosted: Mon Nov 05, 2018 6:43 am
by jalves
I had a similar issue and dealt with it in a bit of a round about way: We dog sit for some friends on occasion. The dogs sometimes get after the blinds on our sliders so when they are around I don't want those blinds do be lowered all the way to the floor when triggered (by either schedule or sun angle). So I established a variable called "puppies" and a action group called "Puppies" which is published to Alexa and HomeKit. I can tell the device (alexa or seri) to turn on puppies and it sets the puppies variable. Then I added a condition to the normal functioning blind schedules/triggers that.includes a test for puppies being true. If so, the blinds only lower to 75% when triggered rather than 100%. Thinking about it more, I probably don't need the variable since I could just check the state of the virtual device. Hmmm...

Re: How to use Alexa to stop automatic lights

PostPosted: Mon Nov 05, 2018 8:13 am
by siclark
Thanks. Yes, I could have a naptime variable that we can ask Alexa to turned on, but its not intuitive, and likely to get forgotten. The immediate thought is to turn off the lights, so thats what we ask for. Plus there are times when we dont want them coming on for other reasons, so would be strange action to call.
However, its probably the easiest to implement for now.

Re: How to use Alexa to stop automatic lights

PostPosted: Mon Nov 05, 2018 9:54 am
by siclark
I think this is my solution

viewtopic.php?f=208&t=21549#p169108

Re: How to use Alexa to stop automatic lights

PostPosted: Mon Nov 05, 2018 1:09 pm
by kwijibo007
siclark wrote:
we have babies napping in the living room duruing the day


Twins?

How to use Alexa to stop automatic lights

PostPosted: Mon Nov 05, 2018 1:19 pm
by siclark
Yes. 7 weeks old. It's why I'm also bugging autolog about the TRV plugin as well

Well, they were 4 weeks early so still really little

Re: How to use Alexa to stop automatic lights

PostPosted: Mon Nov 05, 2018 1:39 pm
by kwijibo007
Congrats mate!

I have have 8 month old twin daughters myself. They came 5 weeks early but are now fit and strong. Hold in there mate, it gets easier every week

I’ve finally sold this automation thing to my wife thanks to autolog’s plugin and Alexa. We’re always holding a baby and voice control has been really useful. Although my wife now makes me say ‘please’ to Alexa as apparently the girls ‘take in everything’

Thanks for the great plugin autolog, a sincere thanks too.. not like when I say it to Alexa...

Re: How to use Alexa to stop automatic lights

PostPosted: Mon Nov 05, 2018 2:18 pm
by siclark
Thanks. These are numbers 2 and 3, we have a 4 year old already. 3 boys, the house is never going to be quiet again! Twins just another level though!

Haha hate to say it but I agree with your wife.

My son uses Alexa all the time, even used it call me upstairs as an intercom.

His mum with him in kitchen "can you go and call daddy and tell him dinner is ready" expecting him to run upstairs, instead "Alexa, drop in to bedroom" . She was stunned, she doesn't even know how to do that!!

However he used to shout at her to turn on lights and then use same tone asking us to do things so we have to start forcing the niceness!! I can see where the tech billionaires are coming from, barring their kids from using technology!!



Sent from my iPhone using Tapatalk

Re: How to use Alexa to stop automatic lights

PostPosted: Mon Nov 05, 2018 3:11 pm
by autolog
kwijibo007 wrote:
... Thanks for the great plugin autolog, a sincere thanks too.. not like when I say it to Alexa...

That's very kind of you to say so but in fairness, it was all Jay's work to start with - I just extended it in the subsequent versions building on his excellent start - so credit, where credit is due. :)

btw I think I can join the club: both of our children (not twins) were born 7 weeks early, both weighed in at 4lb 12oz (in old money) and both started life in an incubator! However, you wouldn't know it look at them now. :)

Re: How to use Alexa to stop automatic lights

PostPosted: Tue Nov 06, 2018 12:27 am
by kwijibo007
Well, thanks to Jay and you. :D It's the plugin that gives the most bang in our house. Ironically I needed to ask Alexa to convert pounds to kilos! It's crazy how fast they grow.


siclark wrote:
His mum with him in kitchen "can you go and call daddy and tell him dinner is ready" expecting him to run upstairs, instead "Alexa, drop in to bedroom" . She was stunned, she doesn't even know how to do that!!

Haha! Amazing.

Re: How to use Alexa to stop automatic lights

PostPosted: Wed Nov 07, 2018 9:02 am
by mundmc
Related to children- my 13-month-old can be anywhere, and if one of us says, “Alexa,” she starts looking everywhere, frantic and excited, yelling, “Ahh- Eh- Ah!? Ahh-Eh-Ah!?”


Sent from my iPhone using Tapatalk