this post was submitted on 22 Dec 2023
123 points (97.7% liked)

Technology

59377 readers
5811 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
[–] Neato@kbin.social 3 points 11 months ago (3 children)

With how this routes push notifications to an invalid IP, will they be resent or are they lost? When you put your phone is the box will you get all your missed notifications or just ones coming in while it's in the box?

Also your guests will think their phone is broken or your Wi-Fi is down.

[–] Gormadt@lemmy.blahaj.zone 4 points 10 months ago (2 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

[–] Neato@kbin.social 1 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.

[–] Gormadt@lemmy.blahaj.zone 1 points 10 months ago

The video in the article explains it quite well

linky link