Chris Vogel @me@chrichri.ween.de

not yet

intent

no sarcasm, no irony

hashtag

#packetfence, #yunohost, #flohmarkt, #librem5, #ShotOnLibrem5, #microblogpub, #Lite3DP, #deskhop, #espressi

matrix

@chrichri:ween.de

  • Notes
  • Articles
  • Remote follow
Chris Vogel's avatar
Chris Vogel
@me@chrichri.ween.de

Waking my #Librem5 from suspend when a new #matrix message triggers a notification.

Starring:

  • matrix server: #conduit
  • #UnifiedPush and notification server: #ntfy
  • #sip client: #pjsua
  • #fractal: matrix client
  • #feedbackd: rhythm & sound

https://git.sr.ht/~chrichri/Librem5-wake-on-IM

~chrichri/Librem5-wake-on-IM - Documentation on how to wake a Librem5 via voice call when a new InstantMessage is waiting to be received. - sourcehut git git.sr.ht
  • permalink
  • interact from your instance
  • 7 months ago
  • 13 likes
  • 5 shares
  • 2 replies
Likes
@opensourceopenmind@vivaldi.net @danialbehzadi@persadon.com @atomkarinca@fe.disroot.org @cocolinofan@mastodon.social @fisherdude@mastodon.social @rmader@mastodon.social @j4n3z@mastodon.social @pojntfx@mastodon.social @samuel@pi4b.tail65cfe.ts.net @dperson@fosstodon.org
and 3 more.
Shares
@danialbehzadi@persadon.com @janvlug@mastodon.social @fisherdude@mastodon.social @okennedy@social.sdf.org @thejackimonster@wehavecookies.social
Guido Günther's avatar
Guido Günther
@agx@librem.one

in reply to this object

@me Nice write up.

To wake up the phone one can also do `ntfy <topic> send-sms.sh` and then mark the number that sends the SMS as silent in #chatty.

The SMS can be sent from the UP server via an old phone or via services like text-belt.

(that's what I'm using atm to get my devices to sleep longer).

#LinuxMobile #UnifiedPush #ntfy

  • permalink
  • 7 months ago
Guido Günther's avatar
Guido Günther
@agx@librem.one

in reply to this object

@me a nice feature of SMS is that you can put the metadata into the SMS so one can e.g. just fetch that one single message in matrix (once chatty supports this, l already added support to libcmatrix)

  • permalink
  • 7 months ago
Chris Vogel's avatar
Chris Vogel
@me@chrichri.ween.de

in reply to this object

@agx@librem.one Yes, that's supperior if sending SMS is cheap or flat. I looked around for cheap SMS and it seems to depend on the volume: either a flat starting from 3,50€ / month or some internet service charging around 0,06 € / SMS.

And there are shady services offering SMS for free via form on the internet. I don't believe in services that are for free and protect my privacy.

The companies I use for calling I do pay already even though I believe that calling for signaling only might be against my contract.

I guess the best solution will be if people join into groups to drive a SMS flat to share the monthly price. The groups still would need to trust each member or at least the admins, because they have their numbers.

Implementing a notification distributor into chatty is a genius move 😀. It'd be great if it could subscribe over IP as well. This could open the way to a protocol that avoids sending SMS in times the distributor is online and receiving notifications via IP.

This could work like a fallback connection: if the notification server doesn't detect the distributor getting a notification it'll fallback to pushing it out by SMS.

  • permalink
  • 7 months ago
Chris Vogel's avatar
Chris Vogel
@me@chrichri.ween.de

in reply to this object

@agx@librem.one P.D.

It would be really great if the chatty distributor would offer from the beginning an option to run scripts for received notifications.

Setting up my POC for calling to wake up using the ˋntfyˋ cli client has been great fun, because I could just hack away with some script that is called on each incoming notification.

  • permalink
  • 7 months ago
  • 1 like
Silmathoron ⁂'s avatar
Silmathoron ⁂
@silmathoron@floss.social

in reply to this object

@me
I'm both extremely impressed and somewhat horrified 😅

  • permalink
  • 7 months ago
Powered by microblog.pub 2.0.0+ynh2 and the ActivityPub protocol. Admin.