Post by jmaurin on Aug 24, 2017 6:16:01 GMT -8
Hi!
I'm trying to make GroveWeatherPi work with my setup, but I found something that I think it's a bug in code.
With default code, everything works fine (default code from github). But If I disable lightning sensor (which I don't have), program doesn't run anymore and return an error. I also don't have solar panel/sunairplus, plus disabling this program still works.
This is the error:
Also, is there any grapfical interface for data store in mysql? Not raspiconnect, but just a local GUI (PHP, python, etc..) to show local mysql data using web brownser.
I'm trying to make GroveWeatherPi work with my setup, but I found something that I think it's a bug in code.
With default code, everything works fine (default code from github). But If I disable lightning sensor (which I don't have), program doesn't run anymore and return an error. I also don't have solar panel/sunairplus, plus disabling this program still works.
This is the error:
pi@weatherpi:~/SDL_Pi_GroveWeatherPi $ sudo python GroveWeatherPi.py
>>>>>>>>>>>>>>>>>>><<<<<<<<<<<
TCA9545 I2C Mux Not Present
>>>>>>>>>>>>>>>>>>><<<<<<<<<<<
Error accessing 0x48: Check your I2C address
Error accessing 0x48: Check your I2C address
Type Error
WXLink Reset
GroveWeatherPi Solar Powered Weather Station Version 2.95 - SwitchDoc Labs
Program Started at:2017-08-24 14:09:05
----------------------
I2C Mux - TCA9545: Not Present
BMP280: Present
DS3231: Present
HDC1080: Not Present
HTU21DF: Not Present
AM2315: Present
ADS1015: Not Present
ADS1115: Not Present
AS3935: Not Present
OLED: Not Present
SunAirPlus: Not Present
Sunlight Sensor: Not Present
WXLink: Not Present
UseMySQL: Present
Check WLAN: Present
WeatherUnderground: Not Present
----------------------
sendmail exception raised
-----------------
Scheduled Jobs
-----------------
Jobstore default:
sampleAndDisplay (trigger: interval[0:00:10], next run at: 2017-08-24 14:09:17 UTC)
patTheDog (trigger: interval[0:00:10], next run at: 2017-08-24 14:09:17 UTC)
blinkSunAirLED2X (trigger: interval[0:00:10], next run at: 2017-08-24 14:09:17 UTC)
tick (trigger: interval[0:01:00], next run at: 2017-08-24 14:10:07 UTC)
sampleWeather (trigger: interval[0:05:00], next run at: 2017-08-24 14:14:07 UTC)
sampleSunAirPlus (trigger: interval[0:05:00], next run at: 2017-08-24 14:14:07 UTC)
writeWeatherRecord (trigger: interval[0:05:00], next run at: 2017-08-24 14:14:07 UTC)
writePowerRecord (trigger: interval[0:05:00], next run at: 2017-08-24 14:14:07 UTC)
updateRain (trigger: interval[0:05:00], next run at: 2017-08-24 14:14:07 UTC)
checkForShutdown (trigger: interval[0:05:00], next run at: 2017-08-24 14:14:07 UTC)
sampleWeather (trigger: interval[0:15:00], next run at: 2017-08-24 14:24:07 UTC)
sampleSunAirPlus (trigger: interval[0:15:00], next run at: 2017-08-24 14:24:07 UTC)
doAllGraphs (trigger: interval[0:15:00], next run at: 2017-08-24 14:24:07 UTC)
WLAN_check (trigger: interval[0:30:00], next run at: 2017-08-24 14:39:07 UTC)
-----------------
Traceback (most recent call last):
File "GroveWeatherPi.py", line 1818, in <module>
if (as3935Interrupt == True):
NameError: global name 'as3935Interrupt' is not defined
Also, is there any grapfical interface for data store in mysql? Not raspiconnect, but just a local GUI (PHP, python, etc..) to show local mysql data using web brownser.