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

Added Possibility to filter incoming messages for MQTT subscriber #1444

Merged
merged 3 commits into from
Sep 23, 2014
Merged

Added Possibility to filter incoming messages for MQTT subscriber #1444

merged 3 commits into from
Sep 23, 2014

Conversation

Lenzebo
Copy link
Contributor

@Lenzebo Lenzebo commented Sep 20, 2014

If multiple types of messages are broadcasted on one MQTT topic, then this change allows to just process messages that match a regular expression and skip all the others

Thus the binding configuration for incoming messages is extended by a fifth (optional) field that defines a regular expression. like:
mqtt="<[<broker>:<topic>:<type>:<transformer>[:<regexfilter>]]

@buildhive
Copy link

openhab » openhab #1205 UNSTABLE
Looks like there's a problem with this pull request
(what's this?)

@teichsta
Copy link
Member

Hi @Lenzebo, many thanks for this contribution. Please reformat your code according to the Eclipse Code Formatter. Thanks, Thomas E.-E.

@buildhive
Copy link

openhab » openhab #1208 UNSTABLE
Looks like there's a problem with this pull request
(what's this?)

@buildhive
Copy link

openhab » openhab #1211 SUCCESS
This pull request looks good
(what's this?)

@teichsta teichsta added this to the 1.6.0 milestone Sep 23, 2014
teichsta added a commit that referenced this pull request Sep 23, 2014
Added Possibility to filter incoming messages for MQTT subscriber
@teichsta teichsta merged commit f63b0ca into openhab:master Sep 23, 2014
johgoe pushed a commit to johgoe/openhab that referenced this pull request Jan 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants