For the 165546321 time, a shell_command runs inside the HA container
Not sure what’s your environment to have /bin/python /volume1/docker/homeassistant/config/python_scripts/hello_world.py running on your Windows PC, but it’s different than the HA one.
Thanks, obviously being really stupid but not sure how to run the shell_command runs inside the HA container?
this is in the configuration.yaml, in the docker container of HA, does this not mean it is inside the HA container already?
shell_command:
pymeteo: ‘/bin/python /volume1/docker/homeassistant/config/python_scripts/hello_world.py’
I started off with just “config/python_scripts/hello_world.py”
then “python config/python_scripts/hello_world.py”
“python3 config/python_scripts/hello_world.py” & a thousand other combinations which with restart in between took a very long time.
the only reason I showed
/bin/python /volume1/docker/homeassistant/config/python_scripts/hello_world.py
was from inside Visual Studio & click on the hello_world.py & run in terminal, this is what it showed.
As far as I remember installing docker & the HA container onto a windows PC was as per following instructions online so not sure why/if in a strange location.
Anyway this is driving me crazy & having to give up.
thanks anyway, I am normally pretty good with this stuff & can program python visual basic etc to a fairly good level over the year but this alludes me.