Skip to content
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

Taking control of the window shutters #78

Open
rodtrip2 opened this issue Jan 9, 2023 · 13 comments
Open

Taking control of the window shutters #78

rodtrip2 opened this issue Jan 9, 2023 · 13 comments
Labels

Comments

@rodtrip2
Copy link

rodtrip2 commented Jan 9, 2023

Hi, thanks again for your work, and your recent update for the external lights! :-)
I was wondering, as Somfy can open and shut the window shutters when you arm/disarm the alarm, would it be possible to directly control the shutters on HA, without having to trigger the alarm?

@Minims
Copy link
Owner

Minims commented Jan 9, 2023

Hi,
I have seen something like that in the code while checking lighting_state.

it seems i can add a switch for open / close shutter and open / close a gate

but can you tell me which device has learn the roller shutter code ? I think a have to make an action with this device

@rodtrip2
Copy link
Author

rodtrip2 commented Jan 9, 2023 via email

@Minims
Copy link
Owner

Minims commented Jan 11, 2023

Rebuild the dev add-on and try, there is some new switch under the Link device.

@rodtrip2
Copy link
Author

rodtrip2 commented Jan 11, 2023 via email

@Minims
Copy link
Owner

Minims commented Jan 14, 2023

Hello,

Update the dev add-on and tell me what you have in this logs :

2023-01-14 22:51:51,840 [INFO] [business:313] Scenarios Core for Maison => {'object': 'list', 'items': []}
2023-01-14 22:51:51,912 [INFO] [business:315] Scenarios for Maison => {'object': 'list', 'items': []}

Is there a switch in somfy app to open/close shutter whitout arm/disarm ?

@Minims Minims added the feature label Jan 15, 2023
@Minims
Copy link
Owner

Minims commented Jan 29, 2023

@rodtrip2 have you get time to check the last dev version ?

@rodtrip2
Copy link
Author

rodtrip2 commented Feb 6, 2023

Hi. Sorry for the delay.
There is no separate switch in the Somfy app for the shutters, unfortunately.
About the logs, what I have found is this :

2023-02-06 20:32:34,804 [INFO] [business:265] Scenarios Core for Maison Fontenelle => {'object': 'list', 'items': []}
2023-02-06 20:32:34,919 [INFO] [business:267] Scenarios for Maison Fontenelle => {'object': 'list', 'items': []}

No business 313 or 315 though. :-(

@Minims
Copy link
Owner

Minims commented Feb 6, 2023

Hum, I will check if I can found an other way to get this information.

@rodtrip2
Copy link
Author

Maybe I can send you the complete log in PM, you could get some clues from it.

@Minims
Copy link
Owner

Minims commented Feb 10, 2023

I can have a look: ******

@rodtrip2
Copy link
Author

I sent you the logs.
Although, they seem not to be complete. I don't know if is is a length limitation or if there is another way to get them.

@Minims
Copy link
Owner

Minims commented Feb 10, 2023

received, I can't find anything about cover. You can also restart the add-on and check debug log, in particular the ones about the "Site"

@Minims
Copy link
Owner

Minims commented Feb 10, 2025

Est que quelqu'un sachant utiliser mitmproxy ou postman pourrait trouver les call API fait lors de l'ouverture/fermeture des volets ?

https://mitmproxy.org/
https://learning.postman.com/docs/sending-requests/capturing-request-data/capturing-http-requests/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants