batteryVolt
Read only property. Floating point. Returns the battery voltage (in volts) at the time of the last tag transmission.In below example, URL calling for low battery event (not supported directly from the URL calling option screen) is implemented.
<#tags_[12|13|32|21|52|72]_N#>.forEach(function(tag){ var notified=false; tag.updated=function(){ if(this.batteryVolt < 2.7 && !notified){ KumoApp.httpCall(<%URL to call when battery is dead%>, "GET"); notified=true; } else if(this.batteryVolt >= 2.7 && notified){ KumoApp.httpCall(<%URL to call when battery is back%>, "GET"); notified=false; } }; });