FiatChamp
FiatChamp copied to clipboard
fiatchamp does not work in a standalone container
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
Originally posted by @marcobto58 in https://github.com/wubbl0rz/FiatChamp/issues/22#issuecomment-1713751717
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 :thinking: 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.
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