It is possible to set an alarm, which will be shown in the alarm window. When
the alarm expires, the phone wakes up if it is suspended, and zavai vibrates,
turns on baclight, shows a big ACK button and flashes the AUX led for 30
- seconds.
+ seconds. It also plays some music.
You can use the big button on screen or the AUX button to acknowledge the
alarm and stop all the attention-seeking activities.
- When I'll implement some audio playing infrastructure, I'll implement playing
- an audio file as well.
+ If you want to change the alarm ringtone, you can set:
+ ringtone_alarm = "file:///some/where/file.ext"
+ in ~/.zavai/config; gstreamer is used, so mostly any audio file format will
+ work. I'm not sure what will happen if you choose a video format: that might
+ work as well.
Alarms (acknowledged or not) are logged in "~/.zavai/log-alarm/". Still
missing, howerver, is a way to show that an alarm rang and noone noticed.
+ GSM status on main screen (with messages while coming online, and
operator, power and so on)
- log and refuse incoming calls and messages
+ to "move" the GSM device to my laptop:
+ socat FILE:/dev/ttySAC0 TCP-LISTEN:12345,bind=192.168.0.202
+ socat TCP:192.168.0.202:12345 PTY,link=/tmp/gps,raw,echo=0
+
- alarm
+ play sound at alarm trigger
- leave expired alarm on screen until acknowledged