项目作者: genielabs

项目描述 :
Package repos for user-contributed Automation Programs, Widgets and MIG Interfaces
高级语言:
项目地址: git://github.com/genielabs/homegenie-packages.git
创建时间: 2016-01-13T17:35:23Z
项目社区:https://github.com/genielabs/homegenie-packages

开源协议:

下载


HomeGenie Packages

Packages repository of user-contributed Automation Programs, Widgets and MIG Interfaces for HomeGenie.

HomeGenie Package Repository Browser

Contributing

To submit a new package to the repository:

  • create fork of homegenie-packages
  • push your package files into a convenient packages category folder of your fork
  • verify that the package get listed in HomeGenie by changing the repository URL in the package browser with your fork’s URL
  • verify that the package get installed correctly
  • create a pull request to get your package listed in the official repository

How to bundle an HomeGenie package

A package can consist of a folder containing one or more Automation Program, Widget and MIG Interface.
In the package folder also a README.md file and a package.json file must be included.

The README.md is a markdown formatted file containing a detailed description with usage instructions for the package.

The package.json file is a JSON formatted file containing the list of files that will be installed.

packages.json file format

The following is an example package.json file:

  1. {
  2. "author": "Daniel Maillard (DaniMail)",
  3. "version": "v1.0",
  4. "title": "Fibaro RGBW",
  5. "description": "Adds ZWave Fibaro RGBWM-441 control capability to HomeGenie",
  6. "published": "2014-02-06T00:00:00Z",
  7. "sourcecode": "",
  8. "homepage": "http://www.homegenie.it/forum/index.php?topic=15.0",
  9. "widgets": [
  10. {
  11. "file": "DaniMail_fibaro_rgbw.zip",
  12. "name":"Fibaro RGBW",
  13. "description": "Widget for controlling Fibaro RGBWM-441"
  14. }
  15. ],
  16. "programs": [
  17. {
  18. "file": "Fibaro_RGBW.hgx",
  19. "name":"Fibaro RGBW",
  20. "description": "Fibaro RGBW driver app",
  21. "uid": "100201",
  22. "group": "Z-Wave"
  23. }
  24. ],
  25. "interfaces": [ ]
  26. }

The widgets array contains a list of Widgets.zip archives. The .zip archive can be downloaded from the Widget Editor page of each widget.

The programs array contains a list of Automation Programs .hgx files. The .hgx file can be downladed from the Program Editor page of each program.

The interfaces array contains a list of MIG Interfaces .zip archive. See the mig-interface-skelton project page for more informations about how to bundle an interface .zip archive.