OctoPrint-MQTT icon indicating copy to clipboard operation
OctoPrint-MQTT copied to clipboard

Message publishing too fast

Open ut1545 opened this issue 5 years ago • 2 comments

What were you doing? I'm using published state change messages into openHab in order to take some actions based on their content but, in some cases, the time between messages are too short. For example, between a FINISHED and OPERATIONAL state messages the time passed is about 90 milliseconds so, openHab can't catch all of them.

What did you expect to happen? I'd like to suggest that a minimum time between messages be introduced as a parameter option. A delay of 500 milliseconds could be nice.

What happened instead?

Version of OctoPrint: 1.3.10

Version of the MQTT plugin: 0.8.1

ut1545 avatar Nov 19 '19 10:11 ut1545

I'd suggest (also) reporting this to OpenHAB, since Octoprint-MQTT isn't the only tool I know publishing a lot of messages per second. OpenHAB should be able to catch all those messages.

Kunsi avatar Nov 19 '19 10:11 Kunsi

Thanks. I will also do that.

ut1545 avatar Nov 19 '19 11:11 ut1545