veebch / hometime

A physical progress bar based on Google Calendar events
GNU General Public License v3.0
45 stars 6 forks source link

Moved eventnow #27

Closed H4K0N42 closed 1 year ago

H4K0N42 commented 1 year ago

Moved eventnow out of checkindex so it triggers every cycle Removed first and last element of appointment_times from eventnow if IGNORE_HARDCODED is True

H4K0N42 commented 1 year ago

hopefully fixes #23

H4K0N42 commented 1 year ago

Please dont merge yet, I have to change something

H4K0N42 commented 1 year ago

you can merge now :)

veebch commented 1 year ago

I've simplified the code as it wasn't working in flipped mode and the flow was becoming complicated. The new version doesn't have any animations (other than the rainbow)

H4K0N42 commented 1 year ago

I've simplified the code as it wasn't working in flipped mode and the flow was becoming complicated. The new version doesn't have any animations (other than the rainbow)

I would leave restore and blink in but ok, its your project

veebch commented 1 year ago

There are a few good bits that still need to go back in. Your use of the lights for the wifi setup mode is useful and the animations make sense. I'll add them back in once I figure out scheduling.

I'm looking at using callbacks to prompt the animations, so they happen exactly at the right time, rather than on the closest iteration.

I also looked at webhooks for the calendar changes, but that's a problem for another day.