RFLink32-For-Sonoff-RF-Bridge
RFLink32-For-Sonoff-RF-Bridge copied to clipboard
CMD UNKNOWN
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;
I get the same error.
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;
@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.
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.
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 https://github.com/cpainchaud/RFLink32/issues/51#issue-1141688215