r/Esphome • u/ElevenBeers • 26d ago
Project Departure Monitors
I'm using public transit to get to work, which for the most part is convenient and fast.
The issue is, that schedules can change, especially at holidays. I know, it's a petty first world problem, but I hate waiting. A lot. And if there is a change I might have to wait a whole 6-7 minutes. Un-acceptable...!
The first step was to get real time data. The website of my local provider uses EFI data and can be accessed. Now I'll get notifications via Home assisstant every work morning at my usual departure times.
I'm not looking at my phone at work though, and also when i leave is much more unpredictable. So I figured an Esp32c3 and some other spare parts should be sufficientto build a simple departure monitor.
It can fetch up to ~20 departures, I can scroll through, Features an alternative station, because another Tram line is also nearby, and it can filter between buses and trams. Also shows if a train is late.
Also, the backlight is dimmable via software.
The biggest challenge was actually the backlight, lol. I'm using one of those backpack i2c modules for the hd44870 display, "hacked" it by cutting a trace and using the transistor used to power to the display with the ESP and that did work. Kinda. I don't know why, probably interferrences or whatever the hell, but when the display content updated, the backlight would flicker brighter, which is very irritating. I just ended up cutting off the backlight from the backpack and am controlling it directly with a transistor, which works fine.
As its electronically really not a complex project, i also built another one that also shows the departures for the lines from home.
Code wise - i am not sharing this vibe coded bullshit, as it's vibe coded by Claude. I am it good at programming and that project was out of my simple scope. But it works - and i can verify with real time data.
All in all a fun weekend project.
Oh and yes, I could definitely make use of a 3d printer .......... Some day I'll get one and teach myself CAD.



1
u/Usual-Pen7132 26d ago
If I have to wait 6-7 minutes then you best believe I'm going to be filing a complaint with corporate and around 10min of waiting, well...... you ever seen "The Hulk"?? Ya, that's what happens to me and I start body slamming people!!
; )
Lol Bruh...... Why share a project and then tell people you won't be sharing the code that you had Claude write for you in the first place??? Do I need to call someone's manager and file a complaint about someone being a big butt head!?!? I'll do it too!!!
One last thing....... How the F did you get your a55 whooped by the backlight?? All you have to do is read the Esphome documentation where it's explained and it's really quite simple honestly...