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

NewKaku (Plugin_004.c) transmission issue (switch/unit) #51

Closed
EdnEddy opened this issue Feb 17, 2022 · 1 comment
Closed

NewKaku (Plugin_004.c) transmission issue (switch/unit) #51

EdnEddy opened this issue Feb 17, 2022 · 1 comment

Comments

@EdnEddy
Copy link

EdnEddy commented Feb 17, 2022

Hi,

Big thanks @ all of you who made this possible.

There seems to be a switch/index problem with the transmission of NewKaku.

when I receive for example
20;89;NewKaku;ID=00f0ac76;SWITCH=1;CMD=ON;

I need to send the following to switch the plug
10;NewKaku;00f0ac76;0;ON;

1->0 , 2->1 , 3->2 and so on.

in Plugin_004.c I have changed
bitstream |= Switch_bitstream; // Complete transmitted address
to
bitstream |= Switch_bitstream-1;

it fixes the problem, but I do not know if there are side effects ;)

and since I have very poor programming skills,
I would be extremely happy about an integration of Kaku Transmit PLUGIN_TX_003
(tried commenting out #define PLUGIN_TX_003 and some other changes without success).

@cpainchaud
Copy link
Owner

Hello,

I believe #95 has fixed your issue.

Thank you

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

No branches or pull requests

2 participants