Skip to content

Incorrect Temp Values on Hubitat platform #2

@MacWoodworking

Description

@MacWoodworking

I am getting incorrect Temp Values using this driver on Hubitat. I tracked down the issue to the byte ordering of the temp value returned from the sensor.

changing line 340 from
def value = getTemperature(descMap.value)
to
def value = getTemperature(swapEndianHex(descMap.value))

corrects the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions