0
Answered: Discussion Open

ST Anything Virtual Contact Sensors

Kevin Ruschman 7 years ago in Panels (dashboards) / Special Tiles updated by Cesar Guiterrez 4 years ago 4

I currently have an Arduino with SmartShield running ST Anything with 4 virtual contact sensors. Is there any way to get the individual virtual contact sensors to show in ActionTiles? I don't think I can just add the capabilities to the DH because that would only be for the Arduino itself and not the virtual sensors. Any help is greatly appreciated.

Answer

Answer
Answered: Discussion Open

Hi Kevin,


See if the concept of "Composite Devices" is applicable in your case.


ActionTiles is able to display only standard Capabilities.

Waiting for Customer

What Device Type Handler are you using, Kevin? 


Capability "Contact Sensor" only supports 1 (one!) Attribute:  contact (open, closed).


If your DTH us using additional Attributes for the 3 or 4 different Sensors, then you need to spawn off individual Virtual Contact Sensor device instances, so each is reported using the official standard Attribute name only.

Answer
Answered: Discussion Open

Hi Kevin,


See if the concept of "Composite Devices" is applicable in your case.


ActionTiles is able to display only standard Capabilities.

I am using Daniel Ogorchock's ST Anything setup. I actually set this up about a year ago and having made any updates since then. It appears that Daniel has rebuilt his code to utilize composite devices as opposed to virtual devices. Looks like I need to do some updating on that end.

Keep us posted Kevin, please...


Whatever solution you find will be helpful for other customers too.


Thanks!