Kerui D026 inconsistently decoded

Post here about devices that are not yet or not fully supported

Moderators: rtenklooster, BertB, Voyager, Stuntteam

Post Reply
Message
Author
mjj4791
Normal user
Posts: 11
Joined: 06 Dec 2016, 16:37

Kerui D026 inconsistently decoded

#1 Post by mjj4791 » 28 Apr 2017, 14:34

I recently purchased 4 Kerui D026 magnetic door sensors (since they are cheap and supported by rflink)
After testing, I see that the signals decoded by rflink are inconsistent (full details in attachment)

I am using RFLink v46:
Nodo RadioFrequencyLink - RFLink Gateway V1.1 - R46;
VER=1.1;REV=46;BUILD=0c;

The kerui D026 has 2 switches;
  • 1 reed/magnetic switch for door open/door close (this switch will send both open and close event)
  • 1 tamper switch to notify if the device is removed from the door (this switch will only send tamper event)
Observations:
  • most signals are decoded as Eurodomest, but some as Mertik or EV1527
  • Some signals are not decoded/recognized at all
  • Device id: for some devices the device ID is inconsistent (some signals use ID1, some ID2 for the same device) (0a4d15 or 2a4d15) (0e1c35 or 2e1c35). Since in these cases only the first digit of the ID is different.... could this be a decoding issue? (when different Device IDs are used, also different switch IDs seem to get decoded)
  • DoorOpen->Closed and DoorClosed->Open seem to use different switch IDs (00 vs 01) or (00,01 vs 03). Expected to see the same switch ID for both open>Closed and Closed>open events
Please refer to the attached excel file with all test results (including debug signals from rflink loader)
included are:
  • 6 scenarios:
    • Door Closed>Door Open (tamper in)
    • door Open>Door Closed (tamper in)
    • Door Closed>Door Open (tamper OUT)
    • door Open>Door Closed (tamper OUT)
    • Tamper IN-> Tamper out (door closed)
    • Tamper IN-> Tamper out (door open)
  • 104 different signals from 4 devices; multiple signals for each scenario
  • 7 of these signals not decoded/recognized
Relevant colums:
Scenario (A),
Condition (B),
Device(C),
Full Code (D) (this is the debug from RFLink loader)
Decoded data (E->)
Attachments
Book2.zip
(91.17 KiB) Downloaded 150 times

timoline
Normal user
Posts: 21
Joined: 03 Jul 2016, 10:17

Re: Kerui D026 inconsistently decoded

#2 Post by timoline » 28 Apr 2017, 16:49

known problem
https://www.letscontrolit.com/forum/vie ... d026#p9829

