From a Plugin, I created a Feature with FeatureFactory.AddNumberInputField() .. This provided me with a UI where I could enter a number and click submit. Then I realized that when creating an Event, I wasn't able to enter a value
The Event UI presented a dropdown with nothing but the Feature Name.
I changed the code to FeatureFactory.AddSlider() .. Not a great UI experience, but the Event now allowed me to select a value within the Slider Range.
So then, from the HomeSeer Web interface, I was able to manually add Buttons as well .. which seemed like the best of both worlds

However, back to the Plugin Code, when I attempted to add the Slider and Buttons I got an Exception :
A status control covering all or a portion of the value range 70 already exists
There was also a strange side effect that though the Feature appeared in the Web UI, HomeSeer was not able to find it when calling GetFeatureByRef() even though GetAllFeatureRefs() returned the referenceId .. that's for another day
Q: Can you have a Feature with both a Slider and Buttons created programmatically from the Plugin?
Q: If not, what is the appropriate way to create a Text Input which works both from the Web UI and Event selection?
Thanks /keith

I changed the code to FeatureFactory.AddSlider() .. Not a great UI experience, but the Event now allowed me to select a value within the Slider Range.
So then, from the HomeSeer Web interface, I was able to manually add Buttons as well .. which seemed like the best of both worlds
However, back to the Plugin Code, when I attempted to add the Slider and Buttons I got an Exception :
A status control covering all or a portion of the value range 70 already exists
There was also a strange side effect that though the Feature appeared in the Web UI, HomeSeer was not able to find it when calling GetFeatureByRef() even though GetAllFeatureRefs() returned the referenceId .. that's for another day

Q: Can you have a Feature with both a Slider and Buttons created programmatically from the Plugin?
Q: If not, what is the appropriate way to create a Text Input which works both from the Web UI and Event selection?
Thanks /keith
Comment