Data Logging When Internet Goes Down
Posted: Mon Nov 27, 2017 8:03 pm
One of my weather stations is located at a remote location and the best internet connection I can get is 2.5mbs DSL. A little better that dial up. I would say about 2 or 3 times a week the connection drops and I have to reboot the modem/router to restore the connection. I can do this remotely over the telephone. I usually don't find out it's down until I receive an email from Weather Underground saying that my sight is down, which is usually 2 hours later. Once I get the connection restored everything is good, well, almost everything. The first time I lost the internet after I started using Meteotemplate I checked my weather data and notice that data logging restarted at the point when the connection was restored. I was hoping it would restart at the point where connection was lost. This could leave some big gaps in data which I guess would have to be filled in manually or file import.
I'm not going to pretend I know anything about programming, because I don't. But couldn't a command or script be written into the program that would detect data input loss and trigger a time stamp? Then, when data is restored pick up logging at the point it was lost. I use weeWX running on a Raspi so it's logging data from the weather station whether there's an internet connection or not. Like I said, I know nothing about programming but it does sound cool. I had to ask if it's possible. Thanks.
I'm not going to pretend I know anything about programming, because I don't. But couldn't a command or script be written into the program that would detect data input loss and trigger a time stamp? Then, when data is restored pick up logging at the point it was lost. I use weeWX running on a Raspi so it's logging data from the weather station whether there's an internet connection or not. Like I said, I know nothing about programming but it does sound cool. I had to ask if it's possible. Thanks.