Replies: 3 comments 5 replies
-
I don't forecast any other major roadblocks ahead. Also, I would suggest you to skip certain initialization scripts when not running as add-on, like for example the "auto add extensions", to make it simpler for you. So, I think this is a great suggestion and I would be happy to review your changes once you make it. You have my go ahead. @TECH7Fox any comments? |
Beta Was this translation helpful? Give feedback.
-
Sounds great. Let me know how it goes! 🙂 |
Beta Was this translation helpful? Give feedback.
-
I am making some progress and I am able to start the container locally. Now I have the inverse problem: I would like to build the add-on locally to test if these changes have broken anything. 😏
Am I missing something obvious? |
Beta Was this translation helpful? Give feedback.
-
Hi and thanks for this add-on! I am beginning to explore the world of VoIP (to integrate HA with a SIP-enabled doorbell), and came across this project while searching for a Dockerized solution for running Asterisk. My setup however is based on Home Assistant Container, so no supervisor is present.
I have seen in the startup scripts that the add-on makes use of some functions that are only available for add-ons (
bashio::config
for instance calls the supervisor API, or the reference to theSUPERVISOR
token).I think that with minimal tweaking it could be possible to adapt these for a non-supervised install, for instance by mounting a
json
file with the configuration options, and by allowing to set the Home Assistant URL and secrets via env variables.Running this outside of the add-on store may be also useful for local development, since that way testing code changes is as simple as starting and stopping a single Docker container, without needing a running instance of HA to install the add-on within.
While trying to run the add-on locally, I only came across these roadblocks for now. Are there any specific assumptions that this add-on makes that would require for certain the presence of the supervisor?
If the prospect of running this add-on standalone may be of interest for this project, I am happy to step in and contribute some code.
Beta Was this translation helpful? Give feedback.
All reactions