I wish it would be easy to measure.
There are devices that do this, but usually the surface temperature is a pretty good estimate. If it's not warm, it's not worth worrying about.
Now the electricity price is subsidized, until next spring at least. There are so many taxes and then reductions I cannot properly measure.
By not-so-strict calculations 4 months ago I paid around 15 cents/kWh, 2 months ago I paid some 7 cents/kWh.
Here 2 of the taxes on electricity are also temporarily reduced, but it's still more expensive than ever. I didn't realize until yesterday how "local" high natural gas prices are: apparently European prices are 9 times higher than in the US.
While you did scare me, since I feel like CISC processors tend to be more power hungry than RISC ones (eg ARM), hence a RPi4 would have been better for the job, this setup doesn't look like a bad business after all...
The Raspberry Pi only consumes
a few watts indeed.
microSD may not be best suited for such load. From my experience it tends to heat up and start failing (but maybe the adaptors I've been using were not top quality either).
I've broken cards in the past, but that happened by overwriting the entire card many times. The IBD writes all blocks once, and reads a lot of data, but it's only the
chainstate directory I would worry about. If you're really going for a phone-setup (again: not easy but very cool), you could symlink
chainstate to the phone's own storage.
I also guess that a more powerful smartphone may be more power hungry too, but I may be awfully wrong.
My assumption was the average phone battery holds about 10 Wh. It lasts more than 10 hours (especially with the screen off), so it can't use more than 1W on average.
[Also, fyi: that SH system I consider buying, with that Intel G proc, 4GB RAM and 1TB HDD is just a tad over 100 EUR].
I'd go for a laptop instead.
And I would not take into account systems that have own screen. There's usually no reason to buy screen for a machine supposed to run in unattended mode. Remote desktop - in a way or another - should do.
Somehow I always end up carrying a monitor for trouble shooting. Again:
I'm a sucker for laptops nowadays
Ideally one with DVD drive (to replace for a HDD).
you can get a 1TB spinning drive for under $50
I only recently found out that many well known harddrive brands use something called
SMR (Shingled Magnetic Recording):
Western Digital, Toshiba, and Seagate have sold SMR drives without labeling them as such, generating a large controversy, as SMR drives behave much more slowly under some circumstances (such as random writes)
My 2 TB HDD has this problem, which means that writing a lot of data leads to
terrible performance. I've seen it down to writing just kilobytes per second:
in order to write a single byte, it might have to rewrite multiple gigabytes.
In "normal usage patterns" (as designated so by HDD vendors, not by users!) this creates not much of a problem - the data is written to a CMR cache on the outer rim of the disk. Later, when disk usage goes down, the firmware will move the date to its final place in an SMR band.
When writing larger quantities of data at a time, this CMR cache is exhausted and the process of I/O to SMR bands has to take over - this is slower by orders of magnitude.
Since I now know about it, I'd never buy an SMR disk again.