|
Post by SDL on Oct 23, 2018 12:45:38 GMT -8
What version of GWP are you running?
Post the start of the GWP software so we can see it is recognized.
BP
|
|
|
Post by triggerfish on Oct 25, 2018 12:05:27 GMT -8
The output log starts with: deviceID = 0x1050 visible= 0
GroveWeatherPi Solar Powered Weather Station Version 3.02 - SwitchDoc Labs
Program Started at:2018-10-25 21:42:59
---------------------- I2C Mux - TCA9545: Present BMP280: Present DS3231: Present HDC1080: Present HTU21DF: Not Present AM2315: Present ADS1015: Not Present ADS1115: Present AS3935: Present OLED: Present SunAirPlus: Present Sunlight Sensor: Present WXLink: Not Present
UseMySQL: Present Check WLAN: Present WeatherUnderground: Present
----------------------
And during execution:
----------------- BMP280 Barometer ----------------- Temperature = 14.19 C Pressure = 101.77 KPa Altitude = -37.31 m Sealevel Pressure = 101.86 KPa ----------------- ----------------- Sunlight Vi/IR/UV Sensor ----------------- Sunlight Visible(Lux): 0.00 Sunlight IR(Lux): 0.00 Sunlight UV Index: 0.00 ----------------- HDC1080 Temp/Hum ----------------- Temperature = 13.71 C Humidity = 87.06 % ----------------- HTU21DF Temp/Hum Not Present ----------------- -----------------
|
|
|
Post by SDL on Oct 25, 2018 16:28:51 GMT -8
Looks perfect!
BP
|
|
|
Post by triggerfish on Oct 26, 2018 1:15:42 GMT -8
At first glance yes, but I would expect values to rise above zero once in a while, which I have not seen yet.
|
|
|
Post by triggerfish on Oct 26, 2018 2:40:58 GMT -8
Does the sensor reply om direct sun light or is exposure to day light enough? I could add another pylon like the Lightning on the side of the box, placing the sensor in direct sun light. Just how long can the sensor cable be?
|
|
|
Post by SDL on Oct 29, 2018 13:02:26 GMT -8
Triggerfish,
I believe the default gain settings are for outdoor sun but you should be reading something. Have you tried it all by itself and not part of GWP?
BP
|
|
|
Post by triggerfish on Oct 30, 2018 2:07:10 GMT -8
Did try to get values outside GWP, but somehow I could not get it working through the mux board. The testing assumed direct access.
I guess I have to change the gain setting in SI1145Lux.py. I see multiplier, sensitivity and gain fields. Which do I need to set to what to slide from full direct sun to half shadow...
|
|
|
Post by triggerfish on Nov 1, 2018 5:26:17 GMT -8
Apparently it had to wake up somehow... By now I see values in the logging: -- Sunlight Vi/IR/UV Sensor ----------------- Sunlight Visible(Lux): 6270.49 Sunlight IR(Lux): 30901.64 Sunlight UV Index: 0.08 ----------------- -- Sunlight Vi/IR/UV Sensor ----------------- Sunlight Visible(Lux): 6229.51 Sunlight IR(Lux): 30922.13 Sunlight UV Index: 0.08 ----------------- -- Sunlight Vi/IR/UV Sensor ----------------- Sunlight Visible(Lux): 6065.57 Sunlight IR(Lux): 30901.64 Sunlight UV Index: 0.08 ----------------- Next challenge is getting them to wunderground 
|
|
|
Post by SDL on Nov 1, 2018 8:01:10 GMT -8
Odd. In the next version of GWP, we are restructuring the sensor reading.
BP
|
|
|
Post by triggerfish on Nov 1, 2018 10:04:04 GMT -8
Great! I guess there will be some changes to cope with stuff. Could I suggest building the upload url on the conditions that sensors are true or false? If (Sunlight_Preset):
myURL += "&solarradiation%0.2f=" % SunlightVisible myURL += "&UV%0.2f=" % SunlightUVIndex
Or something in that direction.
Also, unrelated to this, check if the crc_chekc of the AM2315 is 1, saving those temp/hum values to use when crc_check goes -1
|
|
|
Post by SDL on Nov 6, 2018 14:25:19 GMT -8
Peter,
we are building a driver that will handle all the "errors" that come from the AM2315 on occasions. We like your suggested solution, however.
BP
|
|
|
Post by triggerfish on Nov 6, 2018 23:58:50 GMT -8
Peter, we are building a driver that will handle all the "errors" that come from the AM2315 on occasions. We like your suggested solution, however. BP I know from another thread you are working on the driver. I better posted it there, but it was posted before I realized.
|
|