Skip to content

Improve Develco ZHEMI101 converter#12493

Merged
Koenkk merged 2 commits into
Koenkk:masterfrom
derabbink:improve-Develco_ZHEMI101-converter
Jun 22, 2026
Merged

Improve Develco ZHEMI101 converter#12493
Koenkk merged 2 commits into
Koenkk:masterfrom
derabbink:improve-Develco_ZHEMI101-converter

Conversation

@derabbink

@derabbink derabbink commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

This improves the converter for the Develco ZHEMI101 Utility Meter devices.

A brief explanation about the device's function: This device is attached to a utility meter (electricitly, gas, water), and counts pulses that the meter emits, in order to follow along with what the meter reports. Typically this device is sold with an optical probe that registers optical pulses from an electricity meter. Devices sold like that are configured to report electricity usage (kWh), and the device expects 1000 pulses per kWh.
It is trivial to replace the optical probe with e.g. a reed contact that is closed by the magnet inside a mechanical water or gas meter. This way, the device can follow along the increasing meter position of a water or gas meter.
When you install a ZHEMI101, the user will want to specify the following:

  • The interface mode (what it is measuring): electricity, gas, water
    • the device will change the unit of measure of what it tracks; kWh/L/m³/...
    • the device may change the multiplier/divisor
  • The current value of their utility meter
    • when setting this, the user will just want to enter what they are reading on their metering device, without needing to do a conversion using the multiplier/divisor parameters that the ZHEMI101 picked.

This PR makes all of this more convenient.

  • the user can simply pick the "Interface Mode" from a dropdown
    • this will update the units in which measurements are exported
  • the user can simply enter the "Unit Summation", as they are reading it from their metering device
    • the converter takes care to figure out what scaled value must be sent to the ZHEMI101
    • there is runtime validation which checks if after scaling this number exceeds what this zigbee attribute accepts

I tested this using a custom converter first.

PS: I found a technical spec of the device's zigbee device implementation here

@Koenkk

Koenkk commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Thanks!

@Koenkk Koenkk merged commit d55a8e6 into Koenkk:master Jun 22, 2026
3 checks passed
@derabbink derabbink deleted the improve-Develco_ZHEMI101-converter branch July 2, 2026 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants