This works, but it only increases by a single level and is obviously not that useful.
Has anyone done any work to say increase by 5 or 10 levels with a single command input?
If that itself is possible, the end result I would like to accomplish is using a number variable in the Google Assistant command at IFFF to send the number variable increase back to HASS via Maker.
Ok so I came across a post by Marcus_Brannon showing how he repeated the volume command with a script sequence.
I used it in two ways with the scripts listed below. The first method seems to send the repeated commands a tiny bit faster than the second, but both are dirt slow in comparison to using the physical harmony remote. Is there any way to increase the speed that these commands are sent to the hub?
The next problem is that I cant seem to get it to work over the Maker channel in IFTTT.
I currently have the second method listed below in use and this is what I have set in the maker settings. Can someone spot what Im doing wrong?
Google Assistant trigger: turn $ the tv volume by #
PS - If I run this from Services Tool in HASS it works as expected. So I know the scripts work.
Domain - script
Service - tvup3
Json - { “script”: “tvup3” }
1 The first is a simple always increase/decrease by 5 levels script.
Alright so I have removed the JSON entry in the Maker, as it seems I dont need it.
However there is something weird happening with Google Assistant Variables.
Google Assistant trigger phrase: OK Google, turn $ the tv by # (Ok Google, turn down the tv by 3)
Here is what I get in the logs.
Unable to find service script/tvdown the3
It seems that the word variable in Google Assistant is acting crazy and grabbing not just the first word (up/down) but the word that directly follows (the) it as well, and passes it along to the vars in the URL.
Has anyone run into this?
In Home Assitant v0.45 dev as of a few days ago baloob has added parameters to the remote.send-command to allow repeated commands to be sent as well as a delay between sends. Just successfully turned up and down the volume on my receiver with Amazon Echo using the following simple srcipt:
I’m guessing one could also stick a template in there to support parameterized volume adjustment amount but 5 seems like a useful amount for my system.
Why don’t you post your config? What I pasted I did too quickly so the spaces were all stripped. Make sure your indentation is right. What version of HA are you using?
Hi, i am had the same issue. Im trying to reduce the delay between several commands.
This is what im currently using:
{
“command”: “FanSpeedUp”,
“device”: “37767707”,
“entity_id”: “remote.living_room”,
"delay_secs: “0.25”,
“num_repeats”: “5”
}
This works fine
However, same problem as before… hass.io will not run the script several times in short succession as it says Script is already running. Need to find a work around.
Hi @AlmostSerious. Sorry for raising this old topic. But I’m facing exactly this issue. The script causes errors when using i.e. arrow down or arrow up in short succession. Did you find a solution meanwhile?