Been having my mac mini server running hot and slowing down. Did a restart and all went back to normal, but
soon the trouble returned. Checked activity monitor and found one plugin using more than 100% CPU. Now I
figured it was not going to be easy to find which one was the trouble maker. That’s when I remembered that Karl’s
utility plugin had added CPU usage to variables had been added to the plugin and gave it a try.
Thank you Karl this sure saved me a lot of time:

So home kit looked like the problem, also saw the FLUX LED was high for such a simple plugin, also still always get SQL Logger errors
related to FLUX LED devices.
SQL Logger Error exception trying to insert row into table device_history_76333152 ("LED-RBGW DEN") -- unable to modify table
SQL Logger Error ERROR: relation "device_history_76333152" already exists
SQL Logger Error INSERT INTO device_history_76333152 ("alertmode", "bluelevel", "bluelevel_ui", "brightnesslevel", "colorblue", "colorgreen", "colormode", "colorred", "colortemp", "colorx", "colory", "effect", "greenlevel", "greenlevel_ui", "hue", "onoffstate", "online", "redlevel", "redlevel_ui", "saturation", "whitelevel", "whitelevel_ui") VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s);
So disabled FLUX LED and all went back to normal and the Mini cooled down.

So I don’t know which plugin needs fixing but I am guessing it’s FLUX.
Again thanks to Karl and your utilities plugin for making trouble shooting so simple.
Elwood