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

Port 9541 conflicts with TasmoAdmin HA Add-on #52

Open
42Network opened this issue Nov 23, 2021 · 3 comments
Open

Port 9541 conflicts with TasmoAdmin HA Add-on #52

42Network opened this issue Nov 23, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@42Network
Copy link

Hello. It seems you chose the same port number 9541 as TasmoAdmin. I changed the port to 8541 in config settings, and the emoncms addon starts, but the link on the Info page for "Open Web UI" is hardcoded to 9541.

Can you make this "Open Web UI" link dynamic to automatically pickup the changed port number?

Thanks

@inverse inverse added the enhancement New feature or request label Nov 23, 2021
@inverse
Copy link
Owner

inverse commented Nov 23, 2021

Not aware of a way that can be done but I'll happily accept a pull request to change it.

I'm not entirely sure how to avoid port mapping conflicts - I know there is some ingress functionality that could be leveraged perhaps but I didn't dig much into that yet.

@42Network
Copy link
Author

As a workaround, and to get EmonCMS to appear in the Homeassistant sidebar, I added a stanza in my configuration.yaml file for it, along with TasmoAdmin, thus:

panel_iframe:
  tasmoadmin:
    title: TasmoAdmin
    icon: mdi:lightbulb-on
    url: http://w.x.y.z:9541
  emoncms:
    title: EmonCMS
    icon: mdi:power-socket-us
    url: http://w.x.y.z:8541

@42Network
Copy link
Author

Also, I think the hardcoded 9541 is on line 7 in file emoncms/config.json:

  "webui": "[PROTO:ssl]://[HOST]:[PORT:9541]",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants