Here you will find all the information about the configuration of the Event topic and the scritp that will get the Battery level from the shelly device. Topic Event shellies/shellymotion2-8CF681A54082/status Script var data= JSON.parse(payload); return data.bat;