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

Feature request: M117 events (and M300, M150)

Open skvalen opened this issue 4 years ago • 1 comments

Hi, sending M117 (lcd message) events would be nice feature, and also M300 and M150 would be nice.

something like: topic: octoPrint/event/M117 payload: {"message": "Hello World!"}

M300 - Play Tone topic: octoPrint/event/M300 payload {"P": ms, "S": hz}

M150 - Set RGB(W) Color topic: octoPrint/event/M150 payload: {"B": intensity, "I": index, "P": intensity, "R":intensity, "U": intensity, "W" intensity}

skvalen avatar Feb 16 '21 22:02 skvalen

Just came accross this issue when looking into something else.

Probably a dead topic, but I'll post this here anyway in case someone is looking for the same feature. About a year ago I wrote a little plugin that could be used together with this one to achieve this goal: Custom GCode Events.

Having the MQTT plugin setting Activate event messages enabled, events produced by the mentioned plugin would be published on the specified topic.

RoboMagus avatar Jan 17 '23 16:01 RoboMagus