6
u/Geezagonk Jan 09 '20
He's posted a how to on YouTube - https://m.youtube.com/watch?v=zLU1cOYf1dY&time_continue=3
I'm currently working on something similar, but the web scraping looked to be a bit harder from my local council's website so I've ended up doing that in python. Looks like it'll work, but I'm not quite there with it yet
2
3
u/Dancing_Fajitas Jan 09 '20
How would I be able to make one of these? Any suggestions appreciated
6
u/singeblanc Jan 09 '20
I'd recommend getting a Wemos D1 Mini, which as has already been suggested features the ESP8266 WiFi-capable chip.
It works with Arduino and there are loads of tutorials online for connecting it to your WiFi so it's online. You'll then need to scrape your local council's website to find out the correct bin colour (there will be a lot of variation in this step!)
Then use an RGB LED to display the colour, and put it all in one of those plastic mini wheelie bins you can buy as pencil holders.
Good luck!
8
u/other_thoughts Jan 09 '20
Use an arduino with wifi/ethernet access. Write code that checks the appropriate website for info. Use an addressible LED strip. 3d print a suitable enclosure.
6
u/legos_on_the_brain Jan 09 '20
ESP8266!!!!! $4 Wifi board!
2
Jan 09 '20
Link to a good books to use?
4
u/legos_on_the_brain Jan 09 '20
You can use it with the arduino IDE. Just try looking up what you want to do specifically with the esp8266.
I've never used a book for projects. I've just looked up guides and adapted them to my needs.
3
Jan 09 '20
Ha sorry, that was a typo. I meant to ask if you had a link to a good esp8266 board to use. Google gives you a lot of different boards and I'm not sure which one to use.
0
2
1
u/So-I-Had-This-Idea Jan 10 '20
Yes, exactly this. I made something similar to indicate the weather forecast using an Adafruit Feather M0 and DotStar LEDs. The Feather checks the forecast via WiFi on DarkSky.net and changes the color of the LEDs accordingly. Weather Ball Pics here: https://imgur.com/gallery/IyEy3mx
3
u/timchi Jan 09 '20
On your computer, right click on website on the bit of data you're interested in and hit f12 for dev console. Review that code and find something unique you can do a text search for like an html tag and a header . For example, if the website has "bin color:green " you might search for "<p>bin color:" because that won't be anywhere else in the page.
Find the example sketch to save a file from a website and point it to the site in question. From that data, get a substring of text between the pattern you identified to the next space. That will be your color. From there it's just a switch case and your gpio or RGB code to light the appropriate color.
1
u/Dancing_Fajitas Jan 09 '20
Thx! :)
2
u/elmicha Jan 09 '20
Maybe your council lets you download an ical file that you could import into Google calendar. Working with Google Calendar is easier than web scraping.
12
u/chopsuwe Jan 09 '20 edited Jun 30 '23
Content removed in protest of Reddit treatment of users, moderators, the visually impaired community and 3rd party app developers.
If you've been living under a rock for the past few weeks: Reddit abruptly announced they would be charging astronomically overpriced API fees to 3rd party apps, cutting off mod tools. Worse, blind redditors & blind mods (including mods of r/Blind and similar communities) will no longer have access to resources that are desperately needed in the disabled community.
Removal of 3rd party apps
Moderators all across Reddit rely on third party apps to keep subreddit safe from spam, scammers and to keep the subs on topic. Despite Reddit’s very public claim that "moderation tools will not be impacted", this could not be further from the truth despite 5+ years of promises from Reddit. Toolbox in particular is a browser extension that adds a huge amount of moderation features that quite simply do not exist on any version of Reddit - mobile, desktop (new) or desktop (old). Without Toolbox, the ability to moderate efficiently is gone. Toolbox is effectively dead.
All of the current 3rd party apps are either closing or will not be updated. With less moderation you will see more spam (OnlyFans, crypto, etc.) and more low quality content. Your casual experience will be hindered.
1
Jan 09 '20 edited Jan 09 '20
3d print a bin. Arduino + time clock module with preprogrammed states flicking between the green state and the red/blue state at certain times/days. If council website has an API, even better.
After thinking about it, NodeMCU (ESP8266) and 4 x WS2812 Pixels. Less than £4 in electronics. NodeMCU will have code to pull time and date from NTP server. Script runs the red/blue state and the green state every other week.
16
u/gazellemeat Jan 09 '20
my area has a set schedule during the year so I wouldn't need internet access here in Canada to create. but thats awesome!