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

CMD UNKNOWN #1

Open
ghost opened this issue Jan 7, 2022 · 5 comments
Open

CMD UNKNOWN #1

ghost opened this issue Jan 7, 2022 · 5 comments

Comments

@ghost
Copy link

ghost commented Jan 7, 2022

Using rfbridge v2.2 with direct hardware mod as described in the readme.

Incoming signals seem to be decoded successfully but I am unable to send any RF signals.
Both from MQTT as well as from homeassistant it will result in a "CMD UNKNOWN" as response.

I have confirmed sending codes works via RCSwitch arduino example.

I have confirmed that also example commands from the RFLink documentation will not work and result in the same error.

Example MQTT commands:


[user@localmachine rflink32]$ mosquitto_pub -h 10.0.0.123 -t /ESP00/cmd -m "10;AB400D;000036;1;ON;" -u user -P passwd
[user@localmachine rflink32]$ mosquitto_pub -h 10.0.0.123 -t /ESP00/cmd -m "10;Conrad;ff0607;1;OFF;" -u user -P passwd
[user@localmachine rflink32]$ mosquitto_pub -h 10.0.0.123 -t /ESP00/cmd -m "10;Kaku;00004d;1;OFF;" -u user -P passwd

Example serial output:


Message arrived [MQTT] 10;AB400D;000036;1;ON;
20;59;CMD UNKNOWN;
Message arrived [MQTT] 10;Conrad;ff0607;1;OFF;
20;5A;CMD UNKNOWN;
Message arrived [MQTT] 10;Kaku;00004d;1;OFF;
20;5B;CMD UNKNOWN;

Example MQTT output:


20;59;CMD UNKNOWN;

20;5A;CMD UNKNOWN;

20;5B;CMD UNKNOWN;
@omygolly
Copy link

I get the same error.

@omygolly
Copy link

You are using the same channel for these three (1). Are you sure they are correct? @mashuptwice (https://github.com/mashuptwice)

Message arrived [MQTT] 10;AB400D;000036;1;ON;
20;59;CMD UNKNOWN;
Message arrived [MQTT] 10;Conrad;ff0607;1;OFF;
20;5A;CMD UNKNOWN;
Message arrived [MQTT] 10;Kaku;00004d;1;OFF;
20;5B;CMD UNKNOWN;

@ghost
Copy link
Author

ghost commented Feb 15, 2022

@omygolly

See my initial post:

I have confirmed that also example commands from the RFLink documentation will not work and result in the same error.

I don't use any of these devices. The point of the commands was to show that regardless of the used protocol the error remains the same.

@omygolly
Copy link

I get the same response from running on a ESP32 (https://github.com/cpainchaud/RFLink32) so I'm starting to think the whole transmission-part is disabled on RFLink32. 10;PING; 10;REBOOT; and 10;VERSION; works but none of the commands for transmission.

@EdnEddy
Copy link

EdnEddy commented Feb 17, 2022

Hi,

Big thanks @schmurtzm , cpainchaud , Couin3 ... who made this possible.

With some trial and error I found out that of the well received and decoded signals
only some can be transmitted, which are defined in _Plugin_Config_01.h

//#define PLUGIN_TX_003           // Kaku : Klik-Aan-Klik-Uit (with code wheel) aka ARC
#define PLUGIN_TX_004 // NewKAKU : Klik-Aan-Klik-Uit with automatic coding aka Intertechno.
// #define PLUGIN_TX_005           // Eurodomest
// #define PLUGIN_TX_006           // Blyss
// #define PLUGIN_TX_007           // Conrad RSL2
// #define PLUGIN_TX_008           // Kambrook
// #define PLUGIN_TX_009           // X10 RF
// #define PLUGIN_TX_010		   // TRC02 RGB switch
// #define PLUGIN_TX_011           // Home Confort
// #define PLUGIN_TX_012           // Flamingo FA500R  (11)
// #define PLUGIN_TX_013           // Powerfix/Quigg
// #define PLUGIN_TX_015           // Home Easy EU     (14)
#define PLUGIN_TX_017           // RTS
#define PLUGIN_TX_016           // Silvercrest
...

as you have mentioned, for example
10;Kaku;00004d;1;ON;
does not work "20;3A;CMD UNKNOWN;"
but
10;NewKaku;00f0ac76;1;ON;
is sent and shows blinking blue LED and "20;3B;OK;"

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).

There also seems to be an index/unit issue when transmitting NewKaku,
I mentioned here cpainchaud/RFLink32#51 (comment)

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

No branches or pull requests

2 participants