-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New config parameters to allow repeating the same request multiple times #85
base: master
Are you sure you want to change the base?
Conversation
hey! thanks for this PR. While I see the value of something like this, the proper implementation gets a bit complicated because:
Are you getting a non-2XX response from your API endpoint or does it just not work sometimes? Certain devices have the ability to repeat the Rf signal multiple times, but not sure if that is your case. For your specific case though, why not use a command-line script to customize the exact behavior you're looking for? https://github.com/dxdc/homebridge-blinds?tab=readme-ov-file#triggering-command-line-scripts |
hi!
I am using Bond hub to transmit actual signals and researched some options there as well.
At the end of the day, this was the only solution that ended up working for me: in my (albeit limited) testing, sending 2 commands with 500ms delay for the specific blinds group solved the issue. |
You're using Bond? 😃 There is a much, much easier way. Simply change the For instance: curl -iH "Bond-Token: xxxxxxxxxxxxxxxx" http://192.168.50.220/v2/devices/d90ffd28/commands/08eb5024/signal -X PATCH -d '{"reps": 5}' You can find more details on this on the Bond forums. |
Yes, the actions use the commands, I believe? I use it this way and it works fine. Try increasing your reps as needed. One issue you may have is "grouping" blinds.... and seeing different behavior. E.g., it works fine one-at-a-time, but if you operate 3 at once you'll see this behavior. That is just signal interference, so try increasing the reps. |
This also indicates it's a reception issue |
@dxdc you went down the exact same path as I did ;)
I might be missing something brutally obvious but after spending a day on experiments (and setting 3 reps just in case) I ended up going up the chain (which worked). |
I hear you, getting this aligned perfectly can be tricky. I would reach out to Bond support for help, they have been very helpful. Also, reps = 3 sounds low. I would try something more like 10. Also, play with the positioning of your Bond and ensure nothing is blocking it - every try a different location. That may help a lot. I appreciate what you've done here, but I think with the number of problems that are introduced (as discussed), I don't think I can merge this until those are addressed. |
Based on my own need but figured others might benefit from this.
Specific use case:
I have a group of 5 somfy blinds, one of them being a newer generation motor. Ever since that new motor was installed, every once in a while it won't go up or down unless I press the button multiple times.
This new setting allows to repeat up/down/position command multiple times ensuring it will work every time.