Page 1 of 1

Python Script not automatically firing

Posted: Saturday 07 October 2017 18:09
by crazynight
The learning curve with Domoticz is steep but think I am getting there.

I have an issue with python scripts not firing automatically.
it is saved in the ~/domoticz/scripts/python folder and called script_time_smartplug.py so from my understanding should fire every minute which it is not I can fire the same code either manually from SSH or via a virtual switch.

Any advice on where to start looking is much appreciated.

Re: Python Script not automatically firing

Posted: Saturday 07 October 2017 22:49
by crazynight
solved my own issue turns out python is not enabled as standard, found a work around.

Re: Python Script not automatically firing

Posted: Saturday 07 October 2017 23:26
by DutchHans
Nice that you found a workaround.. maybe tell us how, you might help others too.

Cheers, Hans

Re: Python Script not automatically firing

Posted: Saturday 07 October 2017 23:30
by crazynight
sorry yes the work around was to setup an event like this; seems to fire every minute I expect it not to fire at 00:00 but can live with that.
block.jpg
block.jpg (46.34 KiB) Viewed 585 times