dryark / controlfloor

System for controlling devices remotely
Other
84 stars 27 forks source link

System Alert Auto-respond #12

Closed nanoscopic closed 3 years ago

nanoscopic commented 3 years ago

System alerts can / do interfere with automated tests. The UI should provide a way to specify automatic responses to system alerts, so that they can be dismissed ASAP to reduce test breakage / interference.

nanoscopic commented 3 years ago

Watching of syslog is now builtin, and used to switch to default video for showing system alerts.

As a result, system alerts are already being detected now, so some of the groundwork for this issue is already done.

nanoscopic commented 3 years ago

This has been implemented. Alerts to be automatically responded to can be added to the alerts setting of provider. See default.json config of ios_remote_provider.

https://github.com/nanoscopic/ios_remote_provider/blob/main/default.json#L64