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

Shutters not working with USB300 (ESP3) #96

Open
grimmpp opened this issue Apr 19, 2024 · 11 comments
Open

Shutters not working with USB300 (ESP3) #96

grimmpp opened this issue Apr 19, 2024 · 11 comments
Labels
bug Something isn't working

Comments

@grimmpp
Copy link
Owner

grimmpp commented Apr 19, 2024

Sent by tden159 in HA Community.

after the release of v1.4. i tried out your solution with an USB300 as my gateway. I was able to integrate all my lights without any problems. However with my cover/shutter integration i have a problem which i cant solve on my own.

Logs:

2024-04-14 08:06:54.961 ERROR (Thread-5) [enocean.communicators.SerialCommunicator] Received ESP3 response with with return code WRONG_PARAM (3) - 0x02 ['0x3'] [] OrderedDict() 
2024-04-14 08:06:56.771 ERROR (Thread-5) [enocean.communicators.SerialCommunicator] Received ESP3 response with with return code WRONG_PARAM (3) - 0x02 ['0x3'] [] OrderedDict() 
2024-04-14 08:06:58.484 ERROR (Thread-5) [enocean.communicators.SerialCommunicator] Received ESP3 response with with return code WRONG_PARAM (3) - 0x02 ['0x3'] [] OrderedDict() 

My setup:
HA OS → USB300 → FAM14 → FSB14
Eltako v1.4.2

My config (abstract):

eltako:
  gateway:
  - id: 1
    base_id: FF-88-03-00
    device_type: enocean-usb300 
    devices: 

        light:
        - id: FF-8F-AB-01
          name: F4SR14_LED FF-8F-AB-01 (1/4)
          eep: M5-38-08
          sender: 
            id: FF-88-03-01
            eep: A5-38-08

        cover:
        - id: FF-8F-AB-96
          name: FSB14 FF-8F-AB-96 (1/2)
          eep: G5-3F-7F
          sender: 
            id: FF-88-03-40
            eep: H5-3F-7F
          device_class: shutter
          time_closes: 25
          time_opens: 25

Sender ID is in the PCT14 with function 31.

I tried to understand the Error Message, but couldnt figure if the problem is based on my config or some other problem with the integration.

97795e49bb280d7187afa36bcd357c2a9cbce2f7

@grimmpp grimmpp added the bug Something isn't working label Apr 19, 2024
@schlegel
Copy link

I have exactly the same error "Received ESP3 response with return code WRONG_PARAM (3) - 0x02 ['0x3'] [] OrderedDict()".

Can I help somehow with more information?

@grimmpp
Copy link
Owner Author

grimmpp commented Jul 11, 2024

Can you let me know when it happens and which gateway and version of the integration are you using?

@schlegel
Copy link

I'm using a usb300 gateway and the feature-branch version of the integration. It happens when I click a button (up or down) on a cover.

@schlegel
Copy link

Screenshot 2024-07-11 at 23 43 10 Screenshot 2024-07-11 at 23 43 16

@schlegel
Copy link

I kinda found the problem. I set the base id to FF-80-80-00 (like shown in https://github.com/grimmpp/home-assistant-eltako/tree/main/docs/gateways). After some crazy debug with logging, I found out that I have a total different base id. Setting the correct base id fixed everything. Do you know a better way how to get the base id of the usb stick? Might be a good addition to the documentation.

Screenshot 2024-07-13 at 01 02 48

@grimmpp
Copy link
Owner Author

grimmpp commented Jul 14, 2024

There are commands and tools to query the base_id via serial protocol.

The easiest way I know is to use eo_man. Just plugin ESP300 and it should work similar to FAM14 like described in here.

@grimmpp
Copy link
Owner Author

grimmpp commented Jul 17, 2024

I've looked into the code but I don't see a relation between base_id and the cover command. Did you also use a sender id which was not based on the base_id?

@schlegel
Copy link

yes, both base_id and therefore also sender_id were not aligned with my esp300. as the bus can query the base_id of the stick, maybe you know a way to show it in home assistant. could help some people

@grimmpp
Copy link
Owner Author

grimmpp commented Jul 18, 2024 via email

@schlegel
Copy link

maybe a warning at startup if the base ids are not matching? anyways, it was not a bug, but only a misuse from my side. i hope it‘s the same for the original author of this bug

@grimmpp
Copy link
Owner Author

grimmpp commented Jul 29, 2024

I've tried that earlier. At this time the com-lib did not provided it.
I've put in onto my backlog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants