Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

After you have created your plugin ZIP file you should test the installation locally to make sure the install works properly. Follow the following steps.

  1. Create a JSON file that describes your plugin. Here is a sample that you can use a template:
    { 
    "Version":"4.0.0.0",
    "Packages":[
    {
    "ProductID":"348",
    "PackageName":"NetCam",
    "EXEFile":"hspi_netcam.exe",
    "ID":"NetCam",
    "Version":"1.0.0.2",
    "UC":63,
    "ZipFile":"HSPI_Netcam_1_0_0_2.zip",
    "Author":"HomeSeer",
    "Price":"Free",
    "IconFile":"",
    "StoreURL":"",
    "ReleaseNotesURL":"http://plugins.homeseer.com/releasenotes?productid=348",
    "Featured":"False",
    "ShortDescription":"This plugin takes snapshots from IP cameras",
    "SupportURL":"",
    "HelpFileURL":null,
    "Tags":[
    "Free",
    "Camera",
    "Beta"
    ]
    }
    ]
    }


  2. The important fields are:
    ZipFile: Enter the filename of your zip file and save the zip file in the HomeSeer root folder.
    EXEFile: Enter the name of your EXE file
    ID: The ID you assigned to your plugin.
    PackageName, Version, AuthorShortDescription: These will appear in the UI when you install the plugin
    Tags: These will allow users to search for your plugin and can be tested from the "Add" menu item in the Plugins menu
  3. After editing the file, save it in the HomeSeer root folder as "updater_override.json"
  4. To test, select "Add" from the Plugins menu. You should only see ONE available plugin, the one described in the file. Click on the plugin to install it. It should install properly.
  5. The UC field is used to note if the plugin is for Windows, Linux, or both. For testing leave this as "63", this will allow the plugin to be installed on Windows and Linux.
  • No labels