You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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.
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.
Activity
kelnos commentedon Oct 16, 2023
Probably? I don't have that device, so someone else would have to write it and test it.
step21 commentedon Oct 18, 2023
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.
kelnos commentedon Oct 19, 2023
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.
step21 commentedon Oct 19, 2023
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.