Resize SDCard on Raspberry Pi

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

Moderator: Mattk

Post Reply
nordblick
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Tue Feb 21, 2023 7:42 am

Resize SDCard on Raspberry Pi

Post by nordblick »

Hey Guy,
i am using an old RPI 3b with an 16GB Card. Everything works fine, but I want to install some python modules on my raspberry. Unfortunately the 16GB card will noch automatically resized from Meteobridge firmware/OS. Is there a way to use all of my SDCard memory?


Cheers,
Olli
User avatar
Gyvate
Platinum Boarder
Platinum Boarder
Posts: 453
Joined: Thu May 14, 2020 4:36 pm
Location: Saarbrücken, Germany

Re: Resize SDCard on Raspberry Pi

Post by Gyvate »

This is exactly what is mentioned in the Meteobridge WiKi - a MB on RPi is not meant to be used for other purposes than for a weather data server.
You can try to tweak around with openWRT, but will probably not have much success.
It's, however, no surprise as this is explicitly mentioned.
quote from https://www.meteobridge.com/wiki/index.php/Hardware
"As Meteobridge does come with its own openwrt-based operating system, installing additional SW onto the Meteobridge will not be possible in most cases. The idea of Meteobridge is to convert your Raspberry Pi into an exclusive weather data server. It is not meant as an experimental platform to try out generic Raspberry Pi stuff. "
WH4000SE 1.6.6/1 x DP1500/4 x GW1000 1.7.7/GW1100 2.3.0/HP1000SE Pro 1.9.3//2 x WH2650 1.7.7/GW2000 3.1.0
2xMeteobridge Pro [B+R] 15161, 2xRPi4B-2GB/16/32 3139,VM128 1704
Weather Landing page: https://meshka.eu
Ecowitt WiKi: https://meshka.eu/Ecowitt/dokuwiki
nordblick
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Tue Feb 21, 2023 7:42 am

Re: Resize SDCard on Raspberry Pi

Post by nordblick »

I already read that. ;)

It's just a bit "useless" for me to collect data from my weather station with a complete separate device (that is also an RPI). The only purpose is to receive data and wait for meteobridge to fetch it. Would be easier to put that single python script on my bridge instead. Meteobridge is still a weather data server. :D I just try to avoid the second RPI but the disk size of meteobridge isn't big enough to instal all required python stuff.
User avatar
Gyvate
Platinum Boarder
Platinum Boarder
Posts: 453
Joined: Thu May 14, 2020 4:36 pm
Location: Saarbrücken, Germany

Re: Resize SDCard on Raspberry Pi

Post by Gyvate »

feel free to use a Python script for your purpose.
Meteobridge however is a slightly more powerful tool that can do things a simple, single Python script won't be able to do.
You'll need significantly more Python code. Plus, the philosophy of MB has always been to be an appliance for collecting, storing, analyzing, depicting and sharing weather data. Pretty much beyond just collecting data and storing it. But then, specialized on collected weather data.
Provided you know, appreciate, and want to use these features.
But if your needs are served with the mentioned single Python script, go for it. Then probably Meteobridge is then just overkill for you.
WH4000SE 1.6.6/1 x DP1500/4 x GW1000 1.7.7/GW1100 2.3.0/HP1000SE Pro 1.9.3//2 x WH2650 1.7.7/GW2000 3.1.0
2xMeteobridge Pro [B+R] 15161, 2xRPi4B-2GB/16/32 3139,VM128 1704
Weather Landing page: https://meshka.eu
Ecowitt WiKi: https://meshka.eu/Ecowitt/dokuwiki
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Resize SDCard on Raspberry Pi

Post by admin »

Meteobridge supports bash scripts (to be precise ash scripts). Using ash instead of python might be a challenge. Meteobridge on RPI also has php installed, I guess this has all the power you need. So say good-bye to python copy-and-paste and you should be fine.
Post Reply