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

unable to define MQTT server in config #2

Open
ppitkin opened this issue Nov 22, 2022 · 1 comment
Open

unable to define MQTT server in config #2

ppitkin opened this issue Nov 22, 2022 · 1 comment

Comments

@ppitkin
Copy link

ppitkin commented Nov 22, 2022

Set entering the setup for the config I switch to the yaml view and enter the mqtt setting as detailed in the example file (but using of course my server name and login etc). Once I save it move the mqtt section to the end of the file and restarts the service.

Upon checking the log file I see that it has accepted all my settings APART from the mqtt setting which it has set back to your defaults.

As my MQTT is running on a separate server you defaults don't work for me.
Is this a bug - or is it me doing something stupid.

@m1schka
Copy link

m1schka commented Aug 9, 2023

if you use the HA mqtt add on, this gets configured automatically

e.g

[12:45:14] INFO: Configuration:
{
  "dtu": {
    "host": "192.168.1.20",
    "port": 10081
  },
  "app": {},
  "app_mode_active": {},
  "app_mode_passive": {},
  "mqtt": {
    "host": "core-mosquitto",
    "port": "1883",
    "username": "addons",
    "password": "redacted"
  }
}

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

No branches or pull requests

2 participants