Page 1 of 1

Hesunse 433MHz with "Eurodomest" (???) protocol.

Posted: 27 Feb 2018, 21:30
by Aliki
Hello everybody.

Recently I bought such a device for home automation (Domoticz):
https://www.aliexpress.com/item/Hesunse ... 317.EAtdkG
Very high-quality device (switching power supply), good range when working from the remote. Very well manufactured (plastic and board).

But this device does not work (does not want to work) with RFLink. (((
for tests I used:
Arduino Mega 2560 and Qiachip WL101 + WL102
RLink Firmware Version: 1.1 Revision: 48

20;00;Nodo RadioFrequencyLink - RFLink Gateway V1.1 - R48;
10;version;
20;01;VER=1.1;REV=48;BUILD=04;
10;status;
20;02;STATUS;setRF433=ON;setNodoNRF=OFF;setMilight=OFF;setLivingColors=OFF;setAnsluta=OFF;setGPIO=OFF;setBLE=OFF;setMysensors=OFF;
20;03;Eurodomest;ID=04ff56;SWITCH=06;CMD=ALLOFF; --channel A ON
20;04;Eurodomest;ID=04ff56;SWITCH=06;CMD=ALLOFF; --channel A OFF
20;05;Eurodomest;ID=04ff56;SWITCH=07;CMD=ALLOFF; --channel B ON
20;06;Eurodomest;ID=04ff56;SWITCH=07;CMD=ALLOFF; --channel B OFF
20;07;Eurodomest;ID=04ff56;SWITCH=05;CMD=ALLON; -- ALL channels ON
20;08;Eurodomest;ID=04ff56;SWITCH=05;CMD=ALLON; -- ALL channels OFF

10;Eurodomest;04ff56;06;ALLOFF; -- channal ON on ~1 sec. and OFF
20;09;OK;
10;Eurodomest;04ff56;6;ALLOFF; -- no reaction
20;0A;OK;
10;Eurodomest;04ff56;06;ALLOFF; -- ON after ~10 sec
20;0B;OK;
10;Eurodomest;04ff56;06;ALLOFF; -- no reaction
20;0C;OK;
10;Eurodomest;04ff56;07;ALLOFF; -- no reaction
20;0E;OK;
10;Eurodomest;04ff56;07;ALLOFF; -- no reaction
20;0F;OK;
Most commands do not react.

DEBUG - ON :
20;09;DEBUG;Pulses=50;Pulses(uSec)=900,120,240,690,750,150,750,150,180,720,180,720,180,720,180,720,180,720,180,720,180,720,180,720,720,180,150,750,720,180,150,750,720,210,150,750,180,750,720,180,150,750,150,750,720,180,720,210,150,6990;
20;0A;Eurodomest;ID=04ff56;SWITCH=06;CMD=ALLOFF;

20;10;DEBUG;Pulses=50;Pulses(uSec)=840,90,240,630,720,150,720,150,180,720,180,720,210,720,180,720,180,720,180,720,180,720,180,720,750,180,180,750,720,180,150,750,720,180,150,750,180,720,720,180,150,750,150,750,180,720,720,180,180,6990;
20;11;Eurodomest;ID=04ff56;SWITCH=07;CMD=ALLOFF;

20;7F;DEBUG;Pulses=50;Pulses(uSec)=900,150,210,690,750,180,720,180,150,750,180,720,180,720,180,720,180,720,180,720,180,720,180,720,720,180,150,750,720,180,150,750,720,210,150,750,180,750,720,180,180,750,180,750,180,720,720,180,180,6990;
20;80;Eurodomest;ID=04ff56;SWITCH=07;CMD=ALLOFF;

20;36;DEBUG;Pulses=50;Pulses(uSec)=870,90,240,660,780,150,750,150,180,720,180,720,180,720,180,720,180,720,180,720,180,720,180,720,750,180,180,750,720,180,180,750,720,180,150,750,180,720,720,210,150,750,720,180,150,750,180,750,180,6990;
20;37;Eurodomest;ID=04ff56;SWITCH=05;CMD=ALLON;

20;39;DEBUG;Pulses=50;Pulses(uSec)=900,150,210,690,750,180,720,180,180,750,180,720,180,720,180,720,180,720,180,720,180,720,180,720,720,180,150,750,720,180,150,750,720,210,150,750,180,750,720,210,150,750,720,210,150,750,150,750,180,6990;
20;3A;Eurodomest;ID=04ff56;SWITCH=05;CMD=ALLON;

I began to try the RFlink 'RF Signal Learning' mechanism. http://www.rflink.nl/blog2/faq#RFFind :

10;rffind=on;
20;03;RFFIND=ON;
-- press button channel A to ON (receiver received two commands):
20;04;RFFind;x;B00A93;7;1A;1;
20;05;RFFind;x;B00A93;7;1A;1;
-- press button channel A to OFF (receiver received two commands):
20;06;RFFind;x;B00A93;7;1A;1;
20;07;RFFind;x;B00A93;7;1B;1;

-- press button channel B to ON (receiver received two commands):
20;10;RFFind;x;B00A91;7;1B;1;
20;11;RFFind;x;B00A91;7;1B;1;
-- press button channel B to OFF (receiver received two commands):
20;12;RFFind;x;B00A91;7;1A;1;
20;13;RFFind;x;B00A91;7;1B;1;

-- press button channel ALL ON to ON (receiver received two commands):
20;0C;RFFind;x;B00A94;7;1B;1;
20;0D;RFFind;x;B00A94;7;1B;1;
-- press button channel ALL ON to ON (receiver received two commands):
20;0E;RFFind;x;B00A94;7;1A;1;
20;0F;RFFind;x;B00A94;7;1B;1;

10;RFFind;0;B00A93;7;1A;1;
RF Record: 0 ID: B00A93 S: 07 L: 1A T: 01 - ON
10;RFFind;1;B00A93;7;1B;1;
RF Record: 0 ID: B00A93 S: 07 L: 1A T: 01 - ON
RF Record: 1 ID: B00A93 S: 07 L: 1B T: 01 - OFF
.....
10;rfshow;
RF Record: 0 ID: B00A93 S: 07 L: 1A T: 01 - ON
RF Record: 1 ID: B00A93 S: 07 L: 1B T: 01 - OFF
RF Record: 2 ID: B00A91 S: 07 L: 1B T: 01 - ON
RF Record: 3 ID: B00A91 S: 07 L: 1A T: 01 - OFF
RF Record: 4 ID: B00A94 S: 07 L: 1B T: 01 - ON
RF Record: 5 ID: B00A94 S: 07 L: 1A T: 01 - OFF
10;rffind=off;
20;20;RFFIND=OFF;
-- press button channel A to ON (receiver received 2 commands):
20;03;RFCustom;ID=524643;SWITCH=0;CMD=ON;
20;04;RFCustom;ID=524643;SWITCH=0;CMD=ON;
-- press button channel A to OFF (receiver received 2 commands):
20;05;RFCustom;ID=524643;SWITCH=0;CMD=ON;
20;06;RFCustom;ID=524643;SWITCH=0;CMD=ON;
-- press button channel B to ON (receiver received 2 commands):
20;07;RFCustom;ID=524643;SWITCH=2;CMD=ON;
20;08;RFCustom;ID=524643;SWITCH=2;CMD=ON;
-- press button channel B to OFF (receiver received 3 commands):
20;09;RFCustom;ID=524643;SWITCH=2;CMD=ON;
20;0A;RFCustom;ID=524643;SWITCH=2;CMD=ON;
20;0B;RFCustom;ID=524643;SWITCH=2;CMD=ON;
-- press button channel ALL ON to ON (receiver received 2 commands):
20;0C;RFCustom;ID=524643;SWITCH=4;CMD=ON;
20;0D;RFCustom;ID=524643;SWITCH=4;CMD=ON;
-- press button channel ALL ON to ON (receiver received 2 commands):
20;0E;RFCustom;ID=524643;SWITCH=4;CMD=ON;
20;0F;RFCustom;ID=524643;SWITCH=4;CMD=ON;

Work!

10;RFCustom;524643;4;ON;
20;10;OK;
10;RFCustom;524643;4;ON;
20;11;OK;
10;RFCustom;524643;2;ON;
20;12;OK;
10;RFCustom;524643;2;ON;
20;13;OK;
10;RFCustom;524643;0;ON;
20;14;OK;
10;RFCustom;524643;0;ON;
20;15;OK;

This option works.
But is it possible to fix this problem in future firmware?
For devices with this protocol to work without a learning mode?

It seems strange to me that when a button is pressed, the receiver receives 2 commands?

Best regards,

Hesunse 433MHz with "Eurodomest" protocol

Posted: 18 May 2019, 10:26
by Funnybag
Hi I am just curious is it possible that you are using the same rflink hardware to detect 315 megahertz and 433 mhz?