-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add NFC tag MQTT ignore option (#147)
### TL;DR Added a new option to ignore NFC tag MQTT publishing ### What changed? - Added a new toggle in the MQTT configuration page to enable/disable NFC tag MQTT publishing - Introduced `nfcTagNoPublish` boolean flag in the ESP configuration - Added corresponding HTML processing and form handling for the new setting ### How to test? 1. Navigate to the MQTT configuration page 2. Locate the new "Ignore NFC Tags" dropdown under Core Topics 3. Toggle between Enabled/Disabled states 4. Save the configuration 5. Verify that NFC tag events are published or suppressed based on the selected setting ### Why make this change? This change provides users with the ability to control whether NFC tag events are published via MQTT, offering more granular control over MQTT traffic and potentially reducing unnecessary network communication when NFC tag publishing isn't needed.
- Loading branch information
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters