Skip to content

DHT22 and Ardunio Issue #9

@mexicanhaze

Description

@mexicanhaze

When a DHT22 sensor is connected on an Arduino it gives out false readings (with a temperature usually at 0°C)
Putting model='22' in the init and if len(self.type) == 2 in init_sensor solves the issue but probably prevents other sensor types from working , I don't know as I don't have any others to test
https://cdn.discordapp.com/attachments/614176724938129408/729429116201467924/unknown.png

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions