←back to thread

1901 points l2silver | 2 comments | | HN request time: 0s | source

Maybe you've created your own AR program for wearables that shows the definition of a word when you highlight it IRL, or you've built a personal calendar app for your family to display on a monitor in the kitchen. Whatever it is, I'd love to hear it.
Show context
jareklupinski ◴[] No.35736732[source]
I made a small 4 digit LED display that syncs to my work calendar and counts down the hours/minutes or minutes/seconds to my next meeting, depending on how close it is to starting.

Currently working on moving the ICS calendar parsing part from a python script down to the microcontroller itself, then I can release.

replies(1): >>35738081 #
toast0 ◴[] No.35738081[source]
What's your target language for the microcontroller? I built a 'smart alarm clock' with what sounds like a bigger screen, that fetches iCalendar files and shows the next appointment/beeps at the appointed time.

I'm running on an esp32, with platform.io, and esp-sdk + Arduino. Overall project: https://github.com/russor/ClockThing

iCal library: https://github.com/russor/uICAL (if I had know how much work I'd need to do to make this library work for me... I might have left it with my hacky solution of processing on my own server in perl in a cron... But I had too many messups with that)

FWIW, Google Calendar recently stopped including real Timezone information in the calendar urls for newly created calendars. I ended up doing something gross to manage that (got a dump of all the tzurl 'outlook' calendar files, and load that before loading the user calendar; it's sketchy, but it works)

replies(1): >>35742269 #
jareklupinski ◴[] No.35742269[source]
haha I've had uICAL in a tab open for a week now, anticipating the plunge. ty for the experience :) guess i'll just hack the parser myself...

I'm also on esp32, and have been wanting to write more using the native esp-idf tooling. I'm comfortable with Arduino but now that I'm getting into things like sleep modes and low-level IO, my code is becoming a patchwork of Arduino pinMode and ESP-IDF gpio_hold_dis functions...

replies(1): >>35742460 #
1. toast0 ◴[] No.35742460[source]
> ty for the experience :) guess i'll just hack the parser myself...

Well, if you use my branch, I think I cleaned up everything, I think. Reccurance rules are pretty weird anyway.

I definitely recommend using platform.io though, if nothing else, it's easier to pull in forked libraries with.

replies(1): >>35744386 #
2. jareklupinski ◴[] No.35744386[source]
ah I didnt realize you linked your fork! ty again :)