Post by willh on May 24, 2018 17:01:30 GMT -8
Hey SDL-In the final stretch of setting up my kickstarter-I realized late last night that I had the 2016 instructions printed out not the latest. The bus mapping chart was great-I didn't have Solar or internal temp/humidity hence why they were missing lol.
I've pulled down the git repository, installed the software in the readme, configured SQL, enabled/setup I2C and have tested it fine but am running into the below issue when I run it manually. I've confirmed that WeatherCommand.txt exists-it has DONE in it when I opened it.
pi@PiWeather:~/Downloads/SDL_Pi_GroveWeatherPi $ sudo python GroveWeatherPi.py
GroveWeatherPi Solar Powered Weather Station Version 2.99 - SwitchDoc Labs
Program Started at:2018-05-24 20:42:15
----------------------
I2C Mux - TCA9545: Present
BMP280: Present
DS3231: Present
HDC1080: Not Present
HTU21DF: Not Present
AM2315: Present
ADS1015: Not Present
ADS1115: Present
AS3935: Present
OLED: 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: 2018-05-24 20:42:27 EDT)
patTheDog (trigger: interval[0:00:10], next run at: 2018-05-24 20:42:27 EDT)
blinkSunAirLED2X (trigger: interval[0:00:10], next run at: 2018-05-24 20:42:27 EDT)
tick (trigger: interval[0:01:00], next run at: 2018-05-24 20:43:17 EDT)
sampleWeather (trigger: interval[0:05:00], next run at: 2018-05-24 20:47:17 EDT)
sampleSunAirPlus (trigger: interval[0:05:00], next run at: 2018-05-24 20:47:17 EDT)
writeWeatherRecord (trigger: interval[0:05:00], next run at: 2018-05-24 20:47:17 EDT)
writePowerRecord (trigger: interval[0:05:00], next run at: 2018-05-24 20:47:17 EDT)
updateRain (trigger: interval[0:05:00], next run at: 2018-05-24 20:47:17 EDT)
checkForShutdown (trigger: interval[0:05:00], next run at: 2018-05-24 20:47:17 EDT)
sampleWeather (trigger: interval[0:15:00], next run at: 2018-05-24 20:57:17 EDT)
sampleSunAirPlus (trigger: interval[0:15:00], next run at: 2018-05-24 20:57:17 EDT)
doAllGraphs (trigger: interval[0:15:00], next run at: 2018-05-24 20:57:17 EDT)
WLAN_check (trigger: interval[0:30:00], next run at: 2018-05-24 21:12:17 EDT)
-----------------
Traceback (most recent call last):
File "GroveWeatherPi.py", line 1854, in <module>
processCommand()
File "GroveWeatherPi.py", line 571, in processCommand
f = open("//home/pi/SDL_Pi_GroveWeatherPi/state/WeatherCommand.txt", "r")
IOError: [Errno 2] No such file or directory: '//home/pi/SDL_Pi_GroveWeatherPi/state/WeatherCommand.txt'
pi@PiWeather:~/Downloads/SDL_Pi_GroveWeatherPi $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- --
40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- 57 -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: -- -- -- 73 -- -- -- 77
pi@PiWeather:~/Downloads/SDL_Pi_GroveWeatherPi $
Looking forward to ordering the updated temp/humidity sensor and air quality setup. May 3d print an enclosure for it to fit the glass you offer-if I do I'll post up the design on thingiverse for others to use.
Thanks in advance!