Repository navigation
Kaifa KFM_001 with OBIS codes: scale voltage and current when no scaler is sent - #1291
Merged
Merged
Conversation
…er is sent Swedish Kaifa meters (MA304H4 and others, #242, #558, #629) send the KFM_001 list with OBIS codes but no scaler, so the OBIS path read voltage in 0.1 V and current in 0.001 A as V and A (2322 V, 32 A). The positional KFM_001 path used by Norwegian meters already applies /10 and /1000. The scaling is applied only when the list id is KFM_001, the voltage value has no scaler, and the user has not set a voltage/amperage multiplier. Users who already compensate with multipliers keep their readings unchanged. Austrian Kaifa (scaler present, no KFM_001 id) and Norwegian Kaifa are not affected. gh242-1: 232.2 V / 0.032 A (was 2322 V / 32 A). gh242-2, gh493-1, gh539-4 unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LAhKXXvV3q3Ro13EackZPq
See the first commit on this branch for the rationale. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LAhKXXvV3q3Ro13EackZPq
gh242-1: 232.2 V / 0.03 A (was 2322 V / 32 A). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LAhKXXvV3q3Ro13EackZPq
Part of: #905 is not from Poland, Polish Kaifa (#986, #1067) uses encrypted DSMR/P1. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LAhKXXvV3q3Ro13EackZPq
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LAhKXXvV3q3Ro13EackZPq
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LAhKXXvV3q3Ro13EackZPq
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LAhKXXvV3q3Ro13EackZPq
🔧 PR Build ArtifactsVersion: All environments built successfully. Download the zip files:
|
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.
Swedish Kaifa meters (MA304H4 and others, #242, #558, #629) send the KFM_001 list with OBIS codes but without a scaler. The OBIS path then reads voltage (0.1 V) and current (0.001 A) as V and A: 2322 V, 32 A. Users have been told to set multipliers V 0.1 / A 0.001. The positional KFM_001 path used by Norwegian meters already applies /10 and /1000.
The scaling is applied only when all of these hold:
KFM_001(0.2.129)Users who already compensate with multipliers keep their readings. Energy counters are not touched.
Only one Swedish source frame exists in the corpus (#242, rebuilt from the DSO's annotated breakdown); other Swedish DSOs may differ.
Also on this branch: fixture metadata fix.
gh905-1is a raw M-Bus capture and the reporter is not in Poland. The Polish Stoen Kaifa meters in the corpus use encrypted P1/DSMR (#986, #1067). Manifest updated accordingly.(The web editor also added a final newline to IEC6205675.cpp and manifest.json.)
🤖 Generated with Claude Code
https://claude.ai/code/session_01LAhKXXvV3q3Ro13EackZPq