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

Add dynamic ports for 8000 #123

Merged
merged 1 commit into from
Jul 26, 2023
Merged

Add dynamic ports for 8000 #123

merged 1 commit into from
Jul 26, 2023

Conversation

pergolafabio
Copy link
Owner

@pergolafabio pergolafabio commented Jul 26, 2023

Hey @mion00 , created this PR, can you have a look?
Added optional port for hikvisin devices, for users not using 8000 => i think this one is OK
Added option for docker users to define an mqtt port, default is 1883 now, but for some reason, if i change in my environment like below "9999", it still uses "1883" , somewhere its still hardcoded?

# Connection to MQTT broker
MQTT__HOST=192.168.0.17
# Optionals:
MQTT__PORT=9999
MQTT__USERNAME=xx
MQTT__PASSWORD=yy

@pergolafabio pergolafabio requested a review from mion00 July 26, 2023 11:18
@pergolafabio pergolafabio linked an issue Jul 26, 2023 that may be closed by this pull request
1 task
@mion00
Copy link
Collaborator

mion00 commented Jul 26, 2023

To configure the MQTT port we need unixorn/ha-mqtt-discoverable#91

@pergolafabio
Copy link
Owner Author

ah i see, not possible for the moment then

@pergolafabio
Copy link
Owner Author

But if i use the addon condig, to define a manual broker, then i can setup a port , how come its not possible when its running as standalone container?

@pergolafabio pergolafabio merged commit 425602f into dev Jul 26, 2023
10 checks passed
@pergolafabio pergolafabio deleted the feat/dynamic_ports branch July 26, 2023 12:09
@pergolafabio pergolafabio changed the title Add dynamic ports for 8000 and 1883 Add dynamic ports for 8000 Jul 26, 2023
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

Successfully merging this pull request may close these issues.

Make port 8000 configurable
2 participants