Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95370

Architectural question regarding execution of python script

$
0
0

@dm82m wrote:

hey guys,

I want to execute a python script that checks the forecast for the next days solarenergy and depending on that stops or starts the heating for warm water with the gas heating.

First guess was to put it into python_scripts and just execute it with an automation every 24hours. But that isnt working as there is only a limited python sandbox environment for these scripts with very less functionalities (so no imports, …).

Next I added the script as shell_command and executing within an automation. Its working but feels not perfect.

Are there any other (better) solutions out there?

Best,
Dirk

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95370

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>