Hello, has anyone experienced a situation where everything seems fine when you stand next to a station, it’s uploading and has internet connection through 4G dongle, but the second you are not connected to the station the station goes offline.
It’s SG-BD48RPI45E53 and we have tried several times now up to changing the whole Rp4-Funcubeproplus-modem combo and the problem stays the same.
I’ve added a few screenshots of how the station looks like right before you leave.
I took a look at the logs, thanks for keeping the SG powered and managing to reconnect it periodically: this allowed the logs for the periods without connectivity to upload.
As far as I can tell, about an hour after you disconnect from the SG’s access point the SG can no longer make DNS resolutions over the cell network. I’m not seeing any errors, other than the failed resolutions. Right now, I don’t have any ideas…
I’m wondering whether there is some timeout and whether it takes the cell modem too long to reconnect or whether it just doesn’t reconnect. Mysterious.
(For others wondering: this is a set-up with a USB cell dongle which shows up as an ethernet device to the SG, i.e., the SG has no idea it’s actually a cell modem.)
We are powering on the stations again and having the same problem as last year at the same location, station looking good and uploading via USB cell dongle when next to it, but disconnecting soon after you leave. This time the sensorgnome is SG-F870RPI4C549 Svaheia Wind Park.
Has anyone seen or possibly fixed this type of problem?
I took a look at your station and I see what you’re describing. No change since 9 months ago (as one might expect). At the time I could not find any error in the log files. If you want to troubleshoot the best would be to bring the SG to your lab/office/home. You only need the cell modem, none of the dongles, and probably not the GPS either. (You could also attach the cell modem to another spare rpi.) Some of the things I’m wondering:
first, can you reproduce the problem in the lab?
if you leave a phone or a laptop connected to the hotspot for several hours does the internet connectivity stay up?
Would you be OK with me pushing some changes to your SG to try and identify the issue? I’m wondering what happens if I reduce the agent push interval from an hour to 10 minutes to try and prevent a time-out (if you’re comfortable with SSH and command-line, that would be changing the max_interval on line 23 in /opt/sensorgnome/hub-agent/hub-agent.js from 3600 to 600). But first we’d need to reproduce the problem with an SG in an easy to access location.
We have done some troubleshooting and replaced the non-working SG-F870RPI4C549 with SG-BD48RPI45E53, which we tested beforehand and confirmed was working properly at the office. However, after installing it on-site, it stopped working again after an hour. This replacement and testing were carried out around 05/21.
We have tested the SG that was originally at the troubled location at the office, but everything seems to work just fine with the same SG and the 4G dongle, it was up even without being connected to a device.
At this point we’re not so sure what else to troubleshoot, as we have changed out almost all the hardware at one point or another.
Seeme like one of our other stations, SG-FDBFRPI4DCEB also has the same problem. We have thought about underpowering problems for the first station as it’s solar powered, but this one is AC powered so power should not be a problem there. This other station (Tungenes) is more accessible so we’ll probably continue our troubleshooting on this one.
We will try to change the timeout variable for both stations and see if that fixes the problem. Is it correct to assume that we can connect to our stations remotely to change the timeout variable?
On both of the stations it took quite a long time to actually get a GPS fix with the G-mouse receiver we are using. We were also wondering the need for the G-mouse in the system, if we have correct metadata for the station on the website and the 4G dongle could provide with the time, can we just remove the GPS?