General Raspberry Pi stuff
- shane
- Social outcast
- Posts: 3283
- Joined: Sun Sep 16, 2007 12:09 pm
- Location: Kept in a cool dry place.
#211 Re: General Raspberry Pi stuff
I’ve done a bit of mental number-crunching. From what I can gather, a Raspberry Pi 4b needs about 750mA to run this sort of application, which equates to 90W/hrs over a 24-hour period. Assuming that in winter there’s only eight hours of daylight, then it’s going to need 11.25W to charge the battery enough to last overnight. If I then assume that on a wet January day I’m not going to get more than about 20% of full output from a solar panel then it’s going to need a 55W panel to do the job, which becomes 60w when you actually look at what’s available.
Does that make sense?
Does that make sense?
#212 Re: General Raspberry Pi stuff
I don't know if you cant shut down bits of the Pi that you don't need to reduce the power consumption?
This has some ideas:
https://blues.io/blog/tips-tricks-optim ... -pi-power/
https://forums.raspberrypi.com/viewtopic.php?t=257144
But you can google just as well as I can so I am not adding much new.
This has some ideas:
https://blues.io/blog/tips-tricks-optim ... -pi-power/
https://forums.raspberrypi.com/viewtopic.php?t=257144
But you can google just as well as I can so I am not adding much new.
Little known fact, coherent thought can destructively interfere with itself leaving no thought at all, that’s why I prefer incoherent thought.
#213 Re: General Raspberry Pi stuff
Hi Shane
even though I did all the calcs for panel efficiency over the year at our latitudes and nailed the panel angle etc I still found there was a learning curve. I recommend a period of testing.
My rigs average 200ma. This is obtained as the prcessors don't require this current but the cellular modem requires high current for a ms or so. My first rig used a 90ah battery with a 25 watt panel. This worked for the summer months but consistently browned out after October and failed completely at the back end of November. Lesson learned I switched to 120ah leisure batteries with 100watt panels.
As Nick has suggested it is worth investigating cutting all necessary functions and also considering some planned off time(like overnight). I considered off-time in the beginning but managed to solve the issues before resorting to that. The upload frequecy and length of time might be your most crucial parameter...it certainly dictates my current draw.
When I first started there was scant info for this kind of thing and the caravan community were in the dark in regards to the tech(pun intended). I think there is more info out there now.
My lesson learned was that the panels don't supply the power advertised and the modems don't suck power at consistent or advertised values.
even though I did all the calcs for panel efficiency over the year at our latitudes and nailed the panel angle etc I still found there was a learning curve. I recommend a period of testing.
My rigs average 200ma. This is obtained as the prcessors don't require this current but the cellular modem requires high current for a ms or so. My first rig used a 90ah battery with a 25 watt panel. This worked for the summer months but consistently browned out after October and failed completely at the back end of November. Lesson learned I switched to 120ah leisure batteries with 100watt panels.
As Nick has suggested it is worth investigating cutting all necessary functions and also considering some planned off time(like overnight). I considered off-time in the beginning but managed to solve the issues before resorting to that. The upload frequecy and length of time might be your most crucial parameter...it certainly dictates my current draw.
When I first started there was scant info for this kind of thing and the caravan community were in the dark in regards to the tech(pun intended). I think there is more info out there now.
My lesson learned was that the panels don't supply the power advertised and the modems don't suck power at consistent or advertised values.
There's nowhere you can be that isn't where you're meant to be
- shane
- Social outcast
- Posts: 3283
- Joined: Sun Sep 16, 2007 12:09 pm
- Location: Kept in a cool dry place.
#214 Re: General Raspberry Pi stuff
Thanks Ed, that’s useful stuff. I don’t know at this point how much data he’ll be downloading or how often. I’ve sent him a link to this thread though so he can see your findings.
- jack
- Thermionic Monk Status
- Posts: 5152
- Joined: Wed Dec 29, 2010 8:58 pm
- Location: ɐılɐɹʇsnɐ oʇ ƃuıʌoɯ ƃuıɹǝpısuoɔ
- Contact:
#215 Re: General Raspberry Pi stuff
Been a while...
Updated Pi-hole (and the Pi it is on) to the latest FTL and in the process switched it from just using upstream DNS (Cloudflare) to a validating, recursive, caching DNS resolver, i.e. unbound with DNSSEC.
It's a bit slower, but far more secure.
Updated Pi-hole (and the Pi it is on) to the latest FTL and in the process switched it from just using upstream DNS (Cloudflare) to a validating, recursive, caching DNS resolver, i.e. unbound with DNSSEC.
It's a bit slower, but far more secure.
Vivitur ingenio, caetera mortis erunt
#216 Re: General Raspberry Pi stuff
it's timely that this thread has awakened......today I have been heartily swearing at a pi4 installation which I use for web testing with a lamp stack....
I also have a number of wordpress installations on it which I use from time to time and today I thought I'd set one up for Seb to play with web design....
problem number 1:
the wordpress admin locked me out with a message 'critical error'...couldn't get in to find out what the error was
the live web server reported the same thing.
it transpires there was a bug in one of the add-ons which was auto updated....Fortunately softaculous picked it up and sent me an email explaining how to get in the back door......I'm not sure what the critical users might have thought about this.
problem 2:
The wordpress admin reported that the php version was out of date.
I updated php from v7.something to v8.1 but apache won't pick it up and steadfastly instists on coming up with v7
I haven't sorted this one yet. Annoyingly this is the same on my live web server but that's a problem for the web server admin...I'm keen to see if it gets resolved.
I also have a number of wordpress installations on it which I use from time to time and today I thought I'd set one up for Seb to play with web design....
problem number 1:
the wordpress admin locked me out with a message 'critical error'...couldn't get in to find out what the error was
the live web server reported the same thing.
it transpires there was a bug in one of the add-ons which was auto updated....Fortunately softaculous picked it up and sent me an email explaining how to get in the back door......I'm not sure what the critical users might have thought about this.
problem 2:
The wordpress admin reported that the php version was out of date.
I updated php from v7.something to v8.1 but apache won't pick it up and steadfastly instists on coming up with v7
I haven't sorted this one yet. Annoyingly this is the same on my live web server but that's a problem for the web server admin...I'm keen to see if it gets resolved.
There's nowhere you can be that isn't where you're meant to be
- jack
- Thermionic Monk Status
- Posts: 5152
- Joined: Wed Dec 29, 2010 8:58 pm
- Location: ɐılɐɹʇsnɐ oʇ ƃuıʌoɯ ƃuıɹǝpısuoɔ
- Contact:
#217 Re: General Raspberry Pi stuff
Ignore
Last edited by jack on Sat Nov 12, 2022 8:14 pm, edited 1 time in total.
Vivitur ingenio, caetera mortis erunt
- jack
- Thermionic Monk Status
- Posts: 5152
- Joined: Wed Dec 29, 2010 8:58 pm
- Location: ɐılɐɹʇsnɐ oʇ ƃuıʌoɯ ƃuıɹǝpısuoɔ
- Contact:
#218 Re: General Raspberry Pi stuff
The lamp configuration should set the PHP version for Apache...
Vivitur ingenio, caetera mortis erunt
#219 Re: General Raspberry Pi stuff
I'm beginning to understand....
although I have updated the system to php v8.1 wordpress doesn't see it....
seems to be that phpmyadmin holds the answer...
phpmyadmin needs updating, but things have changed here in the last 12 months...
many web entries saying unless you have a very good reason for going to php8.1 then dont!
if it aint broke don't fix it!
this may be why my live web host hasn't changed it...
although I have updated the system to php v8.1 wordpress doesn't see it....
seems to be that phpmyadmin holds the answer...
phpmyadmin needs updating, but things have changed here in the last 12 months...
many web entries saying unless you have a very good reason for going to php8.1 then dont!
if it aint broke don't fix it!
this may be why my live web host hasn't changed it...
There's nowhere you can be that isn't where you're meant to be
- jack
- Thermionic Monk Status
- Posts: 5152
- Joined: Wed Dec 29, 2010 8:58 pm
- Location: ɐılɐɹʇsnɐ oʇ ƃuıʌoɯ ƃuıɹǝpısuoɔ
- Contact:
#220 Re: General Raspberry Pi stuff
Most of my hosted services are still on 7.x by default. And, yes phpMyAdmin is pretty PHP -version sensitive.ed wrote: ↑Sun Nov 13, 2022 3:10 pm I'm beginning to understand....
although I have updated the system to php v8.1 wordpress doesn't see it....
seems to be that phpmyadmin holds the answer...
phpmyadmin needs updating, but things have changed here in the last 12 months...
many web entries saying unless you have a very good reason for going to php8.1 then dont!
if it aint broke don't fix it!
this may be why my live web host hasn't changed it...
Vivitur ingenio, caetera mortis erunt
- jack
- Thermionic Monk Status
- Posts: 5152
- Joined: Wed Dec 29, 2010 8:58 pm
- Location: ɐılɐɹʇsnɐ oʇ ƃuıʌoɯ ƃuıɹǝpısuoɔ
- Contact:
#221 Re: General Raspberry Pi stuff
Refactored the Comms cabinet using a UDM Pro as my old USG router died.
Much tidier now. Can see the Pi-hole lurking on the right too ... Red is PoE and yellow 1 Gb UTP. The top right white cable is the FTTP delivery (140Mb down/30Mb up), the white cable in the middle is also PoE to the APin the gym - I ran out of suitably coloured CAT5e cables ... So 4 x APs in the house. There's one in the office at the other end of the UBB (building to building 6GHz bridge) and one in the sauna somewhere in the gardens.
The PoE is for the house access points and the UBB.
I just have to add the Synology SAN mirror and that's it.
Much tidier now. Can see the Pi-hole lurking on the right too ... Red is PoE and yellow 1 Gb UTP. The top right white cable is the FTTP delivery (140Mb down/30Mb up), the white cable in the middle is also PoE to the APin the gym - I ran out of suitably coloured CAT5e cables ... So 4 x APs in the house. There's one in the office at the other end of the UBB (building to building 6GHz bridge) and one in the sauna somewhere in the gardens.
The PoE is for the house access points and the UBB.
I just have to add the Synology SAN mirror and that's it.
Vivitur ingenio, caetera mortis erunt
- shane
- Social outcast
- Posts: 3283
- Joined: Sun Sep 16, 2007 12:09 pm
- Location: Kept in a cool dry place.
#222 Re: General Raspberry Pi stuff
Makes me wonder how I manage with just an EE router plugged into an Openreach ONT!
- IslandPink
- Loony Bin!
- Posts: 9920
- Joined: Tue May 29, 2007 7:01 pm
- Location: Denbigh, N.Wales
#223 Re: General Raspberry Pi stuff
Are you running a secret call-centre at home, Nick ?
"Forever fair ... and I'm touching your hair. I wish we could be dreaming .... in this dream" ( Morrison )
#224 Re: General Raspberry Pi stuff
Perhaps he is "secret Santa" ?

The only thing necessary for the triumph of evil is for good men to do nothing.
Edmund Burke
G-Popz THE easy listening connoisseur. (Philip)
Edmund Burke
G-Popz THE easy listening connoisseur. (Philip)
#225 Re: General Raspberry Pi stuff
UDM, PoE, UTP, FTTP, AP, UBB, SAN, ONT
thank the lord I've got a bottle of scotch....
have to fess up though, I do have an unbadged ONT, s'all a chap needs really
thank the lord I've got a bottle of scotch....
have to fess up though, I do have an unbadged ONT, s'all a chap needs really
There's nowhere you can be that isn't where you're meant to be