Top
Best
New

Posted by nizarmah 4/1/2025

Show HN: Offline SOS signaling+recovery app for disasters/wars(github.com)
A couple of months ago, I built this app to help identify people stuck under rubble.

First responders have awesome tools. But in tough situations, even common folks need to help.

After what happened in Myanmar, we need something like this that works properly.

It has only been tested in controlled environments. It can also be improved; I know BLE is not _that_ effective under rubble.

If you have any feedback or can contribute, don't hold back.

163 points | 89 commentspage 2
keyle 4/1/2025|
This is awesome. Technology put to good use.

Can voice be transferred? Message be recorded and rebroadcasted?

What about making the device vibrate SOS pulses. The person at stake might not have the strength to tap or bang, may be able put the phone on a metallic surface and send vibrations?

nizarmah 4/1/2025|
I appreciate it :D

Those two questions are spot on.

Voice cannot be transferred yet. Re-broadcasting might require a bluetooth meshnet.

Vibrations are a great idea. They are not that battery intensive. They also can be detected by 3rd party tech.

Both were added to the list of ideas. Thank you!!

I haven't done any effort there, because I want to get this into hands.

ioleo 4/2/2025||
Have you considered alternating signals using different radio frequencies? And then use differences in signal arrival times for more accurate location? Also I guess using different bands might be more universal, as signal loss would be different depending on environment and band used.
nizarmah 4/2/2025||
I have not, yet. Right now, it's more of a "signaling life" tool.

Improvements are definitely needed with location, but the signal loss as you mentioned is higher priority and restricts what can be used for location.

I'm planning to do my homework about alternatives to help mitigate the signal loss. And from there, the options for location might be clearer.

pizzly 4/2/2025||
Have you considered making the app to take a GPS reading then turn off the GPS to save battery life? If the person say is trapped in rubble they likely not going to move afterwards thus you can relay this location information to nearby receivers.
nizarmah 4/2/2025|
This is really smart. I did not!

In my situation, GPS was being jammed. That made GPS not useful at all. I tried my best to avoid it for that and battery usage.

But this initial reading and turning it off is just genius. I added to the list. Thank you so much!

lunatuna 4/2/2025||
As a thought, not tested, using wifi probe requests might be better through more dense material scenarios. Using a specific AP probe request "SOS Request" from the device would help discover over all the other AP requests that others are throwing. No idea if iOS or Android would let you hijack that process.

This is a bit more extreme, but some type of triangulation from multiple rescuers could be useful in closing in on a spot.

This is really interesting and thanks for sharing.

nizarmah 4/2/2025|
I collected a list of alternative options for signals that I'll be looking into [1]. I included wifi probe requests as well. Thank you so much!

[1]: https://github.com/nizarmah/igatha/issues/5

neuroelectron 4/1/2025||
Do smart phones support "LE Long Range (Coded PHY, S=8)" Perplexity says it can transmit up to a 1km in ideal conditions. Otherwise it's 10-30m indoor.
nizarmah 4/1/2025||
Receiving signals doesn't. Advertising likely does. So if someone has proper equipment, they probably can identify the signals.

Ideal conditions is likely open spaces with no interference. Walls and concrete lower that as you mentioned.

I'm hoping it can help if people are standing right next to the rubble, whether BLE or the "siren" sound.

I have no guarantees though. I haven't properly tested because I haven't thought of a low cost option yet.

neuroelectron 4/2/2025||
I'm asking if smart phones support LE Long Range
nizarmah 4/2/2025||
Hey neuroelectron! I'm sorry. I misunderstood your question, initially.

I don't know if phones support LE Long Range. I will look into it [1]. Thank you!!

[1]: https://github.com/nizarmah/igatha/issues/5

defenestrated 4/2/2025||
This is great. Is there a version of this that does p2p off-grid messaging? Use cases from: 1. Coordination between group members during camping in the wilderness. A mesh solution that works across iOS and Android would be ideal but mesh isn't a hard requirement either. 2. Messaging within a group who's flying together but across different seats/sections at cruising altitude in a long haul flight.
nizarmah 4/2/2025|
Not right now. There are applications out there that do p2p off-grid messaging.

Some of them might require you open the application the first time ever while on internet.

There are many out there (on the App/Play store) that support both use cases you mentioned, I just can't list any off the top of my head because it's been a while since I used one.

simon_acca 4/2/2025||
The EU is mandating Apple to implement WiFi-Direct https://www.ditto.com/blog/cross-platform-p2p-wi-fi-how-the-...

WiFi doesn't fare any better than BLE under rubble unfortunately, but WiFi is going to be a useful technology to build disaster response tools in general

nizarmah 4/2/2025|
That's awesome. We really need something stable and cross platform.

I'm not a fan of how Apple managed to make background BLE advertising and scanning work only with its own devices.

daveguy 4/1/2025||
Okay, what is "disaster detection"? I'd really prefer my phone not chirp noise over Bluetooth channels if I don't notice and respond to a notification in time.

Would be nice if the readme included the current method to detect disaster and the nature of the "SOS" signal. Is that something Bluetooth has a behaved protocol for, or is it really just chirping?

nizarmah 4/1/2025|
1. Disaster detection is a user toggle-able option that uses motion sensors to detect extreme shifts. 2. SOS signal is a BLE broadcast along with an alarm-like audio (generated from a sine wave).

+1, I usually have it off, but toggle it on when I'm in a bad setting. It can be made more accurate with time, especially with onboard ML models.

It is a Bluetooth protocol (BLE Scanning and Advertising, if you'd like to learn more about it).

I'll be sure to update the readme. Thank you for the great questions!!

dylan604 4/1/2025|||
It would be interesting to see if some of the earthquake advanced warning notifications could be integrated too. at least then it would be an "official" warning. seems like false positives would be possible with the device's motion sensors even with an "i'm okay" type of cancel.
nizarmah 4/1/2025||
I LOVE this. Thank you! Huge +1, even though it's not going to be easy.

Yeah, false positives are the largest problem. The barometer sensor helps reduce them, but it's not available on all phones.

Machine learning can help a lot here, but I haven't looked for publicly available data yet.

daveguy 4/2/2025|||
Excellent! Good to know it uses the standard BLE advertisement for the SOS and doesn't need WiFi or GPS.

Well thought out. Excellent work. Thank you for making this available as open source!

Side note -- I wonder if it's possible to have a companion system to scan regularly for the signal at home for the elderly. Then notify caregivers from the companion using available wifi/cell if the SOS is detected. Since it's so well behaved it seems like even having a regular wellness check mode would be possible. Having a companion system for relay would allow the app itself to never need WiFi/cell and have independent care notifications protocols that wouldn't need to be maintained in the app.

nizarmah 4/2/2025||
Thanks a lot for the kind words!

That's a really cool idea. Kudos!! A companion system should be relatively easy. It's also two single devices communicating with each other which makes things much simpler to build as well. This is worth looking closer into.

axegon_ 4/2/2025||
There is one thing that could make this insanely valuable. The bad news is that this thing is outside your control: No phone that I know of ships with a LoRa chip. Though to be fair, the only reason why LoRa (and by extension LoRaWAN and Meshtastic) are reliable and robust is precisely because they are not common at all.
lormayna 4/2/2025||
It would be nice to have a button to play a loud sound. A common use case is to play it when you are under ruin and you hear rescuers close to you. If the rescuers heard a loud sound, they can locate you quicker.

I don't know the amount of battery that is necessary to do that.

nizarmah 4/2/2025|
The current "Send SOS" plays a loud sound from the speaker, with the SOS beacon.

To cut time, I didn't modify the volume programmatically. So the user would need to have their volume set at 100%.

This needs improvement, especially considering my phone is always muted.

Likewise, the battery usage needs better testing.

improbableinf 4/2/2025|
How many people in my city or neighborhood must install the app (and use it, watch notifications) for it to serve its purpose?

It of course depends on the disaster, but in case of war this app can be used to find survivors for purposes other than saving them.

Great idea though.

nizarmah 4/2/2025|
Every person being rescued must have the app. Only one person rescuing needs to have the app.

It'll be easy to find a collapsed building site. The person rescuing just needs to be close to the site with the app. Otherwise, the signal might not be noticed.

+1 regarding finding survivors for malicious purposes. I tried my best to lower the surface area of that happening. It's still possible in edge cases, like opposing soldiers finding the people transmitting SOS, but they need to be extremely close to do that.

More comments...