Skip to content

Notifications ​

The daemon notifies you when the phone needs attention, through whichever channels are configured.

When ​

EventWhat to do
Re-signing failedCheck the error in status; run login again if the session expired
Apple ID session expired (checked daily)Run iphone-control login
The phone needs the passcode after a reboot (Enable UI Automation)Enter the passcode on the phone
WDA recovered—
Auto-unlock failed and was disabledSee Auto-unlock
Phone offline / back onlineCheck the cable and the host

The same event isn't sent twice; recovery is sent once.

Bark ​

ini
BARK_SERVER=https://api.day.app   # or your own Bark server
BARK_KEY=your-key

Telegram ​

ini
TG_BOT_TOKEN=123456:ABC...
TG_CHAT_ID=your-chat-id

Test ​

bash
docker exec iphone-control iphone-control notify-test           # one per event type, titled "[测试]"
docker exec iphone-control iphone-control notify-test offline   # one type: resign / session / pin / pin-recovered / unlock / offline / online

No notification if the container itself dies

Notifications come from the daemon. Watching the container or host needs separate monitoring, which this project doesn't provide.

Released under the MIT License · Not affiliated with Apple Inc.