mcinflyre
Junior Member
Posts: 53
Raspberry Pi: Yes
Other Device: PC, Mac and Android devices.
|
Post by mcinflyre on Jan 26, 2018 21:42:37 GMT -8
Thank you for posting - I don't have any images of the station yet. I'm using the typical plastic weatherproof box enclosure that is used in installation docs. I have the AM2315 attached to the side of the box covered by the solar shield and is never facing direct sunlight. The box is mounted on two stakes in the yard with the taller stake (about 6' tall) holding the weather rack.
All this being said, I may have stumbled onto something but I don't want to say anything yet or else I will jinx it. I will say this is the longest the system has ever run with no temp spikes. I will update on Sunday (1/28/2018) with what I find. It needs time to run to validate.
|
|
|
Post by SDL on Jan 27, 2018 9:29:31 GMT -8
Agree with Powder Jockey.
John (filling in for BP today)
|
|
mcinflyre
Junior Member
Posts: 53
Raspberry Pi: Yes
Other Device: PC, Mac and Android devices.
|
Post by mcinflyre on Jan 27, 2018 14:43:39 GMT -8
So, it’s been running fine now for 24 hours. The only difference between the last 24 hours and the previous week is that I never accessed the WeatherPlus board with the OurWeatherHome page during that time. I believe this issue is related to, or similar to the issue where there browser locks up the board.
In the previous days, I used the OurWeather site to manually check the reported temp many times during the day.
While I did see temp spikes that did correspond with pressing the get current temp button on the OurWeatherPage, there where many temp spikes over night while I was far away from my computer.
When I started this project, I used Chrome (Windows 10, Mac 10.13.2 (latest OS ver), MS Edge on Windows 10, finally Chromium on Raspbian. All of those caused the board to lock up.
When I tried Safari on my MacBook Pro, the WeatherBoard Plus did not lock up anymore and seemed to be functioning fine until I noticed the temp spikes. Safari is running stock with no added ad blockers or extensions. I think Safari has an ad blocker running that Is part of the base Safari browser, so I need to test tuning that off and see what I get.
So now I need to verify theses results which I will do tomorrow and into next week. I will try to reproduce the spikes I was seeing before. Then I will see what, if anything I can turn off in Safari to stop the spikes,
Based on what I’m seeing now, I’m 99% sure it’s browser related and not hardware or issues with its location.
I will report back what I find on the browser testing. I should have a conclusive answer by midweek next week.
Thanks!
Richard
|
|
mcinflyre
Junior Member
Posts: 53
Raspberry Pi: Yes
Other Device: PC, Mac and Android devices.
|
Post by mcinflyre on Jan 28, 2018 20:14:33 GMT -8
|
|
|
Post by SDL on Jan 29, 2018 20:43:16 GMT -8
This is on our 2018 February Bug Week!
BP
|
|
|
Post by SDL on Feb 10, 2018 9:10:27 GMT -8
Update 2/10/2018:
As part of BugWeek February 2018, John is building an ESP8266 Test Jig to improve the reliability of the AM2315 and catch these bad reads. He is finally on it!
BP
|
|
|
Post by SDL on Feb 10, 2018 14:12:49 GMT -8
Folks, I have completed the beta version of the new SDL_ESP8266_HR_AM2315 software that should fix any (and all, I hope) of the occasional bad data reads from the AM2315 on OurWeather and other projects. once we are confident in this data, we will put it into OW Version 028. It is available here. I'm running it for a few days to see if I nailed it and then I will release it to the general public. github.com/switchdoclabs/SDL_ESP8266_AM2315_BETAThis just runs an AM2315 device off of the OurWeather board and records any errors. It will show the error count and why: badCRCReads = reads with a bad CRC from the AM2315 badSpikeReads = Good CRC, but temperature spike found (greater than 15.9 degrees C in a single read) badMessageReads = good CRC, but bad message Format Example: Hum: 31.00 TempC: 21.30 ----------------- AM2315 Statistics ----------------- goodReads = 102 badReads = 0 badCRCReads = 0 badSpikeReads = 0 badMessageReads = 0 highTemp = 21.30 lowTemp = 21.10 lastGoodTemp = 21.30 highSingleBadReadCount =0 :0:0:0:0:0:0:0:0:0:0: ----------------- John
|
|