Python Script not automatically firing

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
crazynight
Posts: 13
Joined: Saturday 07 October 2017 18:05
Target OS: -
Domoticz version:
Contact:

Python Script not automatically firing

Post 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.
Domoticz v3.8153 - Rpi
RFLink r48- Arduino Mega Chinese 433 RX TX
2x bye bye Standby Switches
TP-Link HS100
1x DHT11 & 1x ds18B20 connected directly yo the RPi
Nodemcu flashed with ESPEasy
1x ds18B20 connected to the Nodemcu
crazynight
Posts: 13
Joined: Saturday 07 October 2017 18:05
Target OS: -
Domoticz version:
Contact:

Re: Python Script not automatically firing

Post by crazynight »

solved my own issue turns out python is not enabled as standard, found a work around.
Domoticz v3.8153 - Rpi
RFLink r48- Arduino Mega Chinese 433 RX TX
2x bye bye Standby Switches
TP-Link HS100
1x DHT11 & 1x ds18B20 connected directly yo the RPi
Nodemcu flashed with ESPEasy
1x ds18B20 connected to the Nodemcu
DutchHans
Posts: 229
Joined: Friday 03 April 2015 20:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany (near dutch border)
Contact:

Re: Python Script not automatically firing

Post by DutchHans »

Nice that you found a workaround.. maybe tell us how, you might help others too.

Cheers, Hans
crazynight
Posts: 13
Joined: Saturday 07 October 2017 18:05
Target OS: -
Domoticz version:
Contact:

Re: Python Script not automatically firing

Post 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 560 times
Domoticz v3.8153 - Rpi
RFLink r48- Arduino Mega Chinese 433 RX TX
2x bye bye Standby Switches
TP-Link HS100
1x DHT11 & 1x ds18B20 connected directly yo the RPi
Nodemcu flashed with ESPEasy
1x ds18B20 connected to the Nodemcu
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest