Team,
After searching and testing like crazy I just have to consult your experience:
Goal: every day at 11:55 & 23:55 run a Python script that returns 3 values. These 3 values all have to be stored in their own entity.
- command_line platform: is working except that it does not run at 2 specific times each day but way more often. Here’s what it looks like right now:
- platform: command_line
name: Recording_Count_DoorCam
json_attributes:
- DoorCam
command: "python3 /config/python_scripts/synology_surveillance_station_countrecordings.py"
value_template: "{{ value_json.DoorCam }}"
The python script relies on external libraries like requests.
Any idea how I can ‘run something’ at 11:55 and 23:55 and populate the 3 entities?
It feels like I missed a super obvious solution
(BTW, once finished I will share the script & documentation.)