RainerStaude / hass-becker-component-plus-pybecker

A native home assistant component to control becker RF shutters with a Becker Centronic USB Stick.
MIT License
47 stars 4 forks source link

Stick does not receive from remote control #14

Closed FrankHdf closed 1 year ago

FrankHdf commented 1 year ago

Hello, I have connected my Becker CentronicPlus USB stick to the HA raspberry. The device path is "/dev/serial/by-id/usb-Becker-Antriebe_GmbH_CentronicPlus_Stick-if00". I also enabled debug logging but when I press buttons on the original remote EC541-II nothing is logged. How can I proceed to locate the problem? Any help would be greatly appreciated. Thanks!

RainerStaude commented 1 year ago

Sorry, but Centronic Plus is not supported. See this discussion here: https://github.com/ole1986/centronic-py/discussions/21 And see this discussion here: https://community.home-assistant.io/t/integrating-becker-motors-in-to-hassio/151705

FrankHdf commented 1 year ago

Oh, I didn't mention this. Thanks for the clarification, I will try to get a non Plus USB stick. Thanks!

RainerStaude commented 1 year ago

But be careful. There is also a repeater available which will not work as well.

FrankHdf commented 1 year ago

I hope this is the right one: https://teso-shop.de/hersteller/becker-antriebe-gmbh/676/usb-funk-stick-centronic-fuer-cc41

Will let you know when it arrives.

FrankHdf commented 1 year ago

This was the right stick, it works great now:-) Thanks for this great integration!!

One more question: I have configured one cover: covers: wohnzimmer_balkon: friendly_name: "Jalousie Wohnzimmer Balkon" channel: "1" remote_id: "77CC8:0" travelling_time_up: 27 travelling_time_down: 25

Works great. But when I use the original remote control for the cover this is not recognized by the cover entity. I.e. I close the cover using Home Assistant then the entity state is closed. Now I open the cover using the remote control. The state of the cover entity remains closed. In the logs I see the command issued by the remote control:

2022-12-14 14:50:25.892 DEBUG (Thread-3) [custom_components.becker.pybecker.becker_helper] Received packet: unit_id: 77CC8, channel: 0, command: UP, argument: 0, packet: b'\x020000000002010B000000000077CC802100000020F1\x03' 2022-12-14 14:50:25.893 DEBUG (Thread-3) [custom_components.becker.rf_device] Received packet for dispatcher

So I expected after 27 seconds the state of the cover entity would get changed. Is this wrong or did I misconfigure something?

RainerStaude commented 1 year ago

Looks like the command was received properly. Have you restarted HA after adding the remote_id to your configuration.yaml?

FrankHdf commented 1 year ago

Yes, several times.

FrankHdf commented 1 year ago

Sorry, restarted again, now it works. Thanks a lot for this nice integration, I'm really happy to be able to control my covers via HA :-)