Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

MQTT retain setting per item in Gateway config [feat] #883

Open
chrish987 opened this issue Jan 20, 2021 · 3 comments
Open

MQTT retain setting per item in Gateway config [feat] #883

chrish987 opened this issue Jan 20, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@chrish987
Copy link

It would be nice to be able to set the RETAIN flag on a per message basis in the gateway config rather than just globally. Some messages (e.g. light status) are more relevant for retained messages than others (e.g. a PIR motion alert).

Setting could either replace or override the global setting in MQTT config.

Not sure if this is useful for others, I am using the software with all messages manually configured in the gateway. I use node-red for most of the workflow items, driven from Zwave2Mqtt messages, with retain every time node-red restarts or deploys it reloads the messages and runs any workflows. Can put a check in the node-red code on message age, but nicer to be able to configure as required at source.

@chrish987 chrish987 added the enhancement New feature or request label Jan 20, 2021
@robertsLando
Copy link
Member

@chrish987 Could you move this request to https://github.com/zwave-js/zwavejs2mqtt?

@chrish987
Copy link
Author

will do. is the other project now the focus?

@robertsLando
Copy link
Member

Yep, it is

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants