More information would be good… The variables look like they are from a motion sensor… but the iDoorContacts variable should not be present on the motion sensor…
First… look in the LuaUPnP.log… I added some debug logging to the updated implementation, so you should be able to see what is happening…
It should look something like:
02 11/14/15 11:36:33.295 luup_log:293: (iDoorContact::Startup) Starting iDoorContact ATS controller with autodetect <0x76bc6520>
02 11/14/15 11:36:33.296 luup_log:293: (iDoorContact::findDevices) Discovering eligable devices <0x76bc6520>
02 11/14/15 11:36:33.297 luup_log:293: (iDoorContact::findDevices) found device - id [291] name [LR ZW Motion Sensor] type [urn:schemas-micasaverde-com:device:MotionSensor:1] <0x76bc6520>
50 11/14/15 11:36:33.298 luup_log:293: (iDoorContact::CreateChildDevices) Creating/updating ATS device for Z-Wave device [291] <0x76bc6520>
50 11/14/15 11:36:33.300 luup_log:293: (iDoorContact::GetChildDevices) Found ATS device [294] for Z-Wave device [291] <0x76bc6520>
50 11/14/15 11:36:33.301 luup_log:293: (iDoorContact::Startup) Monitoring device [291] <0x76bc6520>
02 11/14/15 11:36:33.302 luup_log:293: (iDoorContact::Startup) Startup complete <0x76bc6520>
The temperature value that is diaplayed (0 - zero), indicated that the temperature device has never been updated… Have you waited for at least the pool interval? The motion sensor does not update the temperature reading continuously… only when the device determines that the temperature has changed enough to sent a new report.
So the next step is to test that a change in the CurrentTemperature variable actually updated the ATS device… Go to the advanced/variables tab for the motion sensor device and change the CurrentTemperature variable to 1… then look in the log… you should see something like…
50 11/14/15 11:51:14.573 luup_log:293: (iDoorContact::UpdateLevel) Updating ATS device [294] for Z-Wave device [291] <0x72661520>
50 11/14/15 11:51:14.575 luup_log:293: (iDoorContact::getAverageTemp) Calculated average temperature [1] from [1] devices. <0x72661520>
This verifies that the plugin works.
If you do NOT see the log output for the UpdateLevel function, then verify that you are changing the variable for the correct motion sensor device.
If everything in the logs looks ok, then test your motion sensor… Remove it from the wal/ceiling/test bench and place it in the freezer for a few minutes… then replace the sensor in its original location… As the sensor cools down and warms up, it should send updated temperature reports… and you should see this reflected in the logs.
50 11/14/15 12:05:29.510 luup_log:293: (iDoorContact::UpdateLevel) Updating ATS device [294] for Z-Wave device [291] <0x76dc6520>
50 11/14/15 12:05:29.511 luup_log:293: (iDoorContact::getAverageTemp) Calculated average temperature [23] from [1] devices. <0x76dc6520>
50 11/14/15 12:06:48.624 luup_log:293: (iDoorContact::UpdateLevel) Updating ATS device [294] for Z-Wave device [291] <0x76dc6520>
50 11/14/15 12:06:48.626 luup_log:293: (iDoorContact::getAverageTemp) Calculated average temperature [17] from [1] devices. <0x76dc6520>
50 11/14/15 12:13:43.374 luup_log:293: (iDoorContact::UpdateLevel) Updating ATS device [294] for Z-Wave device [291] <0x76dc6520>
50 11/14/15 12:13:43.376 luup_log:293: (iDoorContact::getAverageTemp) Calculated average temperature [19] from [1] devices. <0x76dc6520>
50 11/14/15 12:15:58.684 luup_log:293: (iDoorContact::UpdateLevel) Updating ATS device [294] for Z-Wave device [291] <0x76dc6520>
50 11/14/15 12:15:58.686 luup_log:293: (iDoorContact::getAverageTemp) Calculated average temperature [21] from [1] devices. <0x76dc6520>
If you do not see the UpdateLevel function being triggered, you may have a defective sensor, or the sensor did not pair with your Vera properly, in which case you should unpair (exclude) the sensor… make sure the Vera device is removed from the UI, and re-pair (include) the sensor.
The other possibility… Some of the more recent monoprice sensors have been ZP3102-5 instead of ZP3102… These newer sensors are Z-Wave Plus, and may not report temperature (and may not even pair correctly) with a VeraLite/Vera3… Check the model number reported on the motion sensors advanced/parameters page…