RUT906 ImpulseCounter

Hello,
I am using RUT906 and impulse counter for two inputs. I need to send impulse count via MQTT, it works but it seems mqtt messages does not contain impulse count, but only difference from previous message. Am I able to set to sent amout of impulses and customize input name in mqtt message?

counter {“inputs_counter”:[{“timestamp”:1737173820,“pin_name”:“iio”,“count”:12},{“timestamp”:1737173820,“pin_name”:“din1”,“count”:1}]}

Real counter state about 7900 for one counter and 400 for second.

Thank you

Petr

Hello,

Apologies for a delayed response.

It seems that you have created an identical query on Helpdesk, where assistance was provided by an engineer.

In short, historic impulse count numbers can be retrieved using the API call:

/sbin/api get /impulse_counter/historic/status

To get the total impulse count per input, you can sum up the values using a Lua script.

For more details on API calls related to the Impulse Counter, please refer to the documentation here: https://developers.teltonika-networks.com/reference/rut906/7.13.3/v1.5/impulse-counter

Best regards,

This topic was automatically closed after 60 days. New replies are no longer allowed.