Using the excellent enclosure plugin, I've added a temperature sensor for my enclosure and It is displaying in the header.
I've put together a little wireless printer monitor using https://github.com/Qrome/printer-monitor.
What I'd like to do is to enhance the printer monitor code so that it would display the enclosure temperature as well as the tool and bed temperatures.
Ideally, I'd like to be able to add it to the results coming back from /api/printer.
I'm just wondering if there's a way to enhance the api, or if there's a way to create a plugin to do that.
Thanks in advance for steering me in the right direction.