Most active commenters
  • Vegenoid(4)
  • rakoo(3)

192 points lightlyused | 64 comments | | HN request time: 1.662s | source | bottom
1. tonetegeatinst ◴[] No.41880962[source]
Shame the solar panels can't do "self-healing".

I this this is cool, I know a couple folks who got homelabs on reddit who mainly use solar power due to the cost and want to go green.

replies(1): >>41883382 #
2. tomfly ◴[] No.41880984[source]
this is really neat.
3. Scoundreller ◴[] No.41881007[source]
The solar-run site is at https://solar.dri.es/ in case everyone wants to check it out all at once ;)

Of course this got posted on a sunny, cool and breezy morning in Boston. Sneaky!

replies(2): >>41881155 #>>41881263 #
4. punnerud ◴[] No.41881155[source]
Is this the same page that had the background effect indicating level of the battery?
replies(1): >>41881237 #
5. Eumenes ◴[] No.41881196[source]
Pretty cool. I use one of these small panels as a battery tender for a generator. It only is about 30w, but keeps a small 12v battery from dying over the months. It also has a charge controller built in - https://www.amazon.com/OYMSAE-Portable-maintainer-Cigarette-...
6. asoneth ◴[] No.41881237{3}[source]
My guess is that you're thinking of https://solar.lowtechmagazine.com/
7. ◴[] No.41881263[source]
8. louwrentius ◴[] No.41881290[source]
Nicely done!

Now, Low Tech Magazine also has instructions to convert a stationary exercise bike into a human powered generator, which you could build to add power during the winter :-)

9. IncreasePosts ◴[] No.41881461[source]
Solar powered sites are cool and fun, but I find it ultimately lacking because so much of the rest of the networking infrastructure is reliant on the grid. It would be more energy efficient to just host the static site on cloudflare or whatever, and use the solar panel to charge some batteries, or something you would normally use the grid for. I suspect overall energy usage would be even lower if the site was hosted on a CDN, due to the CDN operators keeping their machines near full utilization, and fewer network hops required for an average request.
replies(5): >>41881698 #>>41881739 #>>41882749 #>>41884166 #>>41884809 #
10. elintknower ◴[] No.41881484[source]
This is cool, but I mean... come on. This guy lives in a $2M apt in a big city.

The amount of energy being "saved" yearly is wasted almost every second.

replies(3): >>41881584 #>>41881718 #>>41883002 #
11. tomcam ◴[] No.41881584[source]
How does it help the discourse to bring this up? Would you like it if someone inserted this kind of (irrelevant) and unsubstantiated information when commenting on an article you wrote?
12. genter ◴[] No.41881698[source]
You don't like that the rest of the infrastructure is on the grid, so you're proposing moving the site to the grid too?
replies(3): >>41882065 #>>41882551 #>>41884699 #
13. genter ◴[] No.41881718[source]
I can't speak for his specific apartment, but apartments in general are more energy efficient that a suburban house. New York City is one of the lowest per capita CO2 emissions in the US.
replies(1): >>41882406 #
14. emdanielsen ◴[] No.41881733[source]
This is so cool! I'm so surprised I've never heard of someone doing this before :)
replies(2): >>41882853 #>>41883749 #
15. Vegenoid ◴[] No.41881739[source]
Agreed. When I see this type of thing, I am always turned off by people describing it as "greener" or “more sustainable”. Every small website having its own solar panel and hardware is not greener. People frequently think only of the carbon emissions of the energy used by the hardware once it's running, ignoring the carbon (and raw material) cost of building that hardware.

Serving websites is an area where capitalism’s promise of achieving efficiency of resource utilization through economic incentives probably actually works, via shared hardware.

This is a hobby and aesthetic thing, which is valid and interesting.

If anyone has some good data about carbon emissions of self-hosted vs shared hardware I’d love to see it.

