Using huemagic to troubleshoot Lights?

Hi All

I have (Like others) some lights that just turn on, but no way to find out what is causing this?
I recently found huemagic and I was wondering if any one have managed to create some logfile output identifing what controller is changeing status on lights?

I also found this project:
https://flows.nodered.org/flow/0e1f6dab22f60c13b90bede25276e16e
But my couldnt get it connected.

Maybee combining the bridge from huemagic to the above would work?
Sorry new to this but learning fast

Best regards
Casperse