I'm seeing a couple of things on the new version (GroveWeatherPi 034)- this is on a Pi Zero W.
1st thing is the AM2315 is not seen every other time the Groveweather Pi code is run.
The 2nd is this ----------------- AM2315 Temperature/Humidity Sensor ----------------- 'NoneType' object has no attribute '__getitem__' File "/usr/local/lib/python2.7/dist-packages/apscheduler/executors/base.py", line 125, in run_job retval = job.func(*job.args, **job.kwargs) File "/home/pi/SDL_Pi_GroveWeatherPi/GroveWeatherPi.py", line 1376, in sampleAndDisplay outsideTemperature, outsideHumidity, crc_check = am2315.read_humidity_temperature_crc() File "./SDL_Pi_AM2315/AM2315.py", line 91, in read_humidity_temperature_crc self._read_data() File "./SDL_Pi_AM2315/AM2315.py", line 63, in _read_data self.humidity = ((tmp << 8) | tmp) / 10.0
Searching I found that it happened 446 time in 1654 reads
Still getting (thread?) errors on the INA3221 reads (not all of them).
Last Edit: Nov 18, 2018 13:08:58 GMT -8 by doxidad
The current SDL AM2315 driver with the comment "modified for GroveWeatherPi to return CRC information" dated 2019 is not python3 ready, even though this is indicated in the Github version 1.3 comments.
I had to change two "<>" compares to "!=", and change most of the print statements. Easy changes and it works with the test program for both python2 and python3. For python3 you have to add a powerpin designation. I used a 1 and it worked.
Be glad to share my changes if you want, Just need an easy way for a novice in this environment to send you the file.
I'm slowly migrating my weather station code, based upon yours, to run under python3. Great learning experience. Enjoy your products.