Page 1 of 1
Domoticz : Event after reboot, is it possible ???
Posted: Friday 02 August 2019 4:17
by jacksonmonroe
After several searches on the Web ( Google is your friend, but here is not this case: roll

)
I am looking for an event if ( when ) Domoticz has restarted (after reboot or power failure

)
Remember that the Domoticz service is started correctly. ( for my case

) I use a raspberry
Re: Domoticz : Event after reboot, is it possible ???
Posted: Friday 02 August 2019 7:38
by waaren
jacksonmonroe wrote: ↑Friday 02 August 2019 4:17
I am looking for an event if ( when ) Domoticz has restarted (after reboot or power failure

)
Maybe
this can help you ?
Re: Domoticz : Event after reboot, is it possible ???
Posted: Saturday 03 August 2019 19:25
by zicht
waaren wrote: ↑Friday 02 August 2019 7:38
jacksonmonroe wrote: ↑Friday 02 August 2019 4:17
I am looking for an event if ( when ) Domoticz has restarted (after reboot or power failure

)
Maybe
this can help you ?
I use json to monitor the log file.
In the log file there are specific strings that only are printed in the log on reboot.
From the detection of this i have a couple of actions running (also writing version in database

for tracking purpose)
Based on the script of waaren that you can find in the provided link in previous post and
https://www.domoticz.com/wiki/Domoticz_ ... nformation