These scripts use the HomeSpan Library by Gregg E. Berman and are based on the RemoteSensor examples. Check it out at https://github.com/HomeSpan/HomeSpan! For this script to work you have to install the library first. For instructions please have alook at the stated github link.