-
-
Notifications
You must be signed in to change notification settings - Fork 29.1k
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
Tilt only Somfy blinds via BOND entities states are unavailable #59396
Comments
bond documentation |
Hey there @bdraco, @prystupa, @joshs85, mind taking a look at this issue as it has been labeled with an integration ( |
Have you tried deleting and reading the device to the bond and then reloading the integration ? |
@bdraco I tried few times. in one of the blinds pressing the white rectangle (My) is doing what it supposed to do. but pressing UP/DOWN returns the error all the time. The other blind My is not doing anything, UP/DOWN still get the error I mentioned. |
Are the somfy shades tilt only? Can you post a screenshot of the shade in the bond app? |
That explains it. The integration doesn't have support for tilt only blinds. It assumes all blinds are open/close |
@bdraco ohh, anything I can do to have tilt support ? |
I couldn't find anything in the bond api docs on how this so I'm not sure its possible to support, if the docs are missing, or the command to tilt is called something that wasn't obvious http://docs-local.appbond.com/#section/Features/Open You might try asking here |
@bdraco thanks will ask there |
@bdraco how come the pressing of open/close using BOND APP tilt it up/down? isn't HA immitate the command of the BOND APP ? so theoretically it should work the same? am I missing something ? thanks |
It is sending the You could play around with the api http://docs-local.appbond.com/#section/Getting-Started/Get-Device-Information and see if you can discover what the bond device is expecting to get. |
@bdraco nice, I manage to get from the Somfy device: actions: "Hold","TiltClose","TiltOpen","Pair","Preset","Stop" |
It would still be good to ask on the bond forums since it looks like it is indeed missing from the api docs. (unless I am blind) |
@bdraco ;-) |
Also if you can get a dump of the current state, we might be able to figure out enough of what is needed to support it
…Sent from my iPhone
On Nov 9, 2021, at 7:48 PM, Sagebrush ***@***.***> wrote:
It is sending the Open command and getting a 404 Not found from the bond device. I assume its called something else since Open isn't working.
You could play around with the api http://docs-local.appbond.com/#section/Getting-Started/Get-Device-Information and see if you can discover what the bond device is expecting to get.
@bdraco nice, I manage to get from the Somfy device: actions: "Hold","TiltClose","TiltOpen","Pair","Preset","Stop"
I will read how using curl command I can use it
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@bdraco it is possible to control the Tilt :-) Hold is like "My" Button |
Great. We do need a way to detect if it's available so we need a dump of the current state as well |
@bdraco is it a curl command of the state ? |
Yes. The url to get the state should be in the api docs.
…Sent from my iPhone
On Nov 10, 2021, at 9:09 AM, Sagebrush ***@***.***> wrote:
@bdraco is it a curl command of the state ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
… Sent from my iPhone
On Nov 10, 2021, at 9:36 AM, J. Nick Koston ***@***.***> wrote:
Yes. The url to get the state should be in the api docs.
Sent from my iPhone
>> On Nov 10, 2021, at 9:09 AM, Sagebrush ***@***.***> wrote:
>>
>
> @bdraco is it a curl command of the state ?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub, or unsubscribe.
|
|
Checkout the PR, and rsync the bond component into /config/custom_components/bond/, then restart.
This will override the built-in bond integration with the one in the pull request.
When the release is done, delete /config/custom_components/bond/ and update
… On Nov 10, 2021, at 11:49 AM, Sagebrush ***@***.***> wrote:
@bdraco <https://github.com/bdraco> what is the easiest way for me to control the blinds currently till formal release ?
I added shell_command
shell_command:
cmd_shachar_s_office_left_blind_somfy_tilt_open: !secret shachar_s_office_left_blind_somfy_tilt_open
cmd_shachar_s_office_left_blind_somfy_tilt_close: !secret shachar_s_office_left_blind_somfy_tilt_close
cmd_shachar_s_office_left_blind_somfy_tilt_hold: !secret shachar_s_office_left_blind_somfy_tilt_hold
in secrets:
shachar_s_office_left_blind_somfy_tilt_open: "/usr/bin/curl -H “BOND-Token: TOKEN” -X PUT -i http://BOND_IP/v2/devices/BLIND_ID/actions/TiltOpen -d {}"
shachar_s_office_left_blind_somfy_tilt_close: "/usr/bin/curl -H “BOND-Token: TOKEN” -X PUT -i http://BOND_IP/v2/devices/BLIND_ID/actions/TiltClose -d {}"
shachar_s_office_left_blind_somfy_tilt_hold: "/usr/bin/curl -H “BOND-Token: TOKEN” -X PUT -i http://BOND_IP/v2/devices/BLIND_ID/actions/Hold -d {}"
I try to call the shell command from Developer Tools->Services, but nothing...do I miss something ? Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#59396 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAFB7CE3JM2OYX2YVP4NP23ULKWAZANCNFSM5HUH2NSA>.
|
found this: so currently 11 means only open/close/stop, I will change to 240 for tilt and will try |
@bdraco Do I need to copy only the new changes files or the entire files (even those who are not changed) ? Thanks |
You need to copy the entire bond directory |
@bdraco I tried with new files but still device become unavailable. why a device would become unavailable? is it after reading the state ? |
2021-11-11 06:57:11 WARNING (MainThread) [homeassistant.components.bond.entity] Entity None has become unavailable @bdraco I still get device unavailable, attached the log. |
It looks like the bond hub is failing to return the state of the device. Which firmware version is it running? |
v2.28.0 |
Thats pretty new. I have no idea why the Maybe check to see if its failing via curl as well? |
I'm not sure what is normal for a tilt only one since I have nothing to compare it to given the api isn't documented |
do you parse the state to see that it is valid? I mean in other entities like fan/light and so on ? |
Yes. But valid just means its valid json in this case. The exception you posted implies that its not even responding and instead timing out. |
@bdraco tested the PR and it working great, thanks a lot !!! |
The problem
I added recently Somfy blinds via BOND. I have two blinds and entities were added.
cover.xxx_office_left_blind
whenever I press UP/DOWN button I get this error:
Failed to call service cover/open_cover. 404, message='Not Found', url=URL("http://BOND_IP_ADDR/v2/devices/BOND_CODE/actions/Open)
for this BOND entity I have few FAN connected that are working smoothly...
What version of Home Assistant Core has the issue?
core-2021.11.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Somfy Bond
Link to integration documentation on our website
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: