Skip to content

Commit

Permalink
Updated metadata for a group of plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
msinn committed Sep 10, 2017
1 parent 3fe4cb0 commit cb65f7d
Show file tree
Hide file tree
Showing 25 changed files with 373 additions and 90 deletions.
2 changes: 1 addition & 1 deletion backend/__init__.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def __init__(self, sh, port=None, threads=8, ip='', updates_allowed='True', user
return

# self.logger.warning('BackendServer: Using module {} version {}: {}'.format( str( self.mod_http.shortname ), str( self.mod_http.version ), str( self.mod_http.longname ) ) )
self.logger.warning('{}: Using module {}'.format(self.classname, str( self.mod_http._shortname ), str( self.mod_http.version ), str( self.mod_http._longname ) ) )
self.logger.info('{}: Using module {}'.format(self.classname, str( self.mod_http._shortname ), str( self.mod_http.version ), str( self.mod_http._longname ) ) )
config = {
'/': {
'tools.auth_basic.on': self._basic_auth,
Expand Down
25 changes: 14 additions & 11 deletions backend/plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
# Metadata for the plugin
# Metadata for the Smart-Plugin
plugin:
# Global plugin attributes
type: system # plugin type (gateway, interface, protocol, system, web)
subtype: core # plugin subtype (if applicable)
type: system # plugin type (gateway, interface, protocol, system, web)
subtype: core # plugin subtype (if applicable)
description: # Alternative: description in multiple languages
de: 'Web Interface zur Anzeige von Informationen zum System und SmartHomeNG Backend-Daten'
en: 'webinterface for displaying system information and SmartHomeNG backend data'
maintainer: psilo909, msinn, bmxp
tester: Sandman60
# keywords: iot xyz
# documentation: https://github.com/smarthomeNG/plugins/blob/develop/mqtt/README.md # url of documentation (wiki) page

version: 1.3.5 # Plugin version
# keywords: # keywords, where applicable
sh_minversion: 1.3a # minimum shNG version to use this plugin
# sh_maxversion: # maximum shNG version to use this plugin (if not latest)
multi_instance: false # plugin supports multi instance
description: 'Web Interface zur Anzeige von Informationen zum System und SmartHomeNG Backend-Daten'
# documentation: # url of wiki page
maintainer: psilo909, msinn, bmxp, cmalo # Who maintains this plugin?
tester: Sandman60 # Who tests this plugin?
# sh_maxversion: # maximum shNG version to use this plugin (leave empty if latest)
multi_instance: False # plugin supports multi instance

plugin_parameters:
parameters:
# Definition of parameters to be configured in etc/plugin.yaml

item_attributes:
Expand Down
25 changes: 14 additions & 11 deletions backend_shng_1_3/plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
# Metadata for the plugin
# Metadata for the Smart-Plugin
plugin:
# Global plugin attributes
type: system # plugin type (gateway, interface, protocol, system, web)
subtype: core # plugin subtype (if applicable)
type: system # plugin type (gateway, interface, protocol, system, web)
subtype: core # plugin subtype (if applicable)
description: # Alternative: description in multiple languages
de: 'Web Interface zur Anzeige von Informationen zum System und SmartHomeNG Backend-Daten'
en: 'webinterface for displaying system information and SmartHomeNG backend data'
maintainer: psilo909, msinn, bmxp
tester: Sandman60
# keywords: iot xyz
# documentation: https://github.com/smarthomeNG/plugins/blob/develop/mqtt/README.md # url of documentation (wiki) page

version: 1.3.5 # Plugin version
# keywords: # keywords, where applicable
sh_minversion: 1.3 # minimum shNG version to use this plugin
sh_maxversion: 1.3 # maximum shNG version to use this plugin (if not latest)
multi_instance: false # plugin supports multi instance
description: 'Web Interface zur Anzeige von Informationen zum System und SmartHomeNG Backend-Daten'
# documentation: # url of wiki page
maintainer: psilo909, msinn, bmxp, cmalo # Who maintains this plugin?
tester: Sandman60 # Who tests this plugin?
sh_maxversion: 1.3a # maximum shNG version to use this plugin (leave empty if latest)
multi_instance: False # plugin supports multi instance

plugin_parameters:
parameters:
# Definition of parameters to be configured in etc/plugin.yaml

item_attributes:
Expand Down
19 changes: 16 additions & 3 deletions cli/plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
# Metadata for the plugin
# Metadata for the Smart-Plugin
plugin:
# Global plugin attributes
type: system # plugin type (gateway, interface, protocol, system, web)
type: system # plugin type (gateway, interface, protocol, system, web)
subtype: core # plugin subtype (if applicable)
description: # Alternative: description in multiple languages
de: 'Command Line Interface für SmartHomeNG'
en: 'Commandline interface for SmartHomeNG'
maintainer: cmalo (mknx)
tester: onkelandy, Sandman60, ohinckel
# keywords: iot xyz
documentation: https://github.com/smarthomeNG/smarthome/wiki/CLI-Plugin # url of documentation (wiki) page

plugin_parameters:
version: 1.3.0 # Plugin version
sh_minversion: 1.3 # minimum shNG version to use this plugin
# sh_maxversion: # maximum shNG version to use this plugin (leave empty if latest)
multi_instance: False # plugin supports multi instance

parameters:
# Definition of parameters to be configured in etc/plugin.yaml

item_attributes:
Expand Down
18 changes: 15 additions & 3 deletions database/plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
# Metadata for the plugin
# Metadata for the Smart-Plugin
plugin:
# Global plugin attributes
type: system # plugin type (gateway, interface, protocol, system, web)
type: system # plugin type (gateway, interface, protocol, system, web)
description: # Alternative: description in multiple languages
de: 'Database plugin, **seit SmartHomeNG v1.3**'
en: 'Database plugin, **since SmartHomeNG v1.3**'
maintainer: ohinckel
tester: psilo909, onkelandy, brandst
keywords: database
# documentation: https://github.com/smarthomeNG/smarthome/wiki/CLI-Plugin # url of documentation (wiki) page

plugin_parameters:
version: 1.3.0 # Plugin version
sh_minversion: 1.3 # minimum shNG version to use this plugin
# sh_maxversion: # maximum shNG version to use this plugin (leave empty if latest)
multi_instance: True # plugin supports multi instance

parameters:
# Definition of parameters to be configured in etc/plugin.yaml

item_attributes:
Expand Down
21 changes: 17 additions & 4 deletions datalog/plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
# Metadata for the plugin
# Metadata for the classic-plugin
plugin:
# Global plugin attributes
type: system # plugin type (gateway, interface, protocol, system, web)
type: system # plugin type (gateway, interface, protocol, system, web)
description:
de: 'Loggen von Daten in ein anderes Logfile als das Standard Log'
en: ''
maintainer: ohinckel
# tester: efgh # Who tests this plugin?
# keywords: kwd1 kwd2 # keywords, where applicable
# documentation: https://github.com/smarthomeNG/plugins/blob/develop/mqtt/README.md # url of documentation (wiki) page

plugin_parameters:
# Following entries are for Smart-Plugins:
# version: 1.3.3 # Plugin version
# sh_minversion: 1.3 # minimum shNG version to use this plugin
# sh_maxversion: # maximum shNG version to use this plugin (leave empty if latest)
# multi_instance: False

#parameters:
# Definition of parameters to be configured in etc/plugin.yaml

item_attributes:
#item_attributes:
# Definition of item attributes defined by this plugin

28 changes: 28 additions & 0 deletions enigma2/sv_widgets/widget_enigma2.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,34 @@
{% endmacro %}


/**
* Enigma2 StatusInfo Widget (only channel and program)
*
* This widget can be used, if the items for the enigma2 box are defined
* following the naming conventions as defined in the README of the plugin
*
* @param unique id for this widget
* @param the gad/item for the receiver (parent item of the enigma2 item definition tree)
*
*/

{% macro status_channel(id, gad_box) %}
{% import "basic.html" as basic %}
{% set uid = uid(page, id) %}

<div id="{{ uid }}">
<table width=90%>
<tr><td align=left style="padding-left: 15px;">Sender:</td> <td align=right> {{ basic.value(id~'2servicename', gad_box~'.current.servicename') }} </td></tr>
<tr><td align=left style="padding-left: 15px;"><strong>Sendung</strong></td></tr>
<tr><td colspan="2" align=left style="padding-left: 30px;"> {{ basic.value(id~'2eventtitle', gad_box~'.current.eventtitle') }} </td></tr>
<tr><td colspan="2" align=left style="padding-left: 30px;"> {{ basic.value(id~'2eventdesc', gad_box~'.current.eventdescription') }} </td></tr>
</table>

</div>

{% endmacro %}


/**
* Enigma2 Remote Widget
*
Expand Down
18 changes: 15 additions & 3 deletions influxdata/plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
# Metadata for the plugin
# Metadata for the Smart-Plugin
plugin:
# Global plugin attributes
type: system # plugin type (gateway, interface, protocol, system, web)
type: system # plugin type (gateway, interface, protocol, system, web)
description: # Alternative: description in multiple languages
de: 'Ermöglicht Speicherung von Daten in InfluxData TSDB z.B. zur Erzeugung von Graphen mit Grafana oder Chronograf (Plugin aus 2016)'
en: ''
maintainer: rthill
tester: brandst
keywords: database
documentation: https://github.com/smarthomeNG/smarthome/wiki/Installation-InfluxDB%2C-Grafana-und-Plugin # url of documentation (wiki) page

plugin_parameters:
version: 1.0.0 # Plugin version
sh_minversion: 1.1 # minimum shNG version to use this plugin
# sh_maxversion: # maximum shNG version to use this plugin (leave empty if latest)
multi_instance: False # plugin supports multi instance

parameters:
# Definition of parameters to be configured in etc/plugin.yaml

item_attributes:
Expand Down
18 changes: 15 additions & 3 deletions influxdb/plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
# Metadata for the plugin
# Metadata for the Smart-Plugin
plugin:
# Global plugin attributes
type: system # plugin type (gateway, interface, protocol, system, web)
type: system # plugin type (gateway, interface, protocol, system, web)
description: # Alternative: description in multiple languages
de: 'Ermöglicht Speicherung von Item Werten in einer InfluxData time-series Datenbank (Plugin aus 2017)'
en: ''
maintainer: Kai Meder
# tester: # Who tests this plugin?
keywords: database
documentation: https://github.com/smarthomeNG/smarthome/wiki/Installation-InfluxDB%2C-Grafana-und-Plugin # url of documentation (wiki) page

plugin_parameters:
version: 1.0.0 # Plugin version
sh_minversion: 1.1 # minimum shNG version to use this plugin
# sh_maxversion: # maximum shNG version to use this plugin (leave empty if latest)
multi_instance: False # plugin supports multi instance

parameters:
# Definition of parameters to be configured in etc/plugin.yaml

item_attributes:
Expand Down
27 changes: 27 additions & 0 deletions memlog/plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
# Metadata for the classic-plugin
plugin:
# Global plugin attributes
type: system # plugin type (gateway, interface, protocol, system, web)
description:
de: 'Speicher Logeinträge im Speicher zur Anzeige in der VISU'
en: ''
maintainer: ohinckel # Who maintains this plugin?
tester: cmalo # Who tests this plugin?
# keywords: kwd1 kwd2 # keywords, where applicable
# documentation: https://github.com/smarthomeNG/plugins/blob/develop/mqtt/README.md # url of documentation (wiki) page

# Following entries are for Smart-Plugins:
# version: 1.3.3 # Plugin version
# sh_minversion: 1.3 # minimum shNG version to use this plugin
# sh_maxversion: # maximum shNG version to use this plugin (leave empty if latest)
# multi_instance: False

#parameters:
# Definition of parameters to be configured in etc/plugin.yaml

#item_attributes:
# Definition of item attributes defined by this plugin




# Metadata for the plugin
plugin:
# Global plugin attributes
Expand Down
25 changes: 12 additions & 13 deletions mqtt/plugin.yaml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
# Metadata for the plugin
# Metadata for the Smart-Plugin
plugin:
# Global plugin attributes
type: protocol # plugin type (gateway, interface, protocol, system, web)
# subtype: ... # plugin subtype (if applicable)
description: # Alternative: description in multiple languages
de: 'Implementierung eines MQTT Clients. Umfassendere Implementierung des MQTT Protokolls, **seit SmartHomeNG v1.3**'
en: 'Implementation of a MQTT client. Feature enriched implementation of the MQTT protocol, **since SmartHomeNG v1.3**'
maintainer: msinn
# tester: # Who tests this plugin?
keywords: iot
# documentation: https://github.com/smarthomeNG/smarthome/wiki/CLI-Plugin # url of documentation (wiki) page

version: 1.3.3 # Plugin version
keywords: iot # keywords, where applicable
sh_minversion: 1.3 # minimum shNG version to use this plugin
# sh_maxversion: # maximum shNG version to use this plugin (leave empty if latest)
multi_instance: true # plugin supports multi instance
description: 'Implementierung eines MQTT Clients' # description (one language only, german preferred)
# description: # Alternative: description in multiple languages
# de: 'Abfrage der Daten des Wetterdienstes Wunderground.com'
# en: 'Get weather data from wunderground.com'
documentation: https://github.com/smarthomeNG/plugins/blob/develop/mqtt/README.md # url of wiki page
maintainer: msinn # Who maintains this plugin?
# tester: # Who tests this plugin?
# sh_maxversion: # maximum shNG version to use this plugin (leave empty if latest)
multi_instance: True # plugin supports multi instance

plugin_parameters:
parameters:
# Definition of parameters to be configured in etc/plugin.yaml

item_attributes:
Expand Down
19 changes: 16 additions & 3 deletions mqtt_1_0/plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
# Metadata for the plugin
# Metadata for the classic-plugin
plugin:
# Global plugin attributes
type: protocol # plugin type (gateway, interface, protocol, system, web)
description: # Alternative: description in multiple languages
de: 'Implementierung eines MQTT Clients. - veraltet'
en: 'Implementation of a MQTT client. - To be retired'
maintainer: cmalo # Who maintains this plugin?
# tester: efgh # Who tests this plugin?
keywords: iot
# documentation: https://github.com/smarthomeNG/plugins/blob/develop/mqtt/README.md # url of documentation (wiki) page

plugin_parameters:
# Following entries are for Smart-Plugins:
# version: 1.3.3 # Plugin version
# sh_minversion: 1.3 # minimum shNG version to use this plugin
# sh_maxversion: # maximum shNG version to use this plugin (leave empty if latest)
# multi_instance: False

#parameters:
# Definition of parameters to be configured in etc/plugin.yaml

item_attributes:
#item_attributes:
# Definition of item attributes defined by this plugin

16 changes: 14 additions & 2 deletions network/plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
# Metadata for the plugin
# Metadata for the Smart-Plugin
plugin:
# Global plugin attributes
type: protocol # plugin type (gateway, interface, protocol, system, web)
description: # Alternative: description in multiple languages
de: 'UDP und TCP Protokoll Unterstützung'
en: 'Support for the protocols UDP and TCP'
maintainer: cmalo (mknx)
tester: onkelandy, psilo909
# keywords: iot xyz
# documentation: https://github.com/smarthomeNG/plugins/blob/develop/mqtt/README.md # url of documentation (wiki) page

plugin_parameters:
version: 1.3.1 # Plugin version
sh_minversion: 1.3 # minimum shNG version to use this plugin
# sh_maxversion: # maximum shNG version to use this plugin (leave empty if latest)
multi_instance: False # plugin supports multi instance

parameters:
# Definition of parameters to be configured in etc/plugin.yaml

item_attributes:
Expand Down
18 changes: 15 additions & 3 deletions operationlog/plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
# Metadata for the plugin
# Metadata for the Smart-Plugin
plugin:
# Global plugin attributes
type: system # plugin type (gateway, interface, protocol, system, web)
type: system # plugin type (gateway, interface, protocol, system, web)
description: # Alternative: description in multiple languages
de: 'Implementierung seperater Logs'
en: ''
maintainer: ? (JanT112)
tester: Sandman60, onkelandy
# keywords: iot xyz
# documentation: https://github.com/smarthomeNG/smarthome/wiki/CLI-Plugin # url of documentation (wiki) page

plugin_parameters:
version: 1.3.0 # Plugin version
sh_minversion: 1.3 # minimum shNG version to use this plugin
# sh_maxversion: # maximum shNG version to use this plugin (leave empty if latest)
multi_instance: False # plugin supports multi instance

parameters:
# Definition of parameters to be configured in etc/plugin.yaml

item_attributes:
Expand Down
Loading

0 comments on commit cb65f7d

Please sign in to comment.