Basic Plugin Appearance

I’m not experienced in writing plugin luup code, but I get around modifying some stuff and I hope someone will indulge me in helping me understand the LUUP Plugin WiKi in respect to display appearances.

In the WiKi at [url=http://wiki.micasaverde.com/index.php/Luup_plugin_tabs#Dashboard_appearance]http://wiki.micasaverde.com/index.php/Luup_plugin_tabs#Dashboard_appearance[/url] it states that the “Dashboard Box” for a device has room for two rows of information and controls.

For the sake of my own clarity, I am assuming that the reference to “Dashboard” is reference to the page that lists and displays all of the devices on one page and that it is not representative of the controllers “Dashboard” tab that displays Modes and System Alerts and that it is also not representative of the devices own Settings page.

Is that correct?

On the “Dashboard” page, the WiKi states that there are 2 rows available.

Would the 2 rows include 1 of the rows used for the Device Icon and Device Name leaving only 1 more row for information, buttons, etc?

Or would there be 2 rows available below the Device Icon and device Name?

Such that, in the Dashboard Box, I could incorporate the Device Icon and Device name, under that a row of buttons and under that row of buttons some additional statistical information from “ControlType”: “variable”.

Thanks for any input.

The two rows are below the icon. The content of the two rows is determined by which Controls in the JSON data specify a ControlGroup (those with are fit to the dashboard, otherwise they appear only on the device control page). You have a bit less control over positioning on the dashboard than you do on the control page. If you’re just starting out with this, you might want to look at @rstrouse 's excellent plugin called VirtualPanel, which builds panels via drag and drop UI. The “Device Simulator” under the Vera “Develop apps” menu is also somewhat useful for a dashboard preview.

See plugin discussion: http://forum.micasaverde.com/index.php/topic,31128.0.html

Thanks,

Ill check it out.