That's awesome!
(Also awesome would be using the nextbus API to predict when the 1, 1R and
800 are coming at 49th/50th & Telegraph for those of us who use the bus.
Also possibly the 12 which is at 51st, I think.)
On Wed, Apr 29, 2015 at 5:42 AM, Marc Juul <juul(a)labitat.dk> wrote:
sudo room now automatically announces last BART
departures.
It should announce last departures from MacArthur station for each of the
BART directions, SF, Richmond, Pittsburg and Fremont. It will announce each
last departure twice in the window 30 minutes to 10 minutes before
departure.
Here's how it works: I hooked up a usb audio adapter and some speakers to
the sudo server, wrote a little script that talks to the BART API and set
it up to run as a cronjob that speaks the results using espeak.
The code is here:
https://github.com/Juul/lastbart
It's all new and fragile so you probably shouldn't rely on it just yet.
--
marc/juul
_______________________________________________
sudo-discuss mailing list
sudo-discuss(a)lists.sudoroom.org
https://lists.sudoroom.org/listinfo/sudo-discuss