[email protected]:~ $ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: 20 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- --
40: 40 -- -- -- -- -- -- -- 48 49 -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: 60 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
[email protected]:~ $ cd SDL_Pi_SmartGardenSystem/
[email protected]:~/SDL_Pi_SmartGardenSystem $ sudo python testAllSensors.py
[Errno 121] Remote I/O error
Test All SGS Devices Version 1.0 - SwitchDoc Labs
Program Started at:2018-12-28 07:45:04
Temp = 19.388 deg C
Humidity = 36.97 %
-----------------
Sunlight Vi/IR/UV Sensor
-----------------
Sunlight Visible: 1269
Sunlight IR: 5798
Sunlight UV Index: 5.42
358.633928571
Moisture Humidity = 51.23
------------------------------
Sensor Value=984 --> Fresh Air | 0
Ultrasonic Level
Grove Ultrasonic get level and print
8.971cm
8.938cm
8.987cm
8.967cm
8.987cm
9.004cm
8.971cm
8.987cm
9.004cm
8.967cm
----------------------
Main Sensors
----------------------
ADS1115: Present
OLED: Present
Sunlight Sensor: Present
hdc1000 Sensor: Present
Ultrasonic Level Sensor: Present
----------------------
Plant / Sensor Counts
----------------------
Sensor Count: 5
Pump Count: 5
----------------------
Extender Devices
----------------------
ADS1115_Ext1: Present
ADS1115_Ext2: Not Present
GPIO Extender 1: Present
GPIO Extender 1: Not Present
----------------------
Future Smart Garden System Expansions
----------------------
SunAirPlus: Not Present
Lightning Mode: Not Present
Solar Power Mode: Not Present
MySQL Logging Mode: Not Present
done with testAll
[email protected]:~/SDL_Pi_SmartGardenSystem $ sudo python SGS.py
[Errno 121] Remote I/O error
Error accessing 0x4A: Check your I2C address
Error accessing 0x4A: Check your I2C address
SGS Version 009 - SwitchDoc Labs
Program Started at:2018-12-28 07:45:34
ADS1115: Present
OLED: Present
Sunlight Sensor: Present
hdc1000 Sensor: Present
Ultrasonic Level Sensor: Present
----------------------
Plant / Sensor Counts
----------------------
Sensor Count: 5
Pump Count: 5
----------------------
Extender Devices
----------------------
ADS1115_Ext1: Present
ADS1115_Ext2: Not Present
GPIO Extender 1: Present
GPIO Extender 2: Not Present
----------------------
Future Smart Garden System Expansions
----------------------
SunAirPlus: Not Present
Lightning Mode: Not Present
Solar Power Mode: Not Present
MySQL Logging Mode: Not Present
----------------------
Moisture Sensor: Present
----------------------
-----------------
Scheduled Jobs
-----------------
Jobstore default:
blinkLED (trigger: interval[0:00:05], next run at: 2018-12-28 07:46:25 PST)
statusLEDs (trigger: interval[0:00:15], next run at: 2018-12-28 07:46:25 PST)
updateState (trigger: interval[0:00:10], next run at: 2018-12-28 07:46:25 PST)
checkForAlarms (trigger: interval[0:00:15], next run at: 2018-12-28 07:46:25 PST)
forceWaterPlantCheck (trigger: interval[0:00:08], next run at: 2018-12-28 07:46:27 PST)
tick (trigger: interval[0:01:00], next run at: 2018-12-28 07:46:55 PST)
checkAndWater (trigger: interval[0:15:00], next run at: 2018-12-28 08:00:55 PST)
-----------------
Tick! The time is: 2018-12-28 07:46:55.589669