Skip to content

dht20 support #5

Open
Open

Description

@step21

Could this potentially be extended to support dht20/aht20?
At least the dht20 version looks very similar/has the same pinout as far as I know. But if the protocol is also similar I do not know.

Activity

  1. kelnos commented on Oct 16, 2023

    @kelnos
    Owner

    Probably? I don't have that device, so someone else would have to write it and test it.

  2. step21 commented on Oct 18, 2023

    @step21
    Author

    I have it now. Though first have to rewrite the main things in rust. One thing I noticed which could be a reasons against including support here, is that the newer part uses i2c instead, so has a different protocol and different connections.

  3. kelnos commented on Oct 19, 2023

    @kelnos
    Owner

    I'm fine in principle with an i2c device being supported here. The different device types have their own constructors, so it's not like you'd have to create it in a weird way. If the internals have to be refactored a bit, that's fine.

  4. step21 commented on Oct 19, 2023

    @step21
    Author

    Sounds good. Next thing will be to hook up the sensor to the existing device, which will also take some recabling (so far it used a dht22). I'm not sure how long that will take me, but if it's fine with you I would leave this issue open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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