User Tools

Site Tools


plugins:03_units

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
plugins:03_units [2018/08/11 17:10] – updated for APIv2 James Sentmanplugins:03_units [2019/01/20 15:06] – [deviceTypes] James Sentman
Line 13: Line 13:
  
 ====deviceTypes==== ====deviceTypes====
-Required: (json list) a list of the JSON data describing at least one unit device type+Required: (json list) a list of the JSON data describing any unit types. If your plugin does not define any unit types say for a sharing only plugin then the list must be included but can be empty. Any plugin that provides a unit must include at least one unit type even if it’s just a generic “Register” so that the unit type plugin has something that can be selected and there is a unique address tag.
  
 <code> <code>
Line 22: Line 22:
 ] ]
 </code> </code>
- 
 ====Device Type Keys==== ====Device Type Keys====
 Each device type dictionary may use the following keys to describe it’s behavior and interface: Each device type dictionary may use the following keys to describe it’s behavior and interface: