OctoPrint/OctoPrint-MQTT

Fan speed published in unclassified events

Opened this issue · 1 comments

Hey guys,
Thanks for this plug-in, very handy. I send data to OpenHAB.
I have turned off unclassified events, as it is - IMO - probably considered extended or detailed debug data - if one wants that. However it is a fair bit of information sent, and I only want the basic data sent - however turning this setting off, means fan speed (for parts cooling) information is no longer sent. I would have thought that the main 3 common/dynamic changing things would be hot end temp, bed temp and fan speed. I like not sending unclassified events (as it's too much MQTT information) however I would like the fan speed sent. If I have unclassified off, but then change either the bed or hot end temperature, then this DOES send to the MQTT broker. If I turn the fan on or off, or vary it's speed, that data is NOT sent however (again, unless unclassified events is on)
Any chance you can include fan speed the same as the generic hot end or bed temperature changes? (or even as a separately 'selectable event')
Cheers

Also interested in this, it seems having the unclassified events crash my OctoPrint server when I subscribe to them as there's so much data sent!

Currently I'm hooking into octoPrint/event/DisplayLayerProgress_fanspeedChanged to get the fan data