Meteobridge RPI - not able to restart without Internet - not logging sensors in LAN

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
bekesizl
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: Wed Apr 21, 2021 5:33 pm

Meteobridge RPI - not able to restart without Internet - not logging sensors in LAN

Post by bekesizl »

I am a relative fresh user of Meteobridge running it on a Raspberry Pi with a supported SD card.
The main purpose of my Meteobridge instance is to feed locally recorded (Ecowitt GW-1000) weather data to my OpenSprinkler Weather Service running on another RPi.

Last week it started to get stormy in my region. Not as bad as in Germany these days, but a storm means power outage from seconds to 1 hour and a longer outage also means, that my Internet provider is also not servicing, for various ammounts of time.

Last Sunday we had over 50mm rainfall. But my Opensprinkler as still thinking, we had 0mm.
This is, because around 6:30 in the morning there were some power outages lasting 30-45 minutes. But the Internet service was not returning until around 18:00.
My local LAN was working, my weather station was sending data to the Chinese server (after Internet connection was back), but Meteobridge refused to record anything until the Internet connection was back (I attached an export from the data for that day). I was able to connect to the RPi running Meteobridge, it was telling me something about not able to go online.

Is it normal?
I mean, the weather station is on my LAN. Meteobridge RPi is on my LAN (reporting to opensprinkler via a local IP address via HTTP). Opensprinkler Weather Service is on my LAN (and not requiring any online connection). It is not something that has to go through a cloud service.
Then why on earth do I need to have Internet connection to be able to restart the Meteobridge RPi? There has to be a relative easy way to make this work.

I was happy to buy the licence for this turnkey solution.
I am also considering to buy a small UPS to run my Rpi/NAS machines without power for a while.
But I don't want to buy a 4G modem and program something to change the Internet from cable to 4G, when cable is not working (mostly some minutes or hours outage over a year).
Attachments
standard-iso-20210711-min.7z
(4.53 KiB) Downloaded 106 times
BigAlT
Gold Boarder
Gold Boarder
Posts: 198
Joined: Tue Jul 04, 2017 8:41 pm
Location: Washington State

Re: Meteobridge RPI - not able to restart without Internet - not logging sensors in LAN

Post by BigAlT »

As you can see from the Setup Information from Meteobridge it must be connected to the internet during boot to get it’s network settings.
“ When you can reach meteobridge's web interface this is a proof that your network settings are fine. The Meteobridge application code that presents the web interface is not stored in the non-volatile flash memory of the meteobridge, but gets downloaded from the Internet during boot. So without having the meteobridge connected to the Internet, this will not be there.“
Since your RPi goes down when the power goes off, it automatically reboots when power is restored. If you have no internet at that time your Meteobridge cannot fully boot up so is not functional.
If you power it from a UPS it will not need to reboot and I believe should perform the operation you require.
Post Reply