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.
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.