dougstrickland
Junior Member

Posts: 54
Raspberry Pi: Yes
Other Device: Wemos, Arduino...
|
Post by dougstrickland on May 29, 2017 6:05:00 GMT -8
I've been wondering about the fact that the UV Index measurement is always reading 0, so I took my 200 watt reptile UV bulb and stuck it over the sensor. I'm still getting a reading of 0. The visible light went up to about 2900 lux, and the IR shot up to 14,000 lux, but UV still reads zero.
Is this a defective sensor, or am I missing something else?
|
|
|
Post by SDL on May 30, 2017 9:12:29 GMT -8
Doug,
Have you tried it outdoors?
Unlikely there is something wrong in the hardware, but it could be a software bug. We are getting a waaayyyy to high UV Reading from Project Curacao2 and we have to track that down. It's something to do with the scaling, but we knew it wasn't a hardware problem, so we are going to fix it in the near future after the station is up. Just a few more days!
BP
|
|
dougstrickland
Junior Member

Posts: 54
Raspberry Pi: Yes
Other Device: Wemos, Arduino...
|
Post by dougstrickland on May 31, 2017 8:21:03 GMT -8
I've moved the project outside, and I'm sensing around 27,000 lux for both IR and Visible light. UV Index is still reading zero. What should I try next?
|
|
|
Post by SDL on May 31, 2017 8:29:27 GMT -8
Doug, Now you have proven it in my mind. You have a bad sunlight sensor. Please go to the www.switchdoc.com website, contact us and ask for an RMA and quote this thread. BP
|
|
dougstrickland
Junior Member

Posts: 54
Raspberry Pi: Yes
Other Device: Wemos, Arduino...
|
Post by dougstrickland on Jun 20, 2017 7:45:08 GMT -8
okay I've replaced the sensor - but I am still getting zero output from the UV sensor. Is there a test script that examines the output of the sensor? Any other troubleshooting advice?
|
|
dougstrickland
Junior Member

Posts: 54
Raspberry Pi: Yes
Other Device: Wemos, Arduino...
|
Post by dougstrickland on Jun 20, 2017 8:13:35 GMT -8
Okay, I've run SDL_Pi_SI1145.py and get the following output:
Vis: 4669 IR: 24505 Vis Lux: 1807.37704918 IR Lux: 9939.3442623 UV Index: 23.64
So there's some UV output, but nothing shows up on Freeboard. I've reset the datasource to be datasources["SmartPlantPi"]["SmartPlantPi_UVIndex"], but still get zero output on Freeboard.
Any suggestions for troubleshooting this?
|
|
dougstrickland
Junior Member

Posts: 54
Raspberry Pi: Yes
Other Device: Wemos, Arduino...
|
Post by dougstrickland on Jun 20, 2017 12:19:22 GMT -8
Here's my dashboard.json file if you want to try loading it... Attachments:dashboard_doug.json (4.43 KB)
|
|
|
Post by SDL on Jun 20, 2017 20:10:09 GMT -8
Doug,
We will look at this tomorrow. Clearly it isn't the sensor now1 BP
|
|
dougstrickland
Junior Member

Posts: 54
Raspberry Pi: Yes
Other Device: Wemos, Arduino...
|
Post by dougstrickland on Jun 21, 2017 6:24:15 GMT -8
Yeah, Sorry about the sensor thing. I wish I had found the test script before wasting your time with a replacement. My bad.
|
|
dougstrickland
Junior Member

Posts: 54
Raspberry Pi: Yes
Other Device: Wemos, Arduino...
|
Post by dougstrickland on Jun 22, 2017 8:01:54 GMT -8
|
|
dougstrickland
Junior Member

Posts: 54
Raspberry Pi: Yes
Other Device: Wemos, Arduino...
|
Post by dougstrickland on Jun 23, 2017 7:28:48 GMT -8
Any chance you've had an opportunity to check out this error?
|
|
|
Post by SDL on Jun 23, 2017 8:53:21 GMT -8
Not yet, and since it clearly is a software bug, it gets in the software bug hopper. Up there now!
BP
|
|
|
Post by sipshowpeers on Jul 12, 2017 4:26:17 GMT -8
Ah yes I have the same issue, it appears the demo board does too! When I run the testAll.py script, I get a UV readout. When I enable Debug in SmartPlanyPi.py, there's always a 0 readout for UV.
|
|
|
Post by SDL on Jul 12, 2017 4:57:27 GMT -8
sip showers,
You say the "demo board" does too. What do you mean by that?
The sunlight sensor is #1 on the bug priority list for next week. Exciting, no? IT must be a smartplantpi software problem, but first we shall duplicate it!
Bug Week approaches!
BP
|
|
dougstrickland
Junior Member

Posts: 54
Raspberry Pi: Yes
Other Device: Wemos, Arduino...
|
Post by dougstrickland on Jul 21, 2017 5:52:41 GMT -8
Any progress guys?
|
|