UI buttons/inputs for new device type in plugin?

I’ve created a new plugin that does not control any device - it essentially is meant to allow a user to set a “mode” for the home and then set up temperatures etc accordingly.

I have followed the documented plugin creation by hand and then customized it but am still basing the device type on the Binary Switch. The reason for that is that I get the On/Off button on the UI, somehow. I’d like the buttons to have different labels and be able to capture other “mode” info values as well as display some info all in the UI.

I have not been able to find out how the UI part gets implemented/associated with plugins/devices - it doesn’t seem to be automatic based upon the actions etc that I have set up and more on the device type itself as if I only change the device type then the UI shows no buttons any more.

So, how do I modify an existing UI display for my own plugin? Is there documentation on this or can you point me to where the “files” are so that I can copy/modify them?

I’m using the latest firmware version.

Neilios

I tried to fetch some information on that, here’s MCV’s reply, see third quote:
http://forum.micasaverde.com/index.php?topic=1499.msg5150#msg5150

Hey @325xi, thanks for the pointers on this.

I’m still not sure exactly where the “code” is that, say, creates the dashboard display for a thermostat device, or a switch. I was hoping to copy/modify an existing one for my new plug-in that looks like a switch at the moment

Is that just not possible right now?

Neilios

No idea - I hope MCV will reappear here soon - perhaps once they finish the next release - and shed some light on this.

After the official beta we got tons of bug reports. We’re working our way through them before we resume adding new features, like the custom UI in the plugins. We’re almost done though.