Heatermeter webpage works for a bit and then displays blank page?

Eric Thomas

TVWBB Member
I think I'm fighting the same problem with wifi dropouts on a Raspberry Pi Model B Rev 2 and the Edimax EW-7811Un adapter. And I'd swear the board knows when I leave the house and just hums along happily until 5 miles from home. RSSI is > 80% with no connection issues when it's working and rpi has uptime of almost 12 hours straight. I've had at least two periods where I could not reach the board; probably 30 minutes - 1 hour each.

Interesting bits of syslog follow. I know device began responding around Sun Feb 9 16:33:57 which is a bit before the dhcp renew completed successfully; oh, and I was just half a mile from home.

Sun Feb 9 14:19:28 2020 user.info : New -1 peak @1581257721=221.5 half=6994 per=7096 amp=-34.6 gain=-33.4
Sun Feb 9 14:19:28 2020 user.info : Ziegler P=2.4 I=0.001 D=71.0
Sun Feb 9 14:31:02 2020 user.info : New 1 peak @1581258420=229.6 half=699 per=7693 amp=8.1 gain=-26.5
Sun Feb 9 14:31:02 2020 user.info : Ziegler P=2.4 I=0.001 D=76.9
Sun Feb 9 14:38:39 2020 user.info : Discarding duplicate update
Sun Feb 9 14:55:51 2020 user.info : New -1 peak @1581259948=219.8 half=1528 per=2227 amp=-9.8 gain=-1.7
Sun Feb 9 14:55:51 2020 user.info : Ziegler P=2.4 I=0.002 D=22.3
Sun Feb 9 15:03:57 2020 daemon.notice netifd: wwan (594): udhcpc: sending renew
Sun Feb 9 15:03:57 2020 daemon.notice netifd: wwan (594): udhcpc: lease of 192.168.1.31 obtained, lease time 7200
Sun Feb 9 15:08:10 2020 user.info : New 1 peak @1581260646=231.6 half=698 per=2226 amp=11.8 gain=2.0
Sun Feb 9 15:08:10 2020 user.info : Ziegler P=2.4 I=0.002 D=22.3
Sun Feb 9 16:03:57 2020 daemon.notice netifd: wwan (594): udhcpc: sending renew
Sun Feb 9 16:06:42 2020 user.info : New -1 peak @1581263344=223.3 half=2698 per=3396 amp=-8.3 gain=3.5
Sun Feb 9 16:06:42 2020 user.info : Ziegler P=2.4 I=0.001 D=34.0
Sun Feb 9 16:26:49 2020 user.info : New 1 peak @1581264918=227.0 half=1574 per=4272 amp=3.7 gain=-4.6
Sun Feb 9 16:26:49 2020 user.info : Ziegler P=2.4 I=0.001 D=42.7
Sun Feb 9 16:33:57 2020 daemon.notice netifd: wwan (594): udhcpc: sending renew
Sun Feb 9 16:48:57 2020 daemon.notice netifd: wwan (594): udhcpc: sending renew
Sun Feb 9 16:48:58 2020 daemon.notice netifd: wwan (594): udhcpc: lease of 192.168.1.31 obtained, lease time 7200

I'm in a similar configuration where my router assigns a reserved dhcp address based on the pi's wifi mac. have just changed my router's dhcp lease time from 7200 seconds to 12 hours in case this is the culprit. I've also just ordered a new usb wifi dongle with the rt5370 chipset. I plan to run a ping test for a few days once the new adapter comes in and want to do the same with snapshot and the current Edimax adapter as well.

For now, just looking forward to the brisket. HM graph here :)
 
Last edited:

Bryan Mayland

TVWBB Honor Circle
Seeing multiple "sending renew" lines that aren't followed by "lease obtained" lines would indicate that the wifi connection is spotty for sure. Are you on the snapshot firmware currently or v14? The Edimax dongles were flaky in v14 and that's been resolved in the snapshot (at the cost of not supporting AP mode for those devices), so if you're not on the snapshot yet I'd recommend trying that first.
 

Eric Thomas

TVWBB Member
I just flashed the snapshot via gui, but I'm not sure where to confirm that this is latest snapshot.

I can see the LEDE tagline at the top of the gui changed from SNAPSHOT r4558-438dcbfe74 to SNAPSHOT r5264-94491a1571 .
And /proc/version is :
Linux version 4.9.58 (bmayland@usdev) (gcc version 5.5.0 (LEDE GCC 5.5.0 r5264-94491a1571) ) #0 Mon Nov 6 10:58:40 2017
ucid is 20200120B

Is ucid the best way to determine the build number?

Thank you!
 

Bryan Mayland

TVWBB Honor Circle
It is for now, but I actually made changes earlier today so it says SNAPSHOT and the snapshot date on the top of every page instead of the LEDE/luci revision numbers, which are hard to figure out. The next snapshot will have this, but for now the UCID is the best way to tell (assuming the AVR hasn't been updated separately).
 

Eric Thomas

TVWBB Member
With the latest firmware snapshots, both my Edimax EW-7811Un and LOTEKOO Ralink RT5370 based WiFi dongles are now working fine. I ran a 4-day ping test on the Edimax without any dropouts.
 

Top