you rock my friend!
Ok, next question.
Alexa can run a native ST Routine. Is it possible to have it run a child app such as a rule from Rule Machine?
Are you referring to Alexa Helper? You canāt run routines directly from Alexa as far as I know. I guess I am not understanding what you are trying to doā¦you also canāt run a child app typically without the parent app.
You know Michael, I donāt think they are going to let you work on your macros.
I work on them between questions
Sorry, I got distracted. I was programming my minimoteā¦ lol
Yes, I meant the AskAlexa app, not Alexa Helper.
What I want to do is create a rule in Rule Machine to send a TTS message to my teenagers speaker telling them to āShut UPā really loudlyā¦ But I donāt want to use a virtual switch to do it. And wouldnāt you know itā¦ stock routines are of course lacking in the TTS abilitiesā¦
I just want to say, Alexa, Ask Home to tell the teenager to shut upā¦ or something along that line. and she runs the rule from rule machine.
So, you are going to something like a Sonos, right? So yesā¦you could do thisā¦but a virtual switch is probably the best way to do itā¦There is nothing wrong with virtual switchesā¦they are needed sometimes (with the current platform).
Why not using one of your hundreds of switches? I am sure you can find one to turn on briefly, so you can set up the routineā¦
Or flash their room in addition to the TTSā¦that would shut them upā¦or they will bring their friends over to get you to do it for them!
Yeah, I thought about that. But what would the neighbors thinkā¦ The back porch lights turn on, the house yells at the kids. The garage door opens, the house yells at the kidsā¦
I can see it nowā¦ DCPS shows, rings the doorbell, the house yells at the kidsā¦
Virtual switches arenāt really an option anymoreā¦
Though, I have four free buttons on the Minimote!
You wouldnāt mind telling me what that is would you?
I might have just the thing for you on this. I have the same use case as you and wanted something a little more smooth.
I sent @MichaelS everything I did on tonight. If he likes he will let me know.
Iām not going to share any changes I make to his code without his permission and blessing first.
Iāll let you know if it passes his muster.
Yes, itās a corner case - most devices will update their battery status as soon as they are installed. In this case, the Spruce Sensors communicate ONLY changes at a max frequency of 10 minutes so as to minimize battery consumption (they are designed to be installed in your yard, to let the Spruce SmartApp know what the water content is in a given zone).
If the initial notification is āmissedā by SmartThings, then it turns out that the value will not be updated until the battery level drops below 100% (could be a long time - hasnāt budged in over 2 weeks), and thereās no way to āforceā an update.
Soā¦not a priority, and no real practical use case - Iād just rather not hear about null% batteries
Have you tried selecting a different device, unselecting this one and saving.
Then, just reverse that back to the original.
Who knows, it might work.
Also, I ran into this last night with a sensor. I changed the DTH to this,
You can then actually turn the dth on and off. It will show as an action. Then change it back and your null will be gone. (Hopefully)
Standard Java nomenclatureā¦deviceList.FindAll(deviceList.count(it) >1).unique()
Basically it gets the list and exports just the ones that are repeated. I take this list and then build in an error section telling you what the names areā¦pretty neat.
FindAll or findAll ?
I stand correctedā¦findAll
AskGoogle anyone. Go check out Googles IO keynote - new Google goodies on the way for Home Control.
Iām sure @MichaelS will knock something out by the weekend - seriously it raises the bar on natural voice interaction, letās home Amazon hear that and raise their game, that will only benefit AskAlexa.
Cheers.
My first time updating my installation. So if Iām understanding this correctly, update the code in reverse of install?