I’m not sure this is the right forum, but nevertheless…
I bought Lowe’s door sensor which also has temperature sensor in it. I added it as a generic Zigbee device and it shows up as a door sensor and this is fine. Now i’m trying to pull the temperature reading out of it and just can’t figure out how to do it. After much tinkering I think I got to an understanding that it’s all about device type. For urn:schemas-micasaverde-com:device:DoorSensor:1 it acts and renders as a door sensor, and for urn:schemas-micasaverde-com:device:TemperaturSensor:1 it acts and shows as a temperature sensor.
So my question now is how do I clone the device in Vera so that I can have both virtual devices pointing to the same physical device but with different device types. Is it even possible? Or is there a better approach?
Have you looked at all the device variables to see whether, however it is rendered, ALL the useful data is there? It’s a trivial matter to add a dummy device, of any type, which simply replicates any variable from another.
Yes, all there relevant data is there, which is why simply changing the device_type on an existing device works 100%. Could you point me to a guide on how to create a dummy device in UI7? Thank you.
No guide really needed for creating a new device in UI7. Simply fill in the appropriate form in the UI. See attachment…
Arrange to transfer the relevant data is a separate step, requiring a tiny bit of code.
Cloning the motion sensor device and making the clone into a temperature sensor device will NOT do as you want.
The clone device will not update with the temperature readings that you expect.
This device is the Zigbee equivalent of the Vision Z-Wave door/window/temperature devices…
The Vera Z-Wave implementation supports (although badly) single devices with multiple parts (basically combo devices)…
It is unclear if the Zigbee implementation properly supports combo devices…
Make sure that the original device actually works (reports open/closed or tripped/untripped). Then go to the settings page, click on advanced, then click on variables.
Look to see if there is a “CurrentTemperature” variable.
If the variable does NOT exist, then the Zigbee implementation is not getting the temperature readings from the device, and there is nothing that can be done to get it to work (other than Vera adding explicit support for the device).
If the variable DOES existy, then you can continue… Start by doing a search for “Additional Temperature Device” and “iDoorContact” for a plugin that will do what you need.