I’m using an EnOcean energy meter Eltako DSZ12D-3x65 A for my photovoltaic system. I’ve configured this as EEP A5-12-01 with two channels for instant power and total usage. The current openHAB implentation (implicitly) assumes that there is only one tariff, whereas the EnOcean device supports two tariffs. Although I’m only using one tariff, the device sends telegram messages for both tariffs. The debug log shows the following messages:
08:42:16.547 [DEBUG] [ernal.handler.EnOceanBaseThingHandler] - ESP Packet payload A50A17F109FFF7600000 for FFF76000 received 08:42:16.755 [DEBUG] [ernal.handler.EnOceanBaseThingHandler] - ESP Packet payload A500000019FFF7600000 for FFF76000 received
The first one contains the relevant total usage count for the first tariff (0A17F1 = 661489 / 10 kWh). The second telegram message contains a total usage count of 0 for the (unused) second tariff. The tariff is encoded in the four-bit value following the meter reading according to EnOcean’s EEP specification. The 0 in the first message represents tariff 0, the 1 in the second message tariff 1.
The consequence of this is that the total usage is almost always shown as 0 because the correct value is immediately replaced by the wrong value (0). The validateValue parameter for the channel doesn’t help because it only filters out decreases of less than 1 kWh.
Is there any way to configure the thing or channel to filter out the wrong values other than to create a new item and a rule that eliminates these values?