# Phone alerts

*Settings > Alerts > This browser* has alerts told to the browser it is pressed in, by Web Push. On a phone that is a notification, and a tap on it opens the wall at the tile it is about.

## What it needs

- The wall reached over HTTPS, with a certificate the phone trusts: a name of the wall's own, with a certificate from a public authority or from one the phone was given. The certificate qKVM makes itself does not do.
- Over a tailnet, `--tls-tailscale` serves a certificate browsers trust: see [Over Tailscale or NetBird](https://qkvm.com/docs/web/over-tailscale-or-netbird).
- On an iPhone or iPad (iOS 16.4 or later), the wall added to the Home Screen (*Share*, *Add to Home Screen*) and opened from there.
- Alerts switched on (*Watch the KVMs and send alerts*), with or without a destination.

## Turn it on

1. Open the wall in the phone's browser. On an iPhone or iPad, open it from the Home Screen.
2. Go to *Settings > Alerts > This browser* and turn it on.
3. Press *Send a test*.

## Who is told what

- Any account may turn it on for its own browsers, and is told about the machines it may see.
- The list under it shows the account's browsers, and to an admin everybody's. Each says when an alert last reached it, or why not, and has *Remove*.
- A suspended account's browsers are told nothing. Removing an account removes its browsers.
- A phone that was off gets, when it is on again, what came within a day.

## Privacy

- An alert goes through the browser maker's push service: Apple's, Google's, Mozilla's or Microsoft's. It is encrypted for that browser alone, so the service sees only that an alert went, when, and its padded length.
- An alert carries the machine's name, what happened, and which tile. Never a password, a token, a machine's address or a picture.
- To the push services the wall names itself `https://qkvm.com`, never its own address.

## When nothing arrives

- A pause stops new alerts here as everywhere: see [Quiet hours and pauses](https://qkvm.com/docs/web/quiet-hours-and-pauses).
- A wall whose clock is far off is refused by the push services.
- A push address that leads into your own network is not sent to, and the browser's line says so.
- A known limit: where alerts were switched off while a trouble waited for a browser, that browser may later be told the machine is back to normal without the trouble before it.

## Related

- [Alerts](https://qkvm.com/docs/web/alerts)
- [Alert destinations](https://qkvm.com/docs/web/alert-destinations)
- [Over Tailscale or NetBird](https://qkvm.com/docs/web/over-tailscale-or-netbird)

[Full reference](https://github.com/qkvm/qkvm/blob/main/GUIDE.md#on-a-phone)
