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

Feature requests: Elero roller shutter #35

Closed
CsL-007 opened this issue Sep 29, 2023 · 11 comments
Closed

Feature requests: Elero roller shutter #35

CsL-007 opened this issue Sep 29, 2023 · 11 comments
Assignees
Labels
enhancement New feature or request

Comments

@CsL-007
Copy link

CsL-007 commented Sep 29, 2023

Hi!

Like your work, maybe can you add Elero blind support too?
Here is what Elero calls looks like:
{"type":"ER","sid":"10","adr":"03","state":"1002","ts":{"m":"6516B9E4"}}

Thanks in advance!

@oelison
Copy link
Owner

oelison commented Sep 29, 2023

Hi @CsL-007
are you able to record the calls to the mediola gateway for up, down and stop? And if it is possible some percentage of opening or closing?
They might look like:
/cmd?XC_FNC=SendSC&type=ER&data=
What type of mediola gateway you have?

@oelison oelison self-assigned this Sep 29, 2023
@oelison oelison added the enhancement New feature or request label Sep 29, 2023
@CsL-007
Copy link
Author

CsL-007 commented Sep 30, 2023

My gateway is V6plus. Able to move blind up,down, stop with html command. Elero blinds have no percentage, just open or close status, but it never worked me. When use /cmd?XC_FNC=SendSC&type=ER&data=0101 get this response: {"XC_SUC": {}}.

@oelison
Copy link
Owner

oelison commented Sep 30, 2023

Could you give me the calls for up, down and stop? And could you execute http://ipaddress/command?XC_FNC=getstates and give me the result after each action?
And could you switch the mediola adapter into debug during this time and give me all messages?

@CsL-007
Copy link
Author

CsL-007 commented Oct 1, 2023

Here is what I'm able to get:

GET:/cmd?XC_FNC=SendSC&type=ER&data=0101&auth=************ -> HTTP:304
HTTP:304
GET:/cmd?XC_FNC=SendSC&type=ER&data=0100&auth=************ -> HTTP:304
GET:/ -> HTTP:304
GET:/cmd?XC_FNC=SendSC&type=ER&data=0102&auth=************ -> HTTP:304
GET:/ -> HTTP:304

Down: {"type":"ER","sid":"0E","adr":"01","state":"100B","ts":{"m":"65191B4C"}}
Up: {"type":"ER","sid":"0E","adr":"01","state":"1001","ts":{"m":"65191A15"}}
Middle: {"type":"ER","sid":"0E","adr":"01","state":"100D","ts":{"m":"65191B2E"}}

GET:/cmd?XC_FNC=getStates&at=47ca3b7de2be372bdee71fe63cabd65e -> HTTP:200
GET:/cmd?XC_FNC=SendSC&type=ER&data=0100&at=47ca3b7de2be372bdee71fe63cabd65e -> HTTP:200
GET:/cmd?XC_FNC=getStates&at=47ca3b7de2be372bdee71fe63cabd65e -> HTTP:200
GET:/cmd?XC_FNC=SendSC&type=ER&data=0102&at=47ca3b7de2be372bdee71fe63cabd65e -> HTTP:200
GET:/cmd?XC_FNC=getStates&at=47ca3b7de2be372bdee71fe63cabd65e -> HTTP:200
GET:/cmd?XC_FNC=SendSC&type=ER&data=0100&at=47ca3b7de2be372bdee71fe63cabd65e -> HTTP:304
GET:/cmd?XC_FNC=getStates&at=47ca3b7de2be372bdee71fe63cabd65e -> HTTP:200
GET:/cmd?XC_FNC=SendSC&type=ER&data=0101&at=47ca3b7de2be372bdee71fe63cabd65e -> HTTP:200
GET:/cmd?XC_FNC=getStates&at=47ca3b7de2be372bdee71fe63cabd65e -> HTTP:200

oelison added a commit that referenced this issue Oct 1, 2023
* elero with ER added

Feature request #35
@oelison
Copy link
Owner

oelison commented Oct 1, 2023

@CsL-007 Could you try out the https://github.com/oelison/ioBroker.mediola-gateway/tree/elero_roller_shutter
Simply activate the expert mode. Go to adapter. Click the cat from github. And in userdefined use the given link.
If there are problems, you could answer here or for faster communication send a personal mail to the mail address in the readme.

@CsL-007
Copy link
Author

CsL-007 commented Oct 3, 2023

No blind find, get this error: mediola device rejected the request: [object Object]
Maybe auth not work?

@oelison
Copy link
Owner

oelison commented Oct 3, 2023

Could you execute http://ipaddress/command?XC_FNC=getstates in a webbrowser and give me the result?
Maybe you need to add a user abcd with pass efgh and try this: http://ipaddress/command?XC_USER=abcd&CX_PASS=efgh&XC_FNC=getstates
abcd and efgh you could replace as you need.
The result must be something with success.

@CsL-007
Copy link
Author

CsL-007 commented Oct 3, 2023

command?XC_FNC=getstates&auth=mypassword work only, Mediola api document write this parameter not the user and password combo

@oelison
Copy link
Owner

oelison commented Oct 8, 2023

I will add this as an option, too.

oelison added a commit that referenced this issue Oct 17, 2023
* elero with ER added
* AIO GW V5+ and all start with AIO GW added

Feature request #35
oelison added a commit that referenced this issue Oct 17, 2023
* elero with ER added
* AIO GW V5+ and all start with AIO GW added

Feature request #35
oelison added a commit that referenced this issue Oct 17, 2023
* elero with ER added
* AIO GW V5+ and all start with AIO GW added

Feature request #35
oelison added a commit that referenced this issue Oct 17, 2023
elero roller shutter
fixes feature request #35
@oelison
Copy link
Owner

oelison commented Oct 17, 2023

https://github.com/oelison/ioBroker.mediola-gateway/tree/authParam
Here I have added the auth key. Make sure, that the password and at least the name is empty.

@oelison
Copy link
Owner

oelison commented Jan 21, 2024

No further request open, maybe solved.

@oelison oelison closed this as completed Jan 21, 2024
oelison added a commit that referenced this issue Jan 21, 2024
-   RT (Somfy) system added (Thanks to Falk)
-   DY (Nobily) system added (Thanks to BlindlyBlinds)
-   ER (Elero) system added (Thanks to CsL-007 [#35](#35))
-   HM (HomeMatic) read added (Thanks to drapo)
-   command and cmd calls possible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants