Comments (3)
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.
from fiatchamp.
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'
- '[email protected]'
- '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'
from fiatchamp.
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
from fiatchamp.
Related Issues (20)
- Jeep Wrangler 4xe (eu version) HOT 10
- Tiny Issue (decimal places) HOT 2
- RAM Truck HOT 16
- (external) Mqtt without username and password is no longer working with latest release HOT 4
- Alfa Romeo Giulietta. HOT 5
- 2020 Jeep Gladiator not authenticating HOT 14
- mqtt update failed and device not present HOT 10
- 500e blink HOT 5
- Lock/Unlock and Climate switch HOT 3
- Willingness to Add Chrysler Vehicles HOT 2
- help Needed HOT 1
- Login auth error HOT 11
- No success on new install HOT 30
- Commands for Jeep HOT 15
- SupervisorToken in standalone mode HOT 3
- Car Location not Updating HOT 2
- Stop charging HOT 4
- Km to Miles HOT 7
- Sensors etc. not being created HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fiatchamp.