(Help) EMH metering OKK-BKE interface

Hi, I have the mMe4.0 smart meter from EMH Metering wich has an OKK-BKE interface:

(not the normal D0). Did anyone managed to monitor a similar smart meter with this interface in HA? (with an IR ceciever and an esp for example)
Tanks!

I’d also bei highly interested in a solution. Blinking the smart Meter by hand sounds like a true pain in the a… Also I want top Monitor our Energy consumption.

Thanks in advance!
Guido

In the mean time I hooked up an IR receiver in front of the output LED with an esp8266, wich gives me a bunch of numbers that I have no idea how to work with. I think the protocol should be SML (Smart Message Language). I’ll post an example later that day.

So here is a part of the output from the IR receiver, but I have no clue what to do with that:

[16:46:39][D][remote.raw:041]: Received Raw: -352, 734, -140, 6992, -521, 5778, -239, 3917, -405, 3763, -248, 6122, -136
[16:46:40][D][remote.raw:028]: Received Raw: -464, 877, -161, 576, -469, 563, -479, 356, -185, 2030, -136, 2814, -499, 1302, -241, 4612, -201, 176, -201, 3081, -522, 693, -183, 2870, -324, 8121, -416, 4988, -297, 2885, -164, 351, -1253, 906, -113, 658, -322, 3692, -1093, 236, -596, 
[16:46:40][D][remote.raw:041]:   744, -243, 322, -341, 210, -316, 480, -235, 5106, -287, 1665, -417, 837, -362, 2615, -497, 5689, -265, 401, -1130, 275, -193, 2032, -382, 547, -250, 178, -166
[16:46:40][D][remote.raw:041]: Received Raw: -329, 848, -104, 1904, -123, 548, -1164, 236, -428, 201, -202, 461, -381, 640, -353, 1648, -213, 861, -266, 176, -187, 229, -174
[16:46:40][D][remote.raw:041]: Received Raw: -267, 498, -193, 5120, -128, 176, -189, 273, -422, 179, -166, 3558, -633, 6555, -159, 1290, -322, 719, -917, 968, -216, 1703, -347, 3993, -303, 2907, -240, 4191, -264, 3721, -578, 6582, -262, 1614, -318
[16:46:40][D][remote.raw:041]: Received Raw: -380, 834, -179, 1155, -267, 9660, -241
[16:46:40][D][remote.raw:041]: Received Raw: -522, 9936, -402, 1258, -691, 519, -300, 1811, -496, 1892, -461, 297, -267, 8386, -142
[16:46:41][D][remote.raw:028]: Received Raw: -454, 333, -710, 908, -153, 278, -745, 327, -409, 357, -199, 179, -166, 1368, -392, 214, -129, 1631, -615, 3811, -475, 1419, -192, 4091, -379, 543, -337, 2714, -473, 426, -462, 177, -175, 6844, -433, 5014, -295, 874, -108, 593, -235, 1613, 
[16:46:41][D][remote.raw:028]:   -931, 293, -107, 134, -901, 449, -391, 600, -216, 300, -553, 970, -244, 829, -267, 175, -633, 377, -372, 842, -264, 1042, -313, 276, -240, 3095, -263, 1654, -306, 1759, -364, 642, -691, 1247, -272, 1020, -491, 374, -306, 655, -759, 7756, -522, 524, 
[16:46:41][D][remote.raw:028]:   -267, 177, -172, 2578, -200, 175, -171, 7105, -323, 736, -194, 583, -264, 1749, -756, 192, -159, 875, -234, 9215, -282, 161, -208, 3804, -351, 2400, -237, 4966, -273, 182, -238, 177, -445, 176, -172, 4795, -242, 2326, -1223, 287, -142, 1703, -193, 
[16:46:41][D][remote.raw:041]:   1282, -289, 4556, -322, 178, -168, 6847, -154, 4313, -290, 3499, -518, 6875, -195, 1642, -319, 181, -117
[16:46:41][D][remote.raw:041]: Received Raw: -339, 809, -230
[16:46:41][D][remote.raw:041]: Received Raw: -139, 1947, -261, 7021, -150, 8073, -447, 1732, -329, 3775, -240, 949, -605, 2969, -200
[16:46:42][D][remote.raw:028]: Received Raw: -790, 1505, -570, 498, -235, 176, -120, 442, -239, 1798, -184, 2823, -577, 1307, -703, 4204, -512, 4107, -352, 3001, -188, 8122, -447, 1327, -115, 3634, -233, 3427, -1148, 3865, -103, 690, -102, 955, -267, 177, -625, 1433, -414, 917, -267, 
[16:46:42][D][remote.raw:041]:   482, -238, 5001, -322, 1733, -350, 1654, -221, 1887, -614, 3815, -352, 2438, -473, 697, -208, 1872, -514
[16:46:42][D][remote.raw:028]: Received Raw: -239, 819, -170, 1754, -187, 568, -1163, 844, -175, 455, -499, 540, -612, 169, -387, 1932, -244, 176, -207, 196, -220, 4065, -140, 5905, -436, 283, -198, 5024, -265, 181, -240, 213, -410, 177, -168, 3556, -662, 7964, -265, 729, -641, 170, 
[16:46:42][D][remote.raw:041]:   -194, 995, -189, 1673, -324, 178, -169, 3636, -242, 2971, -241, 4219, -238, 3667, -659, 197, -194, 5621, -266, 176, -383, 1619, -323, 183, -113
[16:46:42][D][remote.raw:041]: Received Raw: -332, 718, -265, 9208, -389, 1539, -267, 7675, -250, 482, -111, 3900, -111, 393, -134, 347, -404, 180, -113, 2346, -484, 9934, -489, 1321, -485, 702, -400, 257, -137, 385, -264, 511, -497
[16:46:43][D][remote.raw:028]: Received Raw: -448, 893, -136, 898, -144, 899, -145, 377, -175, 431, -672, 369, -649, 540, -195, 273, -214, 1632, -533, 3964, -212, 1470, -150, 1933, -188, 1867, -522, 527, -386, 2824, -266, 800, -505, 6880, -358, 5050, -295, 863, -264, 2310, -896, 2755, 
[16:46:43][D][remote.raw:028]:   -800, 1386, -263, 332, -238, 169, -330, 178, -315, 1929, -262, 787, -575, 231, -230, 5026, -414, 1667, -237, 3878, -703, 290, -106, 975, -377, 3871, -212, 1852, -246, 1970, -382, 526, -266, 175, -171, 2458, -346, 175, -132, 7096, -295, 1559, -298, 420, 
[16:46:43][D][remote.raw:041]:   -187, 351, -266, 279, -163, 170, -250, 605, -127
[16:46:43][D][remote.raw:041]: Received Raw: -387, 1042, -376, 229, -257, 6035, -274, 178, -166, 4807, -238, 3576, -406, 456, -676, 387, -513, 1849, -858, 255, -108, 884, -265, 1763, -323, 177, -124, 3743, -244, 2936, -242, 4244, -240, 3630, -662, 6598, -196, 1682, -282, 176, -170
[16:46:43][D][remote.raw:041]: Received Raw: -255, 1698, -243, 9052, -270
[16:46:43][D][remote.raw:041]: Received Raw: -376, 5402, -148, 3920, -201, 3953, -401, 3871, -235, 6022, -141, 6104, -149
[16:46:44][D][remote.raw:041]: Received Raw: -569, 1632, -147, 1692, -127, 6252, -513, 674, -100, 2879, -359
[16:46:44][D][remote.raw:041]: Received Raw: -144
[16:46:44][D][remote.raw:041]: Received Raw: -118, 1994, -552, 4090, -145, 129, -108, 4709, -568, 1633, -241, 7982, -505, 1687, -149, 1820, -275, 7507, -181
[16:46:44][D][remote.raw:041]: Received Raw: -125, 1136, -106, 7083, -134, 795, -256
[16:46:44][D][remote.raw:041]: Received Raw: -257, 4033, -186, 3027, -116, 4362, -118
[16:46:44][D][remote.raw:028]: Received Raw: -284, 322, -151, 1741, -256, 8078, -170, 3995, -456, 585, -379, 1051, -338, 237, -250, 5063, -129, 1641, -800, 1157, -144, 132, -312, 7623, -918, 1950, -104, 1757, -129, 1897, -205, 1936, -563, 1711, -153, 3824, -127, 1957, -126, 1958, 
[16:46:44][D][remote.raw:041]:   -417, 624, -125, 3001, -325
[16:46:45][D][remote.raw:028]: Received Raw: -455, 565, -478, 568, -498, 278, -711, 410, -268, 1491, -384, 643, -565, 1639, -677, 3748, -237, 1639, -237, 1868, -185, 1994, -398, 611, -266, 2843, -347, 8086, -393, 3814, -213, 1084, -264, 3420, -1117, 910, -104, 964, -185, 714, -382, 
[16:46:45][D][remote.raw:028]:   184, -257, 2077, -265, 176, -314, 1905, -164, 937, -522, 278, -165, 3329, -847, 248, -99, 543, -365, 1719, -351, 853, -191, 476, -329, 577, -704, 642, -668, 1198, -835, 7893, -382, 547, -246, 174, -172, 2578, -209, 176, -157, 7208, -207, 1535, -263, 
[16:46:45][D][remote.raw:041]:   812, -343, 728, -618, 4940, -265, 5390, -364, 169, -161, 4695, -262, 1023, -339, 226, -237, 3246, -738, 1031, -271, 175, -247, 205, -416, 176, -172, 4087, -121, 8886, -698, 3246, -323, 179, -120, 3739, -250, 2936, -241, 4197, -231
[16:46:45][D][remote.raw:041]: Received Raw: -99, 189, -380, 1681, -279, 1738, -128
[16:46:45][D][remote.raw:041]: Received Raw: -354
[16:46:45][D][remote.raw:041]: Received Raw: -413, 1634, -122, 7541, -234, 2564, -139, 1965, -102, 3883, -600, 6520, -361, 2980, -240, 2986, -166, 771, -272, 888, -346
[16:46:46][D][remote.raw:041]: Received Raw: -454, 566, -475, 569, -473, 884, -149, 5479, -513, 1331, -465, 2731, -649, 505, -392, 354, -340, 3085, -517, 558, -325
[16:46:46][D][remote.raw:028]: Received Raw: -451, 1334, -187, 1451, -258, 1842, -239, 810, -236, 1781, -162, 525, -1077, 2894, -131, 1595, -241, 831, -1067, 398, -117, 959, -389, 527, -618, 503, -241, 631, -442, 3902, -324, 1827, -455, 3704, -498, 4057, -175, 1479, -156, 677, -740, 
[16:46:46][D][remote.raw:028]:   2688, -404, 515, -275, 175, -172, 2453, -327, 176, -166, 7082, -325, 1540, -263, 1738, -1146, 810, -264, 1440, -380, 2732, -267, 177, -245, 175, -163, 4086, -174, 3457, -352, 830, -256, 1713, -156, 2866, -402, 851, -523, 442, -214, 177, -235, 179, 
[16:46:46][D][remote.raw:041]:   -451, 176, -171
[16:46:46][D][remote.raw:028]: Received Raw: -647, 194, -165, 1056, -190, 1646, -316, 175, -175, 6879, -239, 4247, -267, 3475, -770, 190, -197, 6192, -264, 1611, -319, 8085, -192, 5140, -248, 9060, -443, 1182, -564, 7660, -507, 8430, -139, 1950, -126, 8086, -391, 3779, -264, 887, 
[16:46:46][D][remote.raw:041]:   -141, 5061, -151
[16:46:47][D][remote.raw:028]: Received Raw: -467, 345, -697, 350, -690, 331, -137, 2710, -352, 609, -626, 1761, -563, 9930, -379, 692, -186, 2724, -438, 8152, -354, 5111, -265, 844, -106, 576, -139, 1102, -189, 455, -1186, 861, -179, 1748, -427, 170, -252, 1040, -415, 626, -265, 174, 
[16:46:47][D][remote.raw:041]:   -434, 582, -368, 677, -349, 1734, -237, 546, -349, 4077, -390, 1818, -1187, 270, -706, 607, -583, 780, -502, 494, -159, 957, -452, 5680, -236, 498, -455, 890, -517, 525, -269, 179, -164
[16:46:47][D][remote.raw:041]: Received Raw: -656, 2470, -239, 611, -642, 6011, -266, 174, -176, 255, -149, 619, -267, 2726, -680, 6563, -238, 3659, -926, 295, -356, 177, -169, 267, -449, 174, -140
[16:46:47][D][remote.raw:041]: Received Raw: -972, 1046, -206, 557, -148, 933, -669, 2472, -99, 4277, -243, 4217, -236, 873, -153, 531, -135, 1949, -688, 196, -156, 874, -235, 4549, -268, 183, -386, 1609, -321, 182, -117
[16:46:47][D][remote.raw:041]: Received Raw: -372, 931, -108, 6928, -352, 1765, -457, 1663, -122, 7678, -282, 4347, -350, 359, -688, 282, -134, 2346, -484, 3898, -478, 1811, -163, 173, -435, 2975, -404, 3764, -270

I got it working with a D1 mini running this SML reader: