[Solved] Push button: Hold count over MQTT?

I’ve seen version bcf-radio-push-button 1.4.0 added support for detecting button hold event. How do I get this event over MQTT via gateway?

According to https://github.com/bigclownlabs/bcf-gateway/blob/b5e71d6f1e73dfb4a88b35c9b7272cf0afa754b8/app/application.c#L205 , there should be event node/push-button-tv/push-button/-/hold-count . But I don’t see it. Not even when I run mosquitto_sub -t 'node/#'

I can normally see the button clicks, thermometer, battery and orientation changes from this module.

node/push-button-tv/info {"firmware": "push-button", "version": "v1.4.1", "mode": 3}

NB: This is a repost of https://github.com/bigclownlabs/bcf-radio-push-button/issues/3 . Nobody reacted on github :frowning:

so sorry no one responded, I didn’t receive an issue email.
The firmware for dongle needs to be updated to the latest version.


Thanks, this works. I’m pretty sure I had 1.13 on the gateway even before, but after “second update to 1.13”, it works.

1 Like