replies(4): >>41882529 #>>41882802 #>>41884626 #>>41889793 #
16. photochemsyn ◴[] No.41881863[source]
Cool project, but also a great all around tutorial - the appendix section is a nice idea and very helpful for many people I'm sure.
17. anoth3rsmith ◴[] No.41881885[source]
How many more panels/bigger battery would your need to move the switch and other required home infra to run the site?
18. ffsm8 ◴[] No.41882065{3}[source]
He's looking at it from a utilitarian point of view.

From that perspective, you've got a finite amount of energy that's being consumed at any point of time and by that logic, you'd be better served to use the solar energy for something else in your household that would've needed the grid, because a cloud provider will almost certainly only need a fraction of the electricity you'd need to keep the static files served.

So, by doing that you've effectively reduced your absolute energy footprint.

But these projects aren't about reducing your energy footprint. They're about having a local webserver that's running on solar energy. Or in the authors words: At its heart, this project is about learning and contributing to a conversation on a greener, local-first future for the web

replies(1): >>41882175 #
19. ericd ◴[] No.41882175{4}[source]
Yeah, it’s cool to just see what goes into it, and get a more intuitive understanding of the tradeoffs and what needs to be done to move more of this to green energy. It makes the (large) challenge of matching generation to consumption a whole lot more real. It’s obviously not meant to be a maximized carbon reduction in any way commensurate to the effort.
20. kkfx ◴[] No.41882182[source]
I suggest a different reasoning: what's about domestic p.v. with storage and racks in the basement with "free" A/C in terms of WFH and distributed "datacenters"?

How many have realized how much stuff can be hosted at home with availability levels not really far from most common datacenters?

21. Scoundreller ◴[] No.41882406{3}[source]
I can believe it either way, but some of that is because carbon-intensive industry will be based out of the city and its products imported in.

I doubt there’s a cement kiln, cattle farm or oil refinery within city limits.

replies(1): >>41882553 #
22. ravetcofx ◴[] No.41882529{3}[source]
except all of this could be used hardware and panels. no need to buy new.
replies(1): >>41883357 #
23. skrtskrt ◴[] No.41882551{3}[source]
the grid is going to continue to get efficiency and renewable energy improvements that help at a much more massive scale.

it's 1000x more helpful to just like only run your big appliances when your grid is using more renewables.

replies(1): >>41886559 #
24. relaxing ◴[] No.41882553{4}[source]
These figures are generally based on consumption rather than production for that reason. It’s not helpful to credit emissions to the people who largely aren’t driving the output.

City living brings efficiencies from operating at scale - fewer miles by car, block of apartments instead of single family homes.

25. j45 ◴[] No.41882749[source]
That doesn't seem to make sense.

Yeah, it's only a 50W solar panel. The solar power could be upgraded to a 400W no problem and the issue you have will no longer exist.

Often people smart with a small system to get things figured out how they want it before adding more capacity. Seems reasonable, no?

Networking equipment shouldn't be much power, speaking from personal experience.

It can be on a small UPS, even one from Costco to run it all off battery, and then solar to refill.

26. cogman10 ◴[] No.41882802{3}[source]
> People frequently think only of the carbon emissions of the energy used by the hardware once it's running, ignoring the carbon (and raw material) cost of building that hardware.

The carbon is hard to account for in manufacturing. Solar, for example, is pretty close to being produced entirely with electric consumption and very little required CO2 output (except perhaps in the transport of silicon and other raw materials). The big energy draw for solar and battery is a kiln stage in both. Solar has to melt down the silicon which requires a high temperature furnace and batteries are basically "cooking" the raw materials onto their foil.

The math for solar is something like 1 to 4 years of generation before it pays back the manufacturing power debt. Batteries tend to be much shorter as they take less energy in their manufacturing process (with some hopeful techniques in the future significantly reducing that number).

Now, none of this is to contradict you, just putting the numbers out there. I completely agree that a server farm is likely to be far more efficient for hosting a website than home built solar powered pi. The CO2 emissions will be hard to beat, particularly if your cloud host resides in the PNW where power is nearly entirely renewable already.

27. mrweasel ◴[] No.41882853[source]
There was a project a while back, sadly it seems to have gone offline, it was a kosher news aggregator. They had the most interesting rules, like only charging the batteries on Tuesday. It was such a weird and interesting projects.

Archive of the website: http://web.archive.org/web/20200707101320/https://jewjewjew....

28. sdepablos ◴[] No.41882905[source]
Heavily inspired - I suppose - by the oldest (2018) solar-powered website, Low Tech Magazine https://solar.lowtechmagazine.com/about/the-solar-website
29. rkwz ◴[] No.41883002[source]
The author clearly explains in the post:

> When I started this solar-powered website project, I wasn't trying to revolutionize sustainable computing or drastically cut my electricity bill. I was driven by curiosity, a desire to have fun, and a hope that my journey might inspire others to explore local-first or solar-powered hosting.

> The cost savings? Looking at our last electricity bill, we pay an average of $0.325 per kWh in Boston. This means the savings amount to $2.85 USD per year (8.76 kWh * $0.325/kWh = $2.85). Not exactly something to write home about.

replies(1): >>41884571 #
30. culi ◴[] No.41883285[source]
Obligatory post of the most well known solar website. Low Tech Magazine

https://solar.lowtechmagazine.com/

They do a lot of other sustainable web development[0] practices like letting you read offline, having incredibly small page sizes (always shown in the lower left corner), and dithering all their images[1] (which imo creates a cool effect)

[0] https://sustainablewebdesign.org/

[1] https://solar.lowtechmagazine.com/about/the-solar-website/#h...

31. Vegenoid ◴[] No.41883357{4}[source]
"Used" doesn't magically wave away the carbon/resource cost of producing the hardware. Buying used hardware still stimulates demand for the production of new hardware, although to a lesser extent than buying new.

Buying used also only works when not that many people are doing it. On an individual level, it is a good thing to do, but it isn't a solution. It does help foster an environment of maintaining and supporting hardware for longer, which is a better solution.

I could envision a scenario where solar self-hosters replace hardware at a rate so much lower than than hosting companies that it outweighs the additional hardware it requires, but I don't think it is the current reality.

replies(1): >>41884642 #
32. kjkjadksj ◴[] No.41883382[source]
You can get self healing solar power if you grow bamboo and use the resulting charcoal for fuel. Carbon neutral I guess.
replies(1): >>41884542 #
33. mbrizic ◴[] No.41883749[source]
I did something very similar a while back: https://mbrizic.com/blog/solarhosting/
replies(1): >>41887212 #
34. pluto_modadic ◴[] No.41883794[source]
controversial take: but I think it's fine to host stuff on your own machines, rather than the massive big-data hyperscale datacenters. Yes, google/cloudflare/AWS might be more efficient per watt, but I don't like giving them more money to continue to violate privacy/TOS/labor... (AI, kiwifarms, &, well, everything amazon does).

No, it won't be the most efficient, but it's yours.

replies(1): >>41884570 #
35. imwillofficial ◴[] No.41883971[source]
This is such an incredibly cool site. Bravo.
36. jvanderbot ◴[] No.41884166[source]
Come check out my solar site. it's hosted in my basement and I paid a premium to my utility company so my power comes from solar credits (xcel)

It's be neat to have a digital ocean or equivalent that allows locating in data centers by energy source.

37. tonetegeatinst ◴[] No.41884542{3}[source]
I bet using bamboo for power generation might be more clean that coal, especially if we turn the bamboo into coke first.

Granted I doubt you could "farm" bamboo like trees or other plant. Given how fast section species of bamboo can grow, which is a big benefit in this hypothetical, you would probably need a ton of water and no matter how nutrient rich the soil is you'd probably deplete the soil after a few harvests.

Shame considering how fast growing and dense bamboo is.

replies(1): >>41907520 #
38. cortesoft ◴[] No.41884570[source]
You wouldn't be giving cloudflare any money to host it with them.
replies(2): >>41885206 #>>41889694 #
39. cortesoft ◴[] No.41884571{3}[source]
Will the hardware last long enough to recoup the cost? Probably not.
40. nine_k ◴[] No.41884626{3}[source]
If a small website reuses an old low-power computer that would otherwise go to e-waste, it makes things more sustainable. If it's about buying the newest and greatest RPi, it doesn't.

BTW same is true for solar panels. Second-hand solar panels, with remaining efficiency of 70%-90% of the original rating, are really cheap. It's a perfect thing to reuse for a "greener hosting" hobby project.

41. nine_k ◴[] No.41884642{5}[source]
It reliability waves away the costs of producing hardware for this particular project.

The second-hand computer and second-hand panels have already been produced for someone else, their cost is sunk. But their value can continue with this project, or end with the hardware and panels going to a dumping ground.

replies(1): >>41888988 #
42. ejddhbrbrrnrn ◴[] No.41884699{3}[source]
Yes it is not a contradiction here.

Economies of scale make cloud more efficient for basic sites like this. It is like using street lights vs. every house putting out a few candles.

In addition we love the grid! We want it to get greener. Put the effort into making the grid energy zero carbon, low pollution while still highly available.

Furthermore using that solar to say charge your work laptop and then hosting the site in CF would net use less energy.

43. lightlyused ◴[] No.41884809[source]
Have you heard of https://meshtastic.org/ ?
44. vedmed ◴[] No.41885206{3}[source]
Am I missing the joke here? Clue me in. Cloudflare isn't a host to my understanding. You can't upload files to it and serve them. At least, not on the free tier.
replies(2): >>41885439 #>>41886090 #
45. noman-land ◴[] No.41885439{4}[source]
Yes you can.
replies(1): >>41888421 #
46. ekianjo ◴[] No.41885625[source]
> In contrast, traditional hosting might cost around $20 USD a month

Hosting that is vastly more powerful than a RPI in the first place. And there are much cheaper VPS that costs only a dozen dollars a year, too, and can do a lot more than this rpi. No matter how you look at it this is not saving any money.

47. FlyingSnake ◴[] No.41886090{4}[source]
I think the joke was Cloudflare has a generous free tier that covers a lot of ground, sp your bill will be zero. Most hobbyists won’t hit the limit.
48. vicnaum ◴[] No.41886211[source]
Great job. I was thinking about it too, but stopped on the networking.

Would be so cool, if networking could also be kinda "self-hosted" and "free", like mesh-networks, or satellites, or smth.

49. mttch ◴[] No.41886438[source]
Cool project and I’d really like to try something similar with a 4G/5G connection so it doesn’t rely on site WiFi.

I don’t think your cost comparison is fair between the rpi and hosting. I host my website on a £1/mo shared vps and for my energy costs that equivalent to running a low power server at home, ignoring all the other benefits of it being off-site.

replies(1): >>41895690 #
50. teamonkey ◴[] No.41886559{4}[source]
Not sure that’s true due to power losses over distance. Running your appliances off your own solar panels and not having to draw from the grid is probably more efficient in terms of energy generation.
51. rijoja ◴[] No.41886800[source]
> Lithium Iron Phosphate (LFP or LiFePO4) battery

This should be "Lithium Ion Phosphate...", right?

replies(2): >>41886836 #>>41886851 #
52. WesolyKubeczek ◴[] No.41886836[source]
Fe is for iron here
53. snickerer ◴[] No.41886851[source]
No, they used a Lithium IRON battery. LiFePO₄ literally means Lithium Iron Phosphate. These batteries are safer, more thermally stable, and have a longer cycle life compared to typical Lithium-Ion (LiCoO₂) batteries. However, LiFePO₄ has a lower energy density, meaning less capacity for the same size and weight.
54. bantunes ◴[] No.41887212{3}[source]
What did you use to differentiate green from (I'm guessing) blue links when it's down?
replies(1): >>41887525 #
55. mbrizic ◴[] No.41887525{4}[source]
Each color is a different build running on a different server. And then a load balancer picks which server you'll end up on.

Code-wise, the only difference between the builds is the CSS setting the link color.

56. left-struck ◴[] No.41888421{5}[source]
It’s hilarious because vedmed said “ You can't upload files to it and serve them. At least, not on the free tier.” but that is EXACTLY how cloudflare pages’ free tier works lol
57. Vegenoid ◴[] No.41888988{6}[source]
Again, no it does not. When someone buys a new RPi, it was already made. The cost of making it was already sunk. Buying it gives the company that made it more money, and encourages them to make more.

If you buy a used RPi, it gives money to someone who buys new computers, and encourages them to buy more. It stimulates demand for the production of hardware, just like buying new stimulates the production of new hardware, even though the hardware you bought had already been built.

Yes, it is to a much lesser extent than buying new, but it certainly isn’t zero. And again, it only works on a small individual level.

It is a good thing to do, but it does not zero out the cost of producing (or running) the hardware.

58. rakoo ◴[] No.41889694{3}[source]
So they'd violate your privacy and re-centralize the web for free ? That's not exactly a rebuttal
59. rakoo ◴[] No.41889793{3}[source]
> Serving websites is an area where capitalism’s promise of achieving efficiency of resource utilization through economic incentives probably actually works, via shared hardware.

Most of the environmental impact happens at the building of hardware, so putting even more websites in datacenter only increases environmental impact. All Capitalism has done here is completely forget that impact by telling you it's ok to do always more.

What we collectively need to do is not find a better tech, it's reduce the total amount of tech we use, and that starts with questioning our actual uses. We don't need 24/7 available websites, 90% availability is more than enough. In fact, more sites should only target 90% availability, and if we were serious about tackling this we'd look towards 1. using old computers to the death because they still can and 2. doing more offline-first. Putting your website in a datacenter is exactly what the Jevons Paradox (https://en.wikipedia.org/wiki/Jevons_paradox) warns about. Its environmental impact keeps exploding year after year and it's not with that mindset that we'll make a dent in it.

(Remember, the environment is not a resource, so Capitalism doesn't care about it)

replies(1): >>41890017 #
60. Vegenoid ◴[] No.41890017{4}[source]
Agreed, that's a fair criticism. The whole mindset needs to shift to actually become sustainable, and the mindset shift is more likely to happen by self-hosting with used hardware than abstracting away hardware to a datacenter.

I think a more likely way of changing usage patterns is by actually pricing carbon cost into energy production and manufacturing via taxes. The costs of things are only so low because we are borrowing from the future. I don't think a mindset shift will happen under capitalism without the monetary cost of things increasing. And I don't think capitalism will change unless by collapsing, at which point we're too late anyway, and would come with much human suffering. I don't believe that capitalism is fundamentally broken, but I do believe that unchecked capitalism is. Regulation and taxes are required to manage its negative tendencies.

replies(1): >>41891029 #
61. rakoo ◴[] No.41891029{5}[source]
I still don't think capitalism will help in solving this issue, if only because putting a cost on the environment will always be fought against and never integrated: there is no interest in this. And I also don't think that a strong State will implement strong checks on capitalism, if only because States are inherently dominated by capitalist powers.

If we want to take it into consideration, we have to take the matter in our own hands, away from the State, away from capitalistic interests.

62. ◴[] No.41895690[source]
63. cwkoss ◴[] No.41907520{4}[source]
The resulting ash would contain the vast majority of the extracted minerals. Throw in some kitchen scraps to replenish nitrogen and you'd probably be self sustaining at a reasonable hobbyist scale.