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 with password #39

Open
bartsnijder opened this issue Dec 10, 2023 · 1 comment
Open

MQTT with password #39

bartsnijder opened this issue Dec 10, 2023 · 1 comment

Comments

@bartsnijder
Copy link

Hi!
Like the work that is done here; liking each attempt to move IOT control without internet dependencies.
My MQTT server needs a password. This seems already implemented in https://github.com/bruestel/hcpy (forked).
I'm new to github. Can I suggest the edits necessary to apply user/pwd to the mqtt server myself or is there a main driver for this project?
Thanks!

@pmagyar
Copy link

pmagyar commented Dec 10, 2023

Hey,
just had the same problem today and found the PR #25
You can just copy the file https://github.com/osresearch/hcpy/blob/81d493834a92e6719f89e3cf7b7cfea7fa4a2c31/hc2mqtt
and replace the current hc2mqtt file.
Worked for me and code looks fine.

The parameters are:
--mqtt_username
and
--mqtt_password

@osresearch can you review the pr too and merge it?

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