So I migrated from Core over the weekend and was able to setup pretty much everything the way I wanted to but there's one thing I'm a bit struggling with.
In Core I had this python project called CATT running in my Home Assistant jail, it basically casts webpages to a nesthub.
They way I had it setup on Core was that I installed CATT in the Home Assistant jail via pipx, and then because the nesthub times out every 10 minutes, I had a script with my CATT command in it, and I had an automation running in Home Assistant to call that script every 10 minutes to cast again to go around the timing out issue.
Now with SCALE I have Home Assistant installed via the Truecharts app, and so I'm not sure where/how to best install CATT and was wondering what would be the most elegant way to get it installed.
I don't think I should mess with the Truecharts Home Assistant app to try and have CATT installed in there. (I don't think it's possible either)
I don't think I should install CATT directly along Truenas either.
So I was thinking of maybe running a Python docker image as an "app" with TTY, pass on a parameter to have it 'pip install catt', and run a cronjob inside the container to run my script every 10 minutes (probably keeping that script outside and mounting it to the app). But since I can't even get the Python image running - it hangs on "deploying" forever - I'm now realizing that because Python isn't really an "app" in the first place, SCALE's container system probably can't run it that way.
So I think I'm looking at this all wrong, what would be the easiest/best way to install CATT (or any other Python package) within SCALE?
In Core I had this python project called CATT running in my Home Assistant jail, it basically casts webpages to a nesthub.
They way I had it setup on Core was that I installed CATT in the Home Assistant jail via pipx, and then because the nesthub times out every 10 minutes, I had a script with my CATT command in it, and I had an automation running in Home Assistant to call that script every 10 minutes to cast again to go around the timing out issue.
Now with SCALE I have Home Assistant installed via the Truecharts app, and so I'm not sure where/how to best install CATT and was wondering what would be the most elegant way to get it installed.
I don't think I should mess with the Truecharts Home Assistant app to try and have CATT installed in there. (I don't think it's possible either)
I don't think I should install CATT directly along Truenas either.
So I was thinking of maybe running a Python docker image as an "app" with TTY, pass on a parameter to have it 'pip install catt', and run a cronjob inside the container to run my script every 10 minutes (probably keeping that script outside and mounting it to the app). But since I can't even get the Python image running - it hangs on "deploying" forever - I'm now realizing that because Python isn't really an "app" in the first place, SCALE's container system probably can't run it that way.
So I think I'm looking at this all wrong, what would be the easiest/best way to install CATT (or any other Python package) within SCALE?