Like you will see here, I’m new at the HomeAssistant community So I will need some help !!!
Here is my problem:
I use 2 RF remotes to control my blackout’s (bedroom and living room). I have a Broadlink RMPro, and I already have the RF codes !!
RF Codes I Have: Living Room
Open
Pause
Close
Bed Room
Open
Pause
Close
Every time I want to change the position with the remote, I have to press Open and then Pause . Unless I want to fully close/open (In that case I don’t need to press Pause)
Here is what I wanted to do:
I wanted to have something like this x2 (living room, bedroom)
I could choose the percentage I want (from 0 to 100%) (my blinds take 50 seconds to open and 49 seconds to close)
Every time I changed the position, I wanted them to RESET, by this I mean:
- Send Close RF CODE to close, WAIT 55 Seconds, and then SEND open button to open the desired position.
why reset?
I need them to RESET because sometimes I use my physical remote control, and sometimes I use my HA/Homekit.
The question is : Is this possible?
I’m new here and this was probably the nearest solution that I found compared to what I want ! The problem is that I don’t know how to “code”… Honestly I have no idea how to code
I manage to integrate it with Home Assistant, the only problem is that for now I can only OPEN or CLOSE !! By this I mean I can’t open it on 60% (for example).
I would like to do that (based on opening time and closing time)
No, not alone. That’s the problem. There are so many people on this forum topics don’t stay in the Latest list very long before they disappear into the abyss.
So if I understand, you want something that will send the close command, wait 55 seconds, then send the open command, and wait a period long enough to get to the desired open position before sending the stop command. Is that right? How about something along these lines:
It might need a bit of refinement depending on how quickly the automation reacts to the slider movement. It’s possible it might start, then the slider moves a bit more, then the automation runs again and cancels the script and restarts it, then… If you use any of this and you get into that situation, let me know and we can figure out someway of dealing with that.
Hi, I wasn’t able to get a slider to work with HASS, but I was able to do it with Micropython running on an ESP-32. Here’s the slider that is almost all Javascript:
Hey, sorry for taking so long to get back to you. Did you get it working?
To answer your question, no, you can’t put all of that into script.yaml (assuming you have script: !include script.yaml in configuration.yaml.) You can put the open_blinds script in there, but remove the script: line and “un-indent” everything else two spaces. The configuration of input_number.blackout_bedroom and the automation needs to go into the appropriate places depending on how you have your configuration organized. If you still need help with this, let me know.