I have been using Mycodo for a couple of years now and it has worked very well, I love it. Recently my AM2301 sensor died so I bought a replacement. Even though it is labelled as AM2301 the sensor inside is SI7021.
Upon further research it appears Sonoff at some point switched to using this SI7021 instead of AM2301 for temp/humidity . I bought 2 more sensors labelled as AM2301 but they both also have SI7021 inside so it does not work with Mycodo.
Is it possible to request that this sensor be added as an input?
A recent circuitpython library exists (adafruit-circuitpython-si7021 · PyPI) so it shouldn’t be too difficult to modify another temp/hum circuitpython library to use this library.
Thank you. I took a look at the link. Is this something that I would need to do myself? I am a much better grower than I am a coder lol.
The instructions at the link you posted seems like something I could follow but what would be needed after that to be able to use it within Mycodo for my conditional functions. How does it get added as an input?
Sorry if these questions are rudimentary but I am a novice.
I upgraded to Master, no errors and there is an input for Si7021.
When I attempted to add the input I could not as it is listed as [I2C] but it is the same as the AM2301 sensor and plugs into the Sonoff TH16. I need to use the IP address of the Sonoff as the address of the sensor.
Thank you that is now working. At first it was not pulling any data but once I forced it to acquire the measurements it started and is now pulling continuous live data
Thanks again for this great software I have made a small donation, get yourself a six pack