We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Negative current values are not correct.
-1.0A is showed as -2999,000 A
Current Phase 1 2,600 A 2,6A Current Phase 2 −2 998,800 A -1,2A Current Phase 3 −2 999,100 A -0,9A
The text was updated successfully, but these errors were encountered:
Made a small fix for this because simpleatof() doesn't handle negative values.
void parseRow(const char* obisCode, const char* value) { double obisValue; char tmp[16]; strcpy(tmp, value); if (tmp[0] == '-') { tmp[0] = '0'; obisValue = -simpleatof(tmp); } else { obisValue = simpleatof(tmp); } parseRow(obisCode, obisValue); }
Sorry, something went wrong.
No branches or pull requests
Negative current values are not correct.
-1.0A is showed as -2999,000 A
Current Phase 1 2,600 A 2,6A
Current Phase 2 −2 998,800 A -1,2A
Current Phase 3 −2 999,100 A -0,9A
The text was updated successfully, but these errors were encountered: