Report comment

Hi Martin
im not familiar with Domoticz but if it is able to run a python script and use a response from it to trigger an event then that can be one way or you could run a python script separately which makes a gpio pin high when the expected light level is reached. The get Domoticz to wait for that pin to go high to trigger an event.

For the sensor script a simple loop can be used. If light reaches a required level then make a gpio pin high if not sleep 15 mins and test again.

I have added another example script to the article that constantly checks for a reading every 30 seconds until a threshold is met. This will be similar to the type of script you are after.