AlarmDecoder AD2Pi Network Appliance

I was noticing that one of my zones was being reported as a different zone. I have no idea why, but I did some playing around and found that AlarmDecoder had the right zone but for some reason the smartthings device was wrong. I decided the easiest thing to do was to uninstall the service manager from smartthings and reinstall it to make sure I hadn’t messed up the original configuration.

Anyway, now when I try to install the service manager in the simulator on the website, I get

java.lang.NullPointerException: Cannot invoke method minus() on null object

Error log looks like this:

`ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:42 PM: trace locationHandler: description=register

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:42 PM: trace locationHandler

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:42 PM: error java.lang.NullPointerException: Cannot invoke method split() on null object

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:42 PM: trace locationHandler: description=null

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:42 PM: trace locationHandler

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:41 PM: error java.lang.NullPointerException: Cannot invoke method minus() on null object

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:41 PM: trace addExistingDevices, devices.find=uuid:97487987-b220-11e7-9ba8-b5672e8fd4f7={port=1388, ssdpUSN=uuid:97487987-b220-11e7-9ba8-b5672e8fd4f7, devicetype=04, mac=B827EB6C0227, hub=54a142d6-34b8-444f-a2d5-960dc05ea1ce, ssdpTerm=urn:schemas-upnp-org:device:AlarmDecoder:1, ip=C0A80B95}

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:41 PM: trace devices=[uuid:97487987-b220-11e7-9ba8-b5672e8fd4f7:[port:1388, ssdpUSN:uuid:97487987-b220-11e7-9ba8-b5672e8fd4f7, devicetype:04, mac:B827EB6C0227, hub:54a142d6-34b8-444f-a2d5-960dc05ea1ce, ssdpTerm:urn:schemas-upnp-org:device:AlarmDecoder:1, ip:C0A80B95]]

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:41 PM: trace addExistingDevices, getChildDevice(C0A80B95:1388)

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:41 PM: trace addExistingDevices: C0A80B95:1388

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:41 PM: trace initialize

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:41 PM: debug Installed with settings: [selectedDevices:C0A80B95:1388, shmIntegration:false, defaultSensorToClosed:true, shmChangeSHMStatus:false]

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:30 PM: trace locationHandler: device already exists… checking for changed values

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:30 PM: trace locationHandler: description=devicetype:04, mac:B827EB6C0227, networkAddress:C0A80B95, deviceAddress:1388, stringCount:04, ssdpPath:, ssdpUSN:uuid:97487987-b220-11e7-9ba8-b5672e8fd4f7, ssdpTerm:urn:schemas-upnp-org:device:AlarmDecoder:1, ssdpNTS:

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:30 PM: trace locationHandler

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:30 PM: trace locationHandler: device already exists… checking for changed values

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:30 PM: trace locationHandler: description=devicetype:04, mac:B827EB6C0227, networkAddress:C0A80B95, deviceAddress:1388, stringCount:04, ssdpPath:, ssdpUSN:uuid:97487987-b220-11e7-9ba8-b5672e8fd4f7, ssdpTerm:urn:schemas-upnp-org:device:AlarmDecoder:1, ssdpNTS:

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:30 PM: trace locationHandler

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:29 PM: trace discover_alarmdecoder

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:29 PM: trace discover_devices: [port:1388, ssdpUSN:uuid:97487987-b220-11e7-9ba8-b5672e8fd4f7, devicetype:04, mac:B827EB6C0227, hub:54a142d6-34b8-444f-a2d5-960dc05ea1ce, ssdpTerm:urn:schemas-upnp-org:device:AlarmDecoder:1, ip:C0A80B95]

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:28 PM: trace locationHandler: device already exists… checking for changed values
ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:28 PM: trace locationHandler: description=devicetype:04, mac:B827EB6C0227, networkAddress:C0A80B95, deviceAddress:1388, stringCount:04, ssdpPath:, ssdpUSN:uuid:97487987-b220-11e7-9ba8-b5672e8fd4f7, ssdpTerm:urn:schemas-upnp-org:device:AlarmDecoder:1, ssdpNTS:

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:28 PM: trace locationHandler

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:28 PM: trace locationHandler: Adding device: uuid:97487987-b220-11e7-9ba8-b5672e8fd4f7

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:28 PM: trace locationHandler: description=devicetype:04, mac:B827EB6C0227, networkAddress:C0A80B95, deviceAddress:1388, stringCount:04, ssdpPath:, ssdpUSN:uuid:97487987-b220-11e7-9ba8-b5672e8fd4f7, ssdpTerm:urn:schemas-upnp-org:device:AlarmDecoder:1, ssdpNTS:

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:28 PM: trace locationHandler

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:28 PM: trace discover_alarmdecoder

ea563cc1-b2e1-469e-9f07-401fb95da0a1 4:45:28 PM: trace discover_devices: subscribe to location`

I’m running the network appliance with Raspian Stretch and the Docker version of the webapp.

Jason