You may use this generator to wake-up an Atmega-based external sensor. The external sensor should measure the value and output it to a UART port.

Pulse counter

It is a 32 bit counter with the ten milliseconds debounce interval. Therefore it cannot be used for high-frequency signals. If an interval is defined, the counter automatically resets after that interval and reports the counted values to a coordinator.

Zigbee2MQTT commands

read – immediately reads the counter value.
Topic: z2m/[friedly_name]/get/[channel]
Channel: l1, l2, l3 … l8
Payload: 1
Returns: The counter value {“[channel]”: float_value}
write – resets the counter
Topic: z2m/[friedly_name]/set/[channel]
Channel: l1, l2, l3 … l8
Payload: 0


There are no comments.

Leave a Reply