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 LWT_TOPIC #6

Closed
Bolukan opened this issue Jun 18, 2023 · 3 comments
Closed

Add LWT_TOPIC #6

Bolukan opened this issue Jun 18, 2023 · 3 comments

Comments

@Bolukan
Copy link

Bolukan commented Jun 18, 2023

Could you add the LWT_TOPIC which default is home/TheengsGateway/LWT to the supported environment variables as I prefer a different topic.

If you are (too) busy, but accept a pull request, let me know.

Thx!

@maretodoric
Copy link
Owner

You could add environment variable PARAMS to your docker-compose or via command line to be something like this:
" --lwt_topic " and it will be appended at runtime.

I'm no longer maintaining this one as i believe theengs forked this repo and now their maintaining their version of docker here:
https://github.com/theengs/gateway-docker

@Bolukan
Copy link
Author

Bolukan commented Jun 18, 2023

Ok thx for responding so quick...

The story continues: theengs/gateway#144

@Bolukan Bolukan closed this as completed Jun 18, 2023
@Bolukan
Copy link
Author

Bolukan commented Jun 18, 2023

PS: I applied the quick fix and it works:

      LWT_TOPIC: ble/theengs/LWT              # does NOT work
      PARAMS: --lwt_topic ble/theengs/LWT

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