Skip to content

Raw-value analog virtual sensors should return percentage instead of integer values #25

Description

@bfrggit

Analog sensors that return raw values should read percentage like 0.0 ~ 100.0, instead of integer values like 0 ~ 1023 (current implementation).
Therefore if we get different or more accurate ADCs we don't need to rewrite second-level virtual sensors like TemperatureHighVirtualSensor, LightFlashVirtualSensor, etc.

Not urgent, but should change at some point, and upgrade all devices together in order to avoid confusion on sensor readings.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions