Minimum needed for a .json file

Ok,
I’m lost. I’ve started playing with the staticJson files, and so far have managed to create invisible devices.

So, my question is:

What is the minimum you need to put into this file so it works properly (i.e., no hidden devices)?

And is there a template/example for the existing stuff that needs to be defined so you don’t have to so it by hand?

Thanks.

Have you seen: [url=http://wiki.micasaverde.com/index.php/Luup_plugin_tabs]http://wiki.micasaverde.com/index.php/Luup_plugin_tabs[/url] and [url=http://wiki.micasaverde.com/index.php/UI4_UI5_Migration]http://wiki.micasaverde.com/index.php/UI4_UI5_Migration[/url]?

I also recommend running your file on JSONLint (with Info Viewer plugin or [url=http://jsonlint.com/]http://jsonlint.com/[/url]). If your json file has syntax/structure errors, Vera will display a blank UI…

[quote=“RexBeckett, post:2, topic:176190”]Have you seen: [url=http://wiki.micasaverde.com/index.php/Luup_plugin_tabs]http://wiki.micasaverde.com/index.php/Luup_plugin_tabs[/url] and [url=http://wiki.micasaverde.com/index.php/UI4_UI5_Migration]http://wiki.micasaverde.com/index.php/UI4_UI5_Migration[/url]?

I also recommend running your file on JSONLint (with Info Viewer plugin or [url=http://jsonlint.com/]http://jsonlint.com/[/url]). If your json file has syntax/structure errors, Vera will display a blank UI…[/quote]

I haven’t, thanks. I only saw the one that tells what the root keys for the json files are. It wasn’t 100% clear on what you did and didn’t need, so I was just trying the bare minimums with nothing but the icon file.

I will take a look and see if I can stop making invisible devices :slight_smile: I’d like to add icons to my Twilio and Twine plugins, making them more recognizable.

Thanks!

http://wiki.micasaverde.com/index.php/Luup_plugin_icons