Recent deployments of Earthquake Early Warning (EEW) system in Japan and some other earthquake-prone regions provide the vital warning signals prior to the arrival of destructive ground motions. The EEW system uses the different traveling speed of seismic P- and S-waves to achieve the goal of earthquake warning. This technology is primarily used to produce warning signals to alert the public to avoid potential risks, such as to evacuate from buildings. It is also used to mitigate other risks such as reducing train speed of Shinkansen trains. The present study suggests a new seismic-risk mitigation technique by connecting a base isolation system with the EEW. Base isolation is a mature technology which decouples structure from its base and lengthens its natural period of vibration. However, existing base isolation devices must possess certain lateral resistance to withstand service lateral forces such as wind, and such stiffness hinders the effectiveness of vibration isolation. In addition, supplementary damping devices are sometimes added to control excessive displacements in isolation level. This paper proposes a smart system which changes the property of a base isolation system upon EEW signal. In normal times when earthquake risk is not present, the base isolation system is locked by shear keys. When an earthquake is signalled by the EEW system, a mechanical system releases the base isolation system. When the earthquake ceases, the system resets and base isolation is locked again. On-board vibration sensors are added to activate the system in case of EEW fails to detect incoming waves. A crucial benefit of the system is that supplementary damper is no longer required to control excessive isolator displacements, and elastic stiffness of base isolation is no longer required to re-enter the base isolation system. The result is that it maximizes the vibration isolation effectiveness. A conceptual framework of proposed system is described and demonstrated by laboratory-scaled experiments. A 6-storey test frame is excited on a shake table subjected to historical earthquakes. Results indicates that the proposed system is effective in reducing earthquake responses on the building. It is an IoT-enabled earthquake-risk mitigation system.