I need help to trigger an script when something new is written to the Homeseer log.
I have already one script that is triggered on device status change that I have in startup.vb set this for:
hs.RegisterStatusChangeCB("DeviceChange.vb","Main")
That is working fine, but now I want another script that is triggered every time something is written to the Homeseer log, and also what is written.
It seems like I could use
hs.RegisterEventCB
and value 2 for log changes
But I cant get it to work, all examples I find seems also be if using external applications or plugins for Homeseer not it just want to trigger a script.
I have already one script that is triggered on device status change that I have in startup.vb set this for:
hs.RegisterStatusChangeCB("DeviceChange.vb","Main")
That is working fine, but now I want another script that is triggered every time something is written to the Homeseer log, and also what is written.
It seems like I could use
hs.RegisterEventCB
and value 2 for log changes
But I cant get it to work, all examples I find seems also be if using external applications or plugins for Homeseer not it just want to trigger a script.
Comment