-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation w/ Containerized Home Assistant #22
Comments
the container reads information provided by the supervisor at startup. mqtt server, token, options etc. https://github.com/wubbl0rz/FiatChamp/blob/master/FiatChampAddon/run.sh this will fail if its not running as a addon. so i do not think the container will work standalone. to make it work standalone you would need to compile the .net program, build your own container and then provide all the environment variables normally set by the home assistant supervisor. so in theory it works but i would advise against it. maybe i should build a standalone container and offer it as an alternative install method. |
running as standalone is supported in 3.0.4 which will be released soon 😄 example for docker compose: version: "3.9"
services:
FiatChamp:
image: ghcr.io/wubbl0rz/image-amd64-fiat-champ:3.0.4
environment:
- 'STANDALONE=True'
- 'FiatChamp_FiatUser=user@example.com'
- 'FiatChamp_FiatPw=123456'
- 'FiatChamp_FiatPin=9999'
- 'FiatChamp_SupervisorToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI5NGFmMGJhZTFjYTQ0ODk2YWEzYjgzMGI5YmE4NGQxNiIsImlhdCI6MTY3MDA3Mjc
- 'FiatChamp_StartDelaySeconds=1'
- 'FiatChamp_Region=Europe'
- 'FiatChamp_Brand=Fiat'
- 'FiatChamp_CarUnknownLocation=Unknown'
- 'FiatChamp_ConvertKmToMiles=False'
- 'FiatChamp_MqttUser=mqtt'
- 'FiatChamp_MqttPw=123456'
- 'FiatChamp_MqttServer=192.168.2.132'
- 'FiatChamp_MqttPort=1883' |
3.0.4 can now be run as standalone container. see example above. i tried it locally and it works but maybe everything. if you have any problems just make a new issue 😄 |
Did you ever get this working? I'm not sure how to set up a stand-alone version. Any help would be appreciated. |
@SpykeKrepshaw how does your docker compose file look ? its really not meant running standalone but should be possible. |
HI ERROR: Call failed. Resource temporarily unavailable (supervisor:80): GET http://supervisor/core/api/states see logs attached |
Hi! I'm still pretty new to the Home Assistant ecosystem. The installation instructions say to install via Add-Ons. I'm running Home Assistant in a container, so the add-on system isn't available. Would it still be possible to install FiatChamp? I'm assuming I could spin it up in a separate adjacent container like I do zwave-js-ui and esphome, yea?
I'd like to give this a go and test it against a Ram truck, if possible.
The text was updated successfully, but these errors were encountered: