Open skvalen opened 3 years ago
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.
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}