Skip to content
New issue

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

[modbus][sunspec] Fixed type and scale errors on acc32 fields #7826

Merged
merged 2 commits into from
Jun 1, 2020

Conversation

mrbig
Copy link

@mrbig mrbig commented May 31, 2020

This PR fixes some scaling errors in the modbus.sunspec bundle:

  • ACC32 fields were mistakenly parsed as unsigned int instead of signed
  • default scale value changed to 1
  • scaling was missing for 10^1 fields

ACC32 fields were mistakenly parsed as unsigned int instead of signed
default scale value is 10^0=1 now
scaling was missing for 10^1 fields

Signed-off-by: Nagy Attila Gabor <mrbig@sneaker.hu>
@TravisBuddy
Copy link

Travis tests were successful

Hey @mrbig,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

Copy link
Contributor

@cpmeister cpmeister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cpmeister
Copy link
Contributor

I wonder why it doesn't list you as codeowner of the files in this PR...
It might have to do with your entry in the CODEOWNERS file not being in the correct place. Can you fix it?

Seems like mrbig is not recognized as codeowner by github. Trying
to fix the alphabetic order to see if this helps


Signed-off-by: Nagy Attila Gabor <mrbig@sneaker.hu>
@mrbig mrbig requested a review from a team as a code owner June 1, 2020 07:55
@mrbig
Copy link
Author

mrbig commented Jun 1, 2020

I wonder why it doesn't list you as codeowner of the files in this PR...
It might have to do with your entry in the CODEOWNERS file not being in the correct place. Can you fix it?

Fixed the alphabetic order. Seems like to me that this fixed it.

@TravisBuddy
Copy link

Travis tests were successful

Hey @mrbig,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@cpmeister cpmeister merged commit 3269b45 into openhab:2.5.x Jun 1, 2020
@cpmeister cpmeister added the bug An unexpected problem or unintended behavior of an add-on label Jun 1, 2020
@cpmeister cpmeister added this to the 2.5.6 milestone Jun 1, 2020
J-N-K pushed a commit to J-N-K/openhab-addons that referenced this pull request Jul 14, 2020
…b#7826)

* [modbus][sunspec] Fixed type and scale errors on acc32 fields

ACC32 fields were mistakenly parsed as unsigned int instead of signed
default scale value is 10^0=1 now
scaling was missing for 10^1 fields

* [modbus][sunspec] Changed CODEOWNERS order

Seems like mrbig is not recognized as codeowner by github. Trying
to fix the alphabetic order to see if this helps

Signed-off-by: Nagy Attila Gabor <mrbig@sneaker.hu>
CSchlipp pushed a commit to CSchlipp/openhab-addons that referenced this pull request Jul 26, 2020
…b#7826)

* [modbus][sunspec] Fixed type and scale errors on acc32 fields

ACC32 fields were mistakenly parsed as unsigned int instead of signed
default scale value is 10^0=1 now
scaling was missing for 10^1 fields

* [modbus][sunspec] Changed CODEOWNERS order

Seems like mrbig is not recognized as codeowner by github. Trying
to fix the alphabetic order to see if this helps

Signed-off-by: Nagy Attila Gabor <mrbig@sneaker.hu>
Signed-off-by: CSchlipp <christian@schlipp.de>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
…b#7826)

* [modbus][sunspec] Fixed type and scale errors on acc32 fields

ACC32 fields were mistakenly parsed as unsigned int instead of signed
default scale value is 10^0=1 now
scaling was missing for 10^1 fields

* [modbus][sunspec] Changed CODEOWNERS order

Seems like mrbig is not recognized as codeowner by github. Trying
to fix the alphabetic order to see if this helps

Signed-off-by: Nagy Attila Gabor <mrbig@sneaker.hu>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
…b#7826)

* [modbus][sunspec] Fixed type and scale errors on acc32 fields

ACC32 fields were mistakenly parsed as unsigned int instead of signed
default scale value is 10^0=1 now
scaling was missing for 10^1 fields

* [modbus][sunspec] Changed CODEOWNERS order

Seems like mrbig is not recognized as codeowner by github. Trying
to fix the alphabetic order to see if this helps

Signed-off-by: Nagy Attila Gabor <mrbig@sneaker.hu>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
…b#7826)

* [modbus][sunspec] Fixed type and scale errors on acc32 fields

ACC32 fields were mistakenly parsed as unsigned int instead of signed
default scale value is 10^0=1 now
scaling was missing for 10^1 fields

* [modbus][sunspec] Changed CODEOWNERS order

Seems like mrbig is not recognized as codeowner by github. Trying
to fix the alphabetic order to see if this helps

Signed-off-by: Nagy Attila Gabor <mrbig@sneaker.hu>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
…b#7826)

* [modbus][sunspec] Fixed type and scale errors on acc32 fields

ACC32 fields were mistakenly parsed as unsigned int instead of signed
default scale value is 10^0=1 now
scaling was missing for 10^1 fields

* [modbus][sunspec] Changed CODEOWNERS order

Seems like mrbig is not recognized as codeowner by github. Trying
to fix the alphabetic order to see if this helps

Signed-off-by: Nagy Attila Gabor <mrbig@sneaker.hu>
DaanMeijer pushed a commit to DaanMeijer/openhab-addons that referenced this pull request Sep 1, 2020
…b#7826)

* [modbus][sunspec] Fixed type and scale errors on acc32 fields

ACC32 fields were mistakenly parsed as unsigned int instead of signed
default scale value is 10^0=1 now
scaling was missing for 10^1 fields

* [modbus][sunspec] Changed CODEOWNERS order

Seems like mrbig is not recognized as codeowner by github. Trying
to fix the alphabetic order to see if this helps

Signed-off-by: Nagy Attila Gabor <mrbig@sneaker.hu>
Signed-off-by: Daan Meijer <daan@studioseptember.nl>
markus7017 pushed a commit to markus7017/openhab-addons that referenced this pull request Sep 19, 2020
…b#7826)

* [modbus][sunspec] Fixed type and scale errors on acc32 fields

ACC32 fields were mistakenly parsed as unsigned int instead of signed
default scale value is 10^0=1 now
scaling was missing for 10^1 fields

* [modbus][sunspec] Changed CODEOWNERS order

Seems like mrbig is not recognized as codeowner by github. Trying
to fix the alphabetic order to see if this helps

Signed-off-by: Nagy Attila Gabor <mrbig@sneaker.hu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants