www.homeseer.com    
 

Go Back   HomeSeer Message Board > HomeSeer Products & Services > HomeSeer Software > HS3 / HS3PRO > HS3 Plug-In Development

HS3 Plug-In Development Discussions related to developing plugins for HS3.

Reply
 
Thread Tools Display Modes
  #1  
Old August 4th, 2013, 09:06 AM
lamanmi's Avatar
lamanmi lamanmi is offline
Seer Deluxe
 
Join Date: Sep 2001
Posts: 226
Get VSPair for current status

Hello,

My plugin requires that I store additional information for each VSP. I am looking for the best way to determine the "active" VSP based on the device's value (even if it is within a range).

DeviceVGP_Get works good for single value pairs, but when the status value of a device type is a range, DeviceVGP_Get requires the starting value to get the VSPair which the plugin would not readily have available. I certainly could build an enumeration process to go through all of the VSP as and based on the value compare it to the ranges to find the right one, but I'm afraid that would slow down the process too much.

It would be great if we could pass any value (not just the starting value) in the DeviceVGP_Get method and it return the VSP based on the value type (single or range).

Thanks!!!
__________________
ModernWarp Apps
InControl For Windows 8/RT, Windows Phone and Sage TV - Forum
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:10 PM.


Copyright HomeSeer Technologies, LLC