Skip to content

Models: Limit Measurement Value to Min/Max Value#18

Open
sanssecours wants to merge 1 commit intomainfrom
📐

Hidden character warning

The head ref may contain hidden characters: "\ud83d\udcd0"
Open

Models: Limit Measurement Value to Min/Max Value#18
sanssecours wants to merge 1 commit intomainfrom
📐

Conversation

@sanssecours
Copy link
Member

Description

While testing I noticed that for

  • an ADC channel that returns very low 16 bit values, and
  • a sensor with the sensor id acc100g_01

the API was returning values below -100g. I assume the reason behind this is the offset value of 125.0. If the offset is correct, then I still think values below the minimum or above the physical max value are quite unexpected. This is why I opened this pull request. Can you please take a look at the changes Moritz and maybe explain why the current offset is 125 and not 100?

@sanssecours sanssecours requested a review from wementoat February 4, 2026 15:24
@sanssecours sanssecours added the enhancement New feature or request label Feb 4, 2026
@sanssecours sanssecours added this to the 0.2.0 milestone Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant