In China the public bins have solar panels so at night you can see the holes.

https://lemmy.zip/post/61234522

If I’m honest if it’s only illumination that doesn’t seem like the most efficient use of resources and energy (to build and eventually dispose of these electronics) in a populated area that’s likely to have adequate street lighting.
There is a possibility this panel feeds into a larger solar collection system, and is a clever use of a distributed solar surface.
which one dispenses the gutter oil? /s

Or that there is an electric compactor in there

We have those in US cities one company that makes them is BigBelly.

Most of the solar powered electronics are for compacting trash, and then alerting the collectors when they are full. I’ve never seen a lit bin, but it’s a nice touch.

Agree. However I like the idea of marking bins with a colored LED light, which is visible from all sides. Would make it a lot easier to figure out where you can put your trash. And a couple of LED, coupled with a solar panel and some electronics is probably reasonable for the amount of people who would be motivated to walk those couple meters to throw away the trash.
Plot twist: It all feeds into one single bin.

I think they’ve got a lot of that basic electronics manufacturing down to the point where it’s a “why not.”

Sort of like throwing a coat of paint on it.