Never got any reply on it... :-(

User avatar
Stuntteam
Site Beheer
Posts: 628
Joined: 27 Jan 2016, 16:46

Re: Kerui D026 inconsistently decoded

#3 Post by Stuntteam » 28 Apr 2017, 17:55

Did you try the rffind option?
This is designed to learn signals..: http://www.nemcon.nl/blog2/faq#RFFind
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

mjj4791
Normal user
Posts: 11
Joined: 06 Dec 2016, 16:37

Re: Kerui D026 inconsistently decoded

#4 Post by mjj4791 » 29 Apr 2017, 00:09

I tried to use rflearn; i get mixed results, as well:

After a lot of trying to get the signals learnt I have stored the rffind signals; still getting mixed results, though

For a device, I see the following learned commands:
OPEN: 10;RFFind;4;5B2EAE;8;1E;1;
CLOSE: 10;RFFind;5;5B2EA7;8;1E;1;
and
OPEN: 10;RFFind;6;5B2EAE;9;1E;1;
Close: 10;RFFind;7;5B2EA7;9;1E;1;

However, I do not get an rffind output with every open/close action (even though rffind=on); even though a signal has been seen (and Eurodomest output is printed)

Afterwards, when testing this device I do see

close (learned signal found):
20;9A;Eurodomest;ID=0a4d15;SWITCH=03;CMD=ON;
20;9B;Eurodomest;ID=0a4d15;SWITCH=03;CMD=ON;
20;9C;RFCustom;ID=524643;SWITCH=4;CMD=OFF;

but also I get: close (learned signal NOT detected?):
20;EE;Eurodomest;ID=2a4d15;SWITCH=00;CMD=OFF;
20;EF;Eurodomest;ID=0a4d15;SWITCH=03;CMD=ON;
20;F0;Eurodomest;ID=0a4d15;SWITCH=03;CMD=ON;


open (learned signal found):
20;28;Eurodomest;ID=0a4d15;SWITCH=00;CMD=OFF;
20;29;RFCustom;ID=524643;SWITCH=4;CMD=ON;

but also I get: open (learned signal NOT detected?):
20;9A;Eurodomest;ID=0a4d15;SWITCH=00;CMD=OFF;
20;9B;Eurodomest;ID=0a4d15;SWITCH=00;CMD=OFF;
20;9C;Eurodomest;ID=0a4d15;SWITCH=00;CMD=OFF;

User avatar
Stuntteam
Site Beheer
Posts: 628
Joined: 27 Jan 2016, 16:46

Re: Kerui D026 inconsistently decoded

#5 Post by Stuntteam » 29 Apr 2017, 09:26

We will check it out..
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

pandel
Normal user
Posts: 1
Joined: 22 May 2017, 10:57

Re: Kerui D026 inconsistently decoded

#6 Post by pandel » 22 May 2017, 11:11

Hi! Just registered to the forum to confirm mjj4791's observations. Sadly, as I am a new RFlink user I'm not really sure, how to handle this or how I could perhaps help to sort this problem out...

CherAlban
Normal user
Posts: 14
Joined: 15 Nov 2016, 16:47

Re: Kerui D026 inconsistently decoded

#7 Post by CherAlban » 22 Jun 2017, 21:56

I am having the exact same problems as described above.

@Stuntteam: Do you need more logs or anything else we could help with?

CherAlban

CherAlban
Normal user
Posts: 14
Joined: 15 Nov 2016, 16:47

Re: Kerui D026 inconsistently decoded

#8 Post by CherAlban » 24 Jun 2017, 17:10

I tried again with R43, as the DO26 is in the list of supported devices, but it gives the same strange behavior as with R46.

fabianonline
Normal user
Posts: 3
Joined: 09 Jul 2017, 20:15

Re: Kerui D026 inconsistently decoded

#9 Post by fabianonline » 21 Jul 2017, 21:43

To jump in on this thread: I too have this problem, but also in a slightly enhanced way which could be related to this...

I have three D026 sensors. Recognized as Eurodomtechs. Let's take one of them: ID 2ce985. When the window opens, RFlink receives a SWITCH=01;CMD=ON. When it closes, it's SWITCH=00;CMD=OFF.

Sometime, the sensors weren't received anymore. A little digging showed the same results as the posters above have had: ID 2ce985 became ID 0ce985; opening now registers as SWITCH=00;CMD=OFF, closing as SWITCH=03;CMD=ON.

I modified my code to recognize this "virtual" devices and correct the data before sending it along.

This was fine until today. Today the sensors (all three simultaneously) stopped working again. Above given Eurodomtech 2ce985 is now a EV1527 ID=03167a. Opening is SWITCH=0e;CMD=ON, closing SWITCH=07;CMD=ON. The interesting bit: Today I got two motion detectors. EV1527 based...

A little bit of testing shows that apparently:
  • Resetting RFlink turns the device back into Eurodomtech devices.
  • Triggering the motion sensor a few times turns the door sensor into a EV1527 device.
In RFlink output this looks somewhat like this (comments added by me):

Code: Select all

20;00;Nodo RadioFrequencyLink - RFLink Gateway V1.1 - R46;
20;01;Eurodomest;ID=0ce985;SWITCH=03;CMD=ON; # should be 20;01;Eurodomest;ID=2ce985;SWITCH=00;CMD=OFF;
20;02;Eurodomest;ID=2ce985;SWITCH=00;CMD=OFF; # That's better.
...
20;08;EV1527;ID=0abe42;SWITCH=09;CMD=ON; # triggering the motion sensor
20;09;EV1527;ID=0abe42;SWITCH=00;CMD=ON;
...
20;11;Eurodomest;ID=0df9e5;SWITCH=00;CMD=OFF; # should be 20;11;Eurodomest;ID=2df9e5;SWITCH=01;CMD=ON;
20;12;Eurodomest;ID=2df9e5;SWITCH=01;CMD=ON; # better
20;13;Eurodomest;ID=2df9e5;SWITCH=01;CMD=ON; # note that this is another door sensor

20;15;EV1527;ID=0abe42;SWITCH=09;CMD=ON; # again triggering the motion sensor
20;16;EV1527;ID=0abe42;SWITCH=00;CMD=ON;

20;17;EV1527;ID=03167a;SWITCH=07;CMD=ON; # back at and closing the window that was 2ce985 - so this  should be 20;17;Eurodomest;ID=2ce985;SWITCH=00;CMD=OFF;
20;18;EV1527;ID=03167a;SWITCH=0e;CMD=ON; # and opening it again - this should be 20;18;Eurodomest;ID=2ce985;SWITCH=01;CMD=ON;
It seems as if the EV1527 plugin (and perhaps another one as well for the "id gets leading zero" bug?) changes the internal state of RFlink until the next reboot or something?

If needed, I can also record some RFDebug logs and stuff. Please let me know.

fabianonline
Normal user
Posts: 3
Joined: 09 Jul 2017, 20:15

Re: Kerui D026 inconsistently decoded

#10 Post by fabianonline » 22 Jul 2017, 10:46

I tried using RFFIND, but the D026 sensors aren't detected by it...?

data
Normal user
Posts: 93
Joined: 10 Dec 2016, 11:26

Re: Kerui D026 inconsistently decoded

#11 Post by data » 28 Oct 2017, 17:33

Since changelog for R48 mentions that D026 handling has been improved, what is the status now?

From what I see, I still get inconsistent readings; sometimes ev1527 and then again eurodomest.
Is there anything I can do?

mjj4791
Normal user
Posts: 11
Joined: 06 Dec 2016, 16:37

Re: Kerui D026 inconsistently decoded

#12 Post by mjj4791 » 21 Dec 2017, 13:55

I have recently updated to R48

Support for the D026 has dramatically improved; I see consistent decoding now on 3 of the 4 devices i have, which makes them functional now

The 4th device seems to be working in reverse (on and off are reversed for some reason...)

Harald
Normal user
Posts: 1
Joined: 31 Mar 2018, 22:36

Re: Kerui D026 inconsistently decoded

#13 Post by Harald » 31 Mar 2018, 22:49

Apparently Kerui D026 is still being decoded incorrectly. I have version 48 and here is how it's decoding ON/OFF actions:

Code: Select all

2018-03-31 21:33:36.499 RFLink: 20;88;EV1527;ID=0b4dfa;SWITCH=0e;CMD=ON;
2018-03-31 21:33:40.214 RFLink: 20;8A;EV1527;ID=0b4dfa;SWITCH=07;CMD=ON;
2018-03-31 21:33:45.503 RFLink: 20;8B;EV1527;ID=0b4dfa;SWITCH=0e;CMD=ON;
2018-03-31 21:33:48.881 RFLink: 20;8C;EV1527;ID=0b4dfa;SWITCH=07;CMD=ON;
2018-03-31 21:33:53.632 RFLink: 20;8D;EV1527;ID=0b4dfa;SWITCH=0e;CMD=ON;
Instead of decoding properly CMD=ON or CMD=OFF it's decoding switch number, where SWITCH=07 is OFF action (door/window closed) and SWITCH=0e is ON action (door/window open)
SWITCH=0b is tamper action.

Unfortunately, id value is changing after some time too. This particular sensor had ID=0b4dfa as above and 034dfa or 00c8aa

Tested with two different Kerui D026 sensor with exactly same result

ds106
Normal user
Posts: 7
Joined: 25 Feb 2018, 15:26

Re: Kerui D026 inconsistently decoded

#14 Post by ds106 » 16 Apr 2018, 20:32

Hi,
same here. After RFLink reset D026 decoded as Eurodomest, some time later as EV1527.
Regards Götz

aap007
Normal user
Posts: 1
Joined: 01 Jun 2018, 11:31

Re: Kerui D026 inconsistently decoded

#15 Post by aap007 » 01 Jun 2018, 11:53

I got exactly the same problems as fabianonline describes.

With older rflink software I got in Domotics the following devices (for one sensor)
00265BE5 unit 0 -> Off (Sensor close)
00265BE5 unit 1 -> On (Sensor open)
00265BE5 unit 4 -> On (Sensor tamper)

Now with R48.4 I sometimes receive the data as above and sometimes as new devices, see below:
00065BE5 unit 0 -> Off (Sensor open)
00065BE5 unit 2 -> Off (Sensor tamper)
00065BE5 unit 3 -> On (Sensor close)

The main problem is that the value on/off is the other way around with the new devices. Normally I would create a single device with the 'master / slave' functionality in Domotics, but this is not possible because the newly create devices have Off for open & tamper and On for close.

Did someone find a solution for this issue?

brjhaverkamp
Normal user
Posts: 7
Joined: 31 Oct 2018, 20:20

Re: Kerui D026 inconsistently decoded

#16 Post by brjhaverkamp » 31 Oct 2018, 20:27

Hello Folks,

Has any progress been made on this?
I got a few D026s that I want to read out with rflink. Is this working stabily (and correctly) now

Im using domoticz and rflink gateway to get the messages.
My first test only shows a closed notification from the doorsensor.

One question: how do you get to the details of the messages, such as Harald is showing below?
Is there a cli command or logfile? In domoticz I can not find this level of detail.

Regards,

Bert

Vector1979
Normal user
Posts: 1
Joined: 12 Dec 2018, 17:02

Re: Kerui D026 inconsistently decoded

#17 Post by Vector1979 » 12 Dec 2018, 17:09

Same here...

Have 10 identical Kerui D026 sensors, four are decoded as you would expect, the others are all over the place...

Distance to the RFLINK doesn't seem to matter. All other 433Mhz devices work without any problems...

Could someone please reply on this issue? Even if it's just to say "we have no clue"... ;)

Thanks!

Roger

User avatar
Stuntteam
Site Beheer
Posts: 628
Joined: 27 Jan 2016, 16:46

Re: Kerui D026 inconsistently decoded

#18 Post by Stuntteam » 14 Dec 2018, 15:11

That is one of the reasons why we are taking time to rewrite and redo the code
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

brjhaverkamp
Normal user
Posts: 7
Joined: 31 Oct 2018, 20:20

Re: Kerui D026 inconsistently decoded

#19 Post by brjhaverkamp » 21 Dec 2018, 14:36

Hi Stunteam,

Great to hear. Looking forward to the rewrite and R49! The D026 is also on my issue list.
Do you have any indication on when we can expect a new release?
Is it months away, or weeks?
Or can you share any other snippet of info on the scale of the rewrite, the percentage done, etc.
We are anxious for any news.We don't know is also a valid answer though:-)
And of course we'll wait patiently for the result of your good work!

Kind regards and already happy holidays,

Bert

czacha338
Normal user
Posts: 1
Joined: 09 Feb 2020, 21:38

Re: Kerui D026 inconsistently decoded

#20 Post by czacha338 » 09 Feb 2020, 21:45

Hi,

any plans when you are trying to release a R49 version?
It will be perfect when issue with D026 could be corrected. :)

Best regards,
Adrian

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests