|
Post by triggerfish on Sept 15, 2018 6:06:04 GMT -8
I believe this issue is on the september bugweek list
|
|
|
Post by triggerfish on Sept 15, 2018 6:21:27 GMT -8
By now, I seem to have completely lost the external temperature...
|
|
|
Post by triggerfish on Sept 16, 2018 3:35:55 GMT -8
And back after the 48hr reboot. Just trying to provide info for the bugweek. If you need logs, please let me know.
|
|
|
Post by triggerfish on Sept 26, 2018 23:08:13 GMT -8
Since I modified the code to save every last apparent correct value to use when a obvious wrong value appears, the graph on wunderground is a lot more pleasing to see On the left still the old hacksaw profile. That still did not solve the actual problem though, it is just more hidden. I do see two problems yet. - One are the gaps pointed by the orange arrows, which I blame wunderground for, because the database shows no problems and the uploads seem to have worked. - Second the slopes shown with the purple arrows. They occurred after the 48 hour reboot and were caused by data not being uploaded to wunderground. When I rebooted the pi manually, the upload started to work again. It occurred twice in a row this way, so it seems structural, but then again after the most recent 48 hour reboot, all was fine, so I feel like blaming wunderground servers for this also...
|
|
|
Post by SDL on Sept 27, 2018 17:48:27 GMT -8
Interesting. Do you have your software restarting automatically after the reboots?
BP
|
|
|
Post by triggerfish on Sept 27, 2018 20:59:05 GMT -8
Interesting. Do you have your software restarting automatically after the reboots? BP Yes, the software is restarting. I can see logging on the pi. Being happy the last two reboots caused no problem, I just found out this morning that tonight the same thing happened. Planned reboot. No uploads I also realize there was no email about the reboot. So initial there may be network issues that prevent uploading and emailing. The network issues are gone at a certain moment, because I can ssh into the pi, but the weather software can not see that.
|
|
|
Post by triggerfish on Sept 28, 2018 1:56:43 GMT -8
I set the Pi to wait with booting until it sees network... Maybe that will help. Now I use my internal router for the WLAN check. Would it make any difference to use an external ip for that?
|
|
|
Post by SDL on Sept 28, 2018 9:10:34 GMT -8
Peter,
That's a tough question to answer without knowing all the details.
BP
|
|
|
Post by triggerfish on Sept 28, 2018 9:52:52 GMT -8
Peter, That's a tough question to answer without knowing all the details. BP Check. I might have been something that was a known issue. After the last reboot everything seemed to work fine again It's rather unpredictable
|
|
|
Post by snakn1 on Oct 1, 2018 12:19:01 GMT -8
here is my 2 cents... I gave up on the AM2315 until they fix this bug. but when I was creating my webpage I reached out to Lary Bonnette (see the guest Blog)for help. he gave me the link to his config. Below is a small portion of how he fixed this issue. Not sure if it works as I am now just using a "one wire" temp prob and running it from the GIOP, not the I2c buss because I do not need the humidity. github.com/bonnette/Pi_Weather_switchdocFrom his "getwthr.py" # The AM2315 sometimes does not answer up even after being asked tiwce. So we use humidity as # an indicator to determine if the AM2315 answered. If it did. The humidity should not be 0 # If the humidity is 0 we ask again and again (not to exceed 10 times) We give up when zz = 9 zz=0 while ((hum == 0) or (ot < -100.0)): if zz < 9: time.sleep(1.5) zz=zz+1 temperature, humidity, crc_check = am.sense() #wake up the AM2315 again ot = temperature hum = humidity print "humidity still 0" else: break ps = sensor.read_pressure()/1000 ws = weatherStation.current_wind_speed()/1.609 # test wind speed wg = weatherStation.get_wind_gust()/1.609 wd = weatherStation.current_wind_direction() totalRain = totalRain + weatherStation.get_current_rain_total() inch_rain = totalRain / 25.4
|
|
|
Post by triggerfish on Oct 1, 2018 12:54:19 GMT -8
Until the fix I just save the temperature and humidity values if not 0. If they are zero, I use the saved values.
|
|
|
Post by SDL on Oct 3, 2018 9:10:07 GMT -8
BTW, it is looking like we need to rewrite the AM2315 driver on the Raspberry Pi. We are going to move it to Python from C and add a bunch of error detection and correction stuff like we did on the ESP8266/ESP32 drivers.
BP
|
|
|
Post by triggerfish on Oct 3, 2018 11:40:08 GMT -8
It's the end what I mean
|
|
|
Post by triggerfish on Oct 20, 2018 7:54:25 GMT -8
BTW, it is looking like we need to rewrite the AM2315 driver on the Raspberry Pi. We are going to move it to Python from C and add a bunch of error detection and correction stuff like we did on the ESP8266/ESP32 drivers. BP Any progress on this? Because around eleven today, my values flatlined because all of a sudden the AM2315 was not to be found anymore
|
|
|
Post by SDL on Oct 23, 2018 12:46:40 GMT -8
It's on our engineering list for Mid November.
BP
|
|