Here you will find all the information about the configuration of the Event topic and the scritp that will get the tamper detection from the shelly device. Topic Event shellies/shellymotion2-8CF681A54082/status Script var data= JSON.parse(payload); return data.vibration == false ? "0" : "1";