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

MQTT login username from config.yaml mismatch in code #59

Closed
tommyjlong opened this issue Mar 24, 2018 · 2 comments
Closed

MQTT login username from config.yaml mismatch in code #59

tommyjlong opened this issue Mar 24, 2018 · 2 comments

Comments

@tommyjlong
Copy link

config.yaml
mosquitto login user name is "username".

In /cmd_line/util.py line 26, 27
change:
if config["mqtt"].get("user", None):
user = config["mqtt"]["user"]
to:
if config["mqtt"].get("username", None):
user = config["mqtt"]["username"]

@lizaoreo
Copy link

If I wanted to make the changes myself, would I just navigate to /opt/insteon-mqtt/lib/python3.5/site-packages/insteon_mqtt/cmd_line, open up and edit the lines in util.py to reflect the changes and be done? Or is there some kind of compile process to reflect the changes in the actual program?

TD22057 added a commit that referenced this issue Mar 30, 2018
@TD22057
Copy link
Owner

TD22057 commented Mar 30, 2018

@lizaoreo - yes you can just edit the file and it work fine. Or you can download the dev branch which now as the fix in it.

@TD22057 TD22057 closed this as completed Mar 30, 2018
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

3 participants