Ok, been plowing through the Samples (all of them) and nicked the code for the Camera/Sample plugin to make a device.
Problem is I want the buttons (or list or radio or whatever) >ON< the base device (see the list view of the devices) - not as an associated device* with its own DevRef.
HomeSeer CAN do this, the virtual device allows putting the buttons ON the device, the picture shows it better -
The TestDeviceXY is the inbuild Virtual device and the buttons on there are WITH the device, but my device Kettel has an additional (unwanted) line/dev for the controls.
It all works (I get the associated/parent device) but it is silly!
*Funnily enough I WILL be using parent/chold devices later when I port my Velleman K8055 plugin device over - but that is another day.....
As I see it the problem is the DeviceFactory. CreateDevice and the later HomeSeerSystem.CreateDevice - but how do I get rid of one of them please?
As ever, thank you in advance and thank you for reading.
Problem is I want the buttons (or list or radio or whatever) >ON< the base device (see the list view of the devices) - not as an associated device* with its own DevRef.
HomeSeer CAN do this, the virtual device allows putting the buttons ON the device, the picture shows it better -
The TestDeviceXY is the inbuild Virtual device and the buttons on there are WITH the device, but my device Kettel has an additional (unwanted) line/dev for the controls.
It all works (I get the associated/parent device) but it is silly!
*Funnily enough I WILL be using parent/chold devices later when I port my Velleman K8055 plugin device over - but that is another day.....
As I see it the problem is the DeviceFactory. CreateDevice and the later HomeSeerSystem.CreateDevice - but how do I get rid of one of them please?
As ever, thank you in advance and thank you for reading.
Comment