POC: Implementiere MqttSignalduino_DispatchFromJSON#14
Open
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #14 +/- ##
==========================================
- Coverage 80.77% 80.63% -0.15%
==========================================
Files 57 60 +3
Lines 5546 5949 +403
Branches 603 630 +27
==========================================
+ Hits 4480 4797 +317
- Misses 853 924 +71
- Partials 213 228 +15
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Collaborator
Author
|
Ich hab die "einfache" FHEM Variante mal rudimentär (also dirty & quick) implementiert. |
… von JSON-Nachrichten und aktualisiere die FHEM-Konfiguration
added 3 commits
January 11, 2026 22:14
…ktur und -klarheit; entferne Preamble aus Payload und füge neues Feld 'raw' hinzu
added 2 commits
January 13, 2026 21:56
- Updated the response parser to support additional delimiters (`;` and `=`) for better command matching. - Implemented strict prefix matching to prevent incorrect command matches. - Introduced a new logging mechanism to clean payloads by removing preambles before logging. - Added functionality to skip publishing messages with empty or invalid data. - Ensured JSON output for MQTT messages is compact to maintain compatibility with brokers. - Added tests to verify the new parsing logic and ensure robustness against invalid payloads. - Refactored MQTT publisher to handle raw lines and improved error handling for empty payloads.
…chiebe Preamble und Modulationsfelder ins Protokollobjekt
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Beispielhafte Implementierung von MqttSignalduino_DispatchFromJSON um W125 Nachrichten in FHEM an das SD_WS Modul weiterleiten zu können:
Demo:
