impactoz
Full Member
Posts: 142
Raspberry Pi: Yes
|
Post by impactoz on Aug 7, 2019 21:34:42 GMT -8
I don't have a SHT30
The code for v42 appears to have some issues in error trapping - when I first run SkyWeather I see this enormous error screen...
It does not affect performance, cause any other issues - but for a new user it might be intimidating, considering the checks for all other devices are trapped and presented nicely...
I am getting;
as3935 present at 0x02
exception in SHT30 Check
Traceback (most recent call last):
File "SkyWeather.py", line 755, in <module>
outsideHumidity, outsideTemperature, crc_checkH, crc_checkT = sht30.fast_read_humidity_temperature_crc()
File "./SDL_Pi_SHT30/SHT30.py", line 227, in fast_read_humidity_temperature_crc
self._fast_read_data()
File "./SDL_Pi_SHT30/SHT30.py", line 78, in _fast_read_data
self._device.write_i2c_block_data(SHT30_I2CADDR,SHT30_READCOMMAND,[0x06])
IOError: [Errno 121] Remote I/O error
[Errno 121] Remote I/O error
after SHT30
|
|
|
Post by SDL on Aug 8, 2019 8:22:13 GMT -8
Impactoz,
Thank you! We will modify the code to remove that.
It is intimidating! We left in a debug statement in the detection routine.
BP
|
|
impactoz
Full Member
Posts: 142
Raspberry Pi: Yes
|
Post by impactoz on Aug 11, 2019 16:25:22 GMT -8
Not fixed in v43.... Only mentioning it in case you forgot to add it to the list... Maybe v44
|
|
|
Post by SDL on Aug 11, 2019 16:47:31 GMT -8
It is fixed in V043.
Would you post the error again and make sure you are running V043?
From V043:
except Exception as e:
config.SHT30_Present = False
#print "exception in SHT30 Check" #print(traceback.format_exc()) #print (e) We commented out the error reporting.
BP
|
|
impactoz
Full Member
Posts: 142
Raspberry Pi: Yes
|
Post by impactoz on Aug 11, 2019 18:15:16 GMT -8
You are correct that its fixed.... I scrolled back too far in the terminal window and was looking at the prior execution... lol
|
|