this post was submitted on 22 Dec 2023
135 points (97.2% liked)

Technology

59312 readers
5006 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 10 months ago (1 children)

In the article it mentions that it downloads the notifications while it's in the box

So basically it must cache the notifications to so that

[–] [email protected] 2 points 10 months ago (1 children)

To pull this off, the Raspberry Pi is programmed to act as a router. Any lookups that are associated with Google’s push service are redirected to a nonexistent IP and blocked from reaching your phone. When the mailbox door is opened and you place a phone inside, an ESP-32 is activated which sends a notification to the Pi that it’s okay to allow push notifications through.

I'm not well versed in networking, but this reads to me as it blocks and sends all notifications to the void and then while in the box the Pi allows new ones through.

The question then is do push notifications need an ACK and if they fail to receive one do they try again? I know cell carriers can tell when you're out of connection and can delay notifications and packets until you reconnect but this is slightly different.

[–] [email protected] 1 points 10 months ago

The video in the article explains it quite well

linky link