It is very simple. The FIBARO Motion Sensor can be configured to work as an earthquake detector by setting the value of parameter 24 to 4.
Reports about vibrations will be sent to the controller at the time intervals specified in parameter 22.