question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement Sub Labels to MQTT Events

See original GitHub issue

Describe what you are trying to accomplish and why in non technical terms I would like to see a sub-label field added to MQTT events

Describe the solution you’d like Currently we have: label: person I would like: label: person sub_label: rogue1198136

Describe alternatives you’ve considered Alternatively I could settle for an option to have: label: person rogue1198136

Additional context I want to be able to have a Home Assistant automation that notifies of the specific person seen.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
NickM-27commented, Sep 23, 2022

Yes, it’s important to point out that it will be included in the next MQTT update. It will not send out an update when the sub label is set.

And yes I already tried that syntax as part of testing this PR and it works well

1reaction
NickM-27commented, Sep 23, 2022

Okay I think I got it figured out

Read more comments on GitHub >

github_iconTop Results From Across the Web

MQTT Client and Broker and MQTT Server and Connection ...
The publisher and subscriber labels refer to whether the client is currently publishing messages or subscribed to receive messages (publish and ...
Read more >
The Guide to MQTT Broker - Catchpoint Systems
Using MQTT brokers to enable the publish/subscribe (pub/sub) communication model helps make MQTT a highly efficient and scalable protocol.
Read more >
MQTT client examples - Cumulocity IoT Guides
In this tutorial, you will learn how to use MQTT with Cumulocity IoT using pre-defined messages (called “static templates”). Prerequisites. In order to...
Read more >
Message Publishing & Subscribing - Steve Kemp
Messages are free-form strings, and topics are arbitrary labels. ... with the server programatically, via Perl, you can use the Net::MQTT::Simple library.
Read more >
Announcing Pub/Sub: Programmable MQTT-based Messaging
Publish event, telemetry or sensor data from any MQTT capable client (and in the future, other client-facing protocols); Write code that can ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found