Skip to content
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

fiatchamp does not work in a standalone container #59

Open
marcobto58 opened this issue Sep 12, 2023 · 2 comments
Open

fiatchamp does not work in a standalone container #59

marcobto58 opened this issue Sep 12, 2023 · 2 comments

Comments

@marcobto58
Copy link

marcobto58 commented Sep 12, 2023

HI
Congratulations for the excellent work.
I would like to migrate home assistant from the supervised version (where it works perfectly) to the one that uses containers.
Unfortunately I can't if I can't get Fiatchamp to work
I tried using the example configuration. I generated the token but I get this error:

ERROR: Call failed. Resource temporarily unavailable (supervisor:80): GET http://supervisor/core/api/states

see logs attached

Thanks in advance

portainer.fiatchamp.log

_FiatChamp_logs.txt

Originally posted by @marcobto58 in #22 (comment)

@wubbl0rz
Copy link
Owner

wubbl0rz commented Sep 18, 2023

i think you need to set these two environment variables in your docker config.

export FiatChamp_HomeAssistantUrl="https://hass.example.com"

and the token for the home assistant api.

export FiatChamp_SupervisorToken="jhiswgfrhjsfgdhjsgfhjfgsjhfghjfgshjgfhjfgdhjfgdhjgdf"

im not really sure 🤔 the problem is the standalone mode was not planned to be used and exists only that i can test it locally without loading a new addon in home assistant everytime. but im working on the next version which can be used both as standalone or as home assistant addon. with its own minimal webinterface for configuration.

@marcobto58
Copy link
Author

Thanks for the reply
with the simple url of home assistant (without references to the supervisor path) it now works!!!
Great!!
I look forward to the next standalone version.

Thank you

Marco

hkuehl added a commit to hkuehl/FiatChamp that referenced this issue Aug 25, 2024
Gave me an error that I discovered described in this issue: wubbl0rz#59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants