Error using script for Bond devices #67
Replies: 1 comment 1 reply
-
Hi @webharvest, there are a few problems with your config, per Bond API docs.
See below for an adapted version for your case: {
"accessory": "BlindsHTTP",
"up_url": "http://192.168.3.65/v2/devices/1a1a1111/actions/Open",
"down_url": "http://192.168.3.65/v2/devices/1a1a1111/actions/Close",
"stop_url": "http://192.168.3.65/v2/devices/1a1a1111/actions/Hold",
"http_options": {
"body": "{}",
"headers": {
"BOND-Token": "8635a2de65216c44"
},
"method": "PUT"
},
"motion_time": 11000,
"name": "New Shade #3",
"response_lag": 1000,
"success_codes": [ 204 ]
}, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m using the Bond bridge to control my shades so I tired using the simple Up, Down and Hold urls. I changed the IP address, device I’d and Bond token but I get no response. In my log files I get the following error
End Move up to 100% (target 100%)
2/3/2022, 8:18:27 PM [New Shade #3] Requested Move down (to 0%)
2/3/2022, 8:18:27 PM [New Shade #3] Error sending request (HTTP status code 204): null
2/3/2022, 8:18:27 PM [New Shade #3] 1 / 5 attempts failed after 53 ms
2/3/2022, 8:18:27 PM [New Shade #3] Body:
2/3/2022, 8:18:27 PM [New Shade #3] Move request sent (53 ms), waiting 10s (+ 0s response
I’m wondering if Bonds API has changed?
Beta Was this translation helpful? Give feedback.
All reactions