hassio-addons / addon-appdaemon3

AppDaemon3 - Home Assistant Community Add-ons
https://addons.community
MIT License
41 stars 12 forks source link

cant change Host network port for the web interface #48

Closed gnkarn closed 5 years ago

gnkarn commented 5 years ago

Problem/Motivation

while chasing a problem with hadasboard , i have identified that the problem was related to overlapping ports between traccar and appdaemon . by changing apdaemon host port to 6050 didnt solve the problem , so started to scan my ports and realize that appdaemon was not opening 6050 , it seams that changing the port on the config interface is not changing the port internally (?).

if first starting traccar , appdaemon wont even start.

when stopping traccar and then first starting appdaemon , the dashboards returned to work as normal, and also traccar seams to work fine .

So starting order of these two addons seams to matter in my case.

so in the end what i did was to load appdaemon on start , and leave traccar for manual start later .

Expected behavior

(What you expected to happen)

Actual behavior

(What actually happened)

Steps to reproduce

(How can someone else make/see it happen)

Proposed changes

(If you have a proposed change, workaround or fix, describe the rationale behind it)

addons-assistant[bot] commented 5 years ago

:wave: Thanks for opening your first issue here! If you're reporting a :bug: bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be usefull.

frenck commented 5 years ago

It can be changed via the "Network Config" section in the add-on configuration of the Hass.io panel. Leave the port as is in the AppDaemon config.

gnkarn commented 5 years ago

yes Frenck , what i was saying is that even changing the "network config" it doesn't really change ( doesn't take effect after changing and restarting) .

frenck commented 5 years ago

Just tested with the v4.0.0 release of the add-on:

image

image

image

gnkarn commented 5 years ago

absolutletly right, i stopped traccar, and it works fine , i do not understand the conflicts with tracccar , couldn't make it to take less ports , there is not direct mention about it on the traccar config page , it only mentions the normal ports , so it would use 2 ports not 180 ..

addons-assistant[bot] commented 5 years ago

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.