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

User/password fhem webgui #63

Open
tompsg-git opened this issue Dec 11, 2022 · 3 comments
Open

User/password fhem webgui #63

tompsg-git opened this issue Dec 11, 2022 · 3 comments

Comments

@tompsg-git
Copy link

Can you please add an Option to define user/password for webgui in config.json?

"connections": [
{
"name": "FHEM",
"webname": "fhem",
"filter": "alexaName=..*",
"uid": "6062",
"port": "8083",
"server": "fhem",
"auth": {"user": "fhemuser", "pass": "fhempass"}
}

@sidey79
Copy link
Contributor

sidey79 commented Dec 11, 2022

You can add anything to config.json that is supported by alexa-fhem itself.

What exactly do you mean witch an option to define those settings?

@tompsg-git
Copy link
Author

It was not so easy to edit the config.json because of the missing editor in the container. So it would be easier to use an environment variable to initially set user and pass.

I have solved it, but it would easier for others.

@sidey79
Copy link
Contributor

sidey79 commented Dec 11, 2022

ok i think i understood the issue, but be arware that you loose your configuration if you edit it inside the container.
i recommend using a mount from outside the container.

volumes:
      - "./alexa-fhem/:/alexa-fhem/"

But i can think about an environment variable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants