Home LAN access to a device...

Joined
30 Dec 2018
Messages
22,198
Reaction score
3,970
Location
Up North
Country
United Kingdom
I have a weather station. The station is located at the back, of the back garden, which then forwards its data to a display, located in the house, which it does wirelessly. That part works fine.

The display, then connects by USB, to forward data to a Raspberry Pi. The Pi runs some software, which turns the data, into webpages, it also stores the recorded data on a memory card, and also updates the Met Office with my live data. All normally works just fine, if it's left alone to get on with it.... The problem is that the webpage in the Pi, becomes inaccessible, or difficult to access. The weather station continues to send data, the Pi continues to record the data, just the webpage fails, and no data sent to the Met Office.

Similar to this has happened before, on previous routers - Last week, I moved from copper, to fibre, which involved a replacement main router, the router to which the Pi is directly connected. I set the new router up, the weather page appeared as normal, after which access to the page gradually became more difficult, slow, then eventually was completely lost. Access to the pages were then missing for two days. I tried rebooting the Pi, changed the LAN cable, moved it to a different router port, nothing made much difference, but I was able to ping it. The first ping slow, but subsequent pings much faster. Then the web page became accessible, at first sluggish to load, and speeding up, the more frequently I loaded it. The Pi is on a DHCP allocated address.
 
Sponsored Links
I wonder if you are experiencing some memory leak issues or just the amount of data is causing the pi to show and crash or the webserver? Would a scheduled reboot of the pi say at 1am everyday or every 12 hours potentially be a short term workaround until you can optomise the code? Could you try using a alternative to the pi just to rule out this being the bottleneck / issue?
 
I wonder if you are experiencing some memory leak issues or just the amount of data is causing the pi to show and crash or the webserver? Would a scheduled reboot of the pi say at 1am everyday or every 12 hours potentially be a short term workaround until you can optomise the code? Could you try using a alternative to the pi just to rule out this being the bottleneck / issue?

That would not seem to fit, with what I'm seeing - It ran fine for the couple of years, up until swapping the router last week. Rebooting it, doesn't necessarily get it working again. It's almost as if - the more I try to visit its web page, the better the access to it improves, which makes no sense to me.
 
How are you accessing the webserver? Is this via a local address/ip just wondering if your able to access the pi locally without having to go via the router (well kinda). What router are you using btw?
 
Sponsored Links
Back
Top