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

Brennenstuhl RC CE1 4003: Swap Lines #76

Open
Griffsano opened this issue Dec 13, 2021 · 0 comments · May be fixed by #77
Open

Brennenstuhl RC CE1 4003: Swap Lines #76

Griffsano opened this issue Dec 13, 2021 · 0 comments · May be fixed by #77

Comments

@Griffsano
Copy link

Griffsano commented Dec 13, 2021

I'm controlling Brennenstuhl RC CE1 4003 power plugs with 433 Utils running on a Raspberry Pi.
To get the code working for this specific plugs, I had to change the order of these two lines in codesend.cpp:

if (protocol != 0) mySwitch.setProtocol(protocol);
if (pulseLength != 0) mySwitch.setPulseLength(pulseLength);

I'm not sure exactly why this has to be done, but I could not get the Brennenstuhl power plugs working without the change.
I made the changes after reading this thread, which documents some troubleshooting with the Brennenstuhl plugs (unfortunately in German): https://forum.arduino.cc/index.php?topic=513836.0

The adapted code is running without problems for years now. I just saw my notes from back then and decided to open an issue and pull request. Thank you for this awesome library, it makes home automation a lot easier :D

@Griffsano Griffsano linked a pull request Dec 13, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant