Since our phones (at least in California) now give us a heads up a few seconds prior to an earthquake I was wondering if any thoughts have been made to extend this to home automation?
For instance, prior to an imminent earthquake of a defined threshold (e.g. > 6 magnitude) I can turn on my lights, send a TTS alert, turn off anything that moves (e.g furnace, AC, fans).
It appears that they have strict guidelines around who gets access to this data: ShakeAlert® Licensing Center – ShakeAlert but if there is interest from the community perhaps we can figure out a way to reach out to get something like this developed?
Reading over the material they provide a couple of thoughts:
Implementation would entail establishing a connection to a data feed and ingesting an XML string when provided. Not a herculean task, but would require an always on external connection.
Easiest hub only way to implement would most likely be an app to do the connection and XML processing, and a virtual device for use with RM, etc.
May not be their usual or preferred working methodology as it appears that they are more accustomed with working with a central provider (think phone or utility provider with a central registry of customers) instead of a distributed system. This would require an exception to their 6 max connections.
That being said I will probably send an email to the USGS Lead, Robert de Groot rdegroot@usgs.gov, to inquire as to his thoughts.
I'd look at using something like tasker to scrape the alert on a phone and send it to your hub. While HA has a feed for earthquake data I don't think it's realtime.