Post by coloradokb on May 31, 2017 6:27:31 GMT -8
I've come across something odd...and it's 100% consistent. Upon starting up the GroveWeather.py file sometimes all works fine, but now what I see most of the time is the lightning detector (mod-1016G) producing, over and over, "as3935 Interrupt." Eg:
python GroveWeatherPi.py
Error accessing 0x48: Check your I2C address
Error accessing 0x48: Check your I2C address
Type Error
WXLink Reset
as3935 Interrupt
as3935 Interrupt
as3935 Interrupt....indefinitely.
However, sometimes it works correctly -- although, not sure if the 0x48 Err is ok, but it has worked:
Error accessing 0x48: Check your I2C address
Error accessing 0x48: Check your I2C address
Type Error
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: 03 -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- 73 -- -- -- --
as3935 Interrupt
GroveWeatherPi Solar Powered Weather Station Version 2.3 - SwitchDoc Labs
Program Started at:2017-05-31 07:40:33
as3935 Interrupt
----------------------
I2C Mux - TCA9545: Present
BMP280: Present
DS3231: Present
HTU21DF: Not Present
AM2315: Present
ADS1015: Not Present
ADS1115: Not Present
AS3935: Present
OLED: Not Present
SunAirPlus: Not Present
WXLink: Not Present
UseMySQL: Present
Check WLAN: Present
WeatherUnderground: Present
I've attached (mux_output.txt) the output of the Mux board test. I've tried every permutation I can think of on the connections, rebooted, powered-off and let sit for hours, etc., thinking the lightning detector needs to reset, but I'm quite confused.
My guess is it lies in how I have the sensors wired onto the Mux board. Any ideas or thoughts?
python GroveWeatherPi.py
Error accessing 0x48: Check your I2C address
Error accessing 0x48: Check your I2C address
Type Error
WXLink Reset
as3935 Interrupt
as3935 Interrupt
as3935 Interrupt....indefinitely.
However, sometimes it works correctly -- although, not sure if the 0x48 Err is ok, but it has worked:
Error accessing 0x48: Check your I2C address
Error accessing 0x48: Check your I2C address
Type Error
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: 03 -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- 73 -- -- -- --
as3935 Interrupt
GroveWeatherPi Solar Powered Weather Station Version 2.3 - SwitchDoc Labs
Program Started at:2017-05-31 07:40:33
as3935 Interrupt
----------------------
I2C Mux - TCA9545: Present
BMP280: Present
DS3231: Present
HTU21DF: Not Present
AM2315: Present
ADS1015: Not Present
ADS1115: Not Present
AS3935: Present
OLED: Not Present
SunAirPlus: Not Present
WXLink: Not Present
UseMySQL: Present
Check WLAN: Present
WeatherUnderground: Present
I've attached (mux_output.txt) the output of the Mux board test. I've tried every permutation I can think of on the connections, rebooted, powered-off and let sit for hours, etc., thinking the lightning detector needs to reset, but I'm quite confused.
My guess is it lies in how I have the sensors wired onto the Mux board. Any ideas or thoughts?