ToH Knock for Inari Blue

Okay, this is so simple I feel almost ashamed for mentioning it, but:

I made Inari Blue Knock today.

It’s simply two systemd units which do the following:

  • Listen on port 10092 (both UDP and TCP)
  • If anything connects to the port, “play” the Inari Blue breathing light for one minute.

My original intention was a kind of “find my phone in the dark” idea. Send a special command, and trigger the LED thing.

Remarks

We will ignore the fact that if I have lost my phone in the dark I am unlikely to be in the vicinity of a device which can send a network package to the phone. Ignore. Yep. That’s what we’ll do!
Also I lied. If if I have lost my phone in the dark at home I have literally dozens of devices which can do that quite close. To think a /27 network would suffice for the LAN - ah stupid younger me!

If you want to try, it’s currently at Chum:Testing, going to Chum Main soon:

https://build.sailfishos.org/package/show/sailfishos:chum:testing/toh-inari-knock

Source code and Guide/README is here:

https://codeberg.org/nephros/toh-inari-knock.git

18 Likes