finish index, primary and critical definitions for plugins

This commit is contained in:
Simon Stürz 2016-05-16 11:18:10 +02:00 committed by Michael Zanetti
parent e13de6d678
commit ed358c7d38
18 changed files with 24 additions and 7 deletions

View File

@ -25,7 +25,7 @@
\brief Plugin for system commands.
\ingroup plugins
\ingroup guh-plugins
\ingroup guh-plugins-maker
The application and script launcher plugin allows you to execute bash commands and start bash scripts.

View File

@ -13,6 +13,7 @@
"name": "Application launcher",
"createMethods": ["user"],
"primaryActionTypeId": "cf52b41d-3108-423c-8907-ca5b4d97cac5",
"primaryStateTypeId": "28d7e933-ff05-4f4c-95a0-482689543de5",
"basicTags": [
"Service",
"Actuator"

View File

@ -301,6 +301,7 @@
"Actuator",
"Time"
],
"primaryActionTypeId": "436e9923-6eff-444e-bde7-a61228a4d748",
"createMethods": ["user"],
"paramTypes": [
{

View File

@ -14,6 +14,7 @@
"name": "AVR X1000",
"createMethods": ["user"],
"criticalStateTypeId": "4d1790bf-28c6-4c1f-8892-ba1a0ef140f5",
"primaryActionTypeId": "1cdb6b54-6831-4900-95b2-c78f64497701",
"deviceIcon": "Hifi",
"basicTags": [
"Device",

View File

@ -39,6 +39,7 @@
"deviceClassId": "b4dd5f10-36d4-4232-867a-6d3b04a08bad",
"createMethods": ["auto"],
"criticalStateTypeId": "93c539b4-50d8-431e-8be4-5ebba89452b7",
"primaryActionTypeId": "f6ac30a0-77b8-4f1f-8c44-4c2e6d542663",
"basicTags": [
"Device",
"Lighting"

View File

@ -25,7 +25,7 @@
\brief Plugin for the LIRC infrared daemon.
\ingroup plugins
\ingroup guh-plugins
\ingroup guh-plugins-maker
This plugin allows to interact with \l{http://www.lirc.org/}{LIRC} daemon and controll commonly used remote controls.
If lircd (LIRC daemon) is configured on your system, guh will connect to the lirc daemon and all configured remote

View File

@ -20,6 +20,7 @@
],
"createMethods": ["discovery"],
"primaryStateTypeId": "6013402f-b5b1-46b3-8490-f0c20d62fe61",
"primaryActionTypeId": "cfbc6504-d86f-4856-8dfa-97b6fbb385e4",
"discoveryParamTypes": [
{
"name": "location",

View File

@ -26,6 +26,7 @@
"Device",
"Gateway"
],
"criticalStateTypeId": "783e74ee-ffd6-4dd7-ade5-3a961452cf15",
"paramTypes": [
{
"name": "host",

View File

@ -19,6 +19,7 @@
"Lighting"
],
"createMethods": ["discovery"],
"criticalStateTypeId": "15794d26-fde8-4a61-8f83-d7830534975f",
"setupMethod": "pushButton",
"pairingInfo": "Please press the button on the Hue Bridge within 30 seconds before you continue",
"paramTypes": [
@ -139,6 +140,8 @@
"Lighting",
"Actuator"
],
"criticalStateTypeId": "19bb8d10-1b28-4ba3-99b7-a634138dcfde",
"primaryActionTypeId": "90aaffe5-6a76-47d2-a14a-550f60390245",
"createMethods": ["auto"],
"paramTypes": [
{
@ -289,6 +292,8 @@
"Actuator",
"Lighting"
],
"criticalStateTypeId": "19bb8d10-1b28-4ba3-99b7-a634138dcfde",
"primaryActionTypeId": "90aaffe5-6a76-47d2-a14a-550f60390245",
"createMethods": ["auto"],
"paramTypes": [
{
@ -403,6 +408,7 @@
"Device",
"Sensor"
],
"criticalStateTypeId": "19bb8d10-1b28-4ba3-99b7-a634138dcfde",
"createMethods": ["auto"],
"paramTypes": [
{

View File

@ -26,6 +26,7 @@
"Device",
"Gateway"
],
"criticalStateTypeId": "8384e07b-8b91-492a-b6c8-e72b325ba0b4",
"paramTypes": [
{
"name": "host",

View File

@ -24,7 +24,7 @@
\brief Plugin for catching UDP commands from the network.
\ingroup plugins
\ingroup guh-plugins
\ingroup guh-plugins-maker
This plugin allows to receive UDP packages over a certain UDP port and generates an \l{Event} if the message content matches
the \l{Param} command.

View File

@ -18,6 +18,7 @@
],
"idName": "switch",
"createMethods": ["user"],
"primaryActionTypeId": "3ca1ebc2-bb8e-4429-9664-a7bc4569e73b",
"paramTypes": [
{
"name": "channel",

View File

@ -16,6 +16,7 @@
"Device",
"Actuator"
],
"primaryActionTypeId": "fb9b9d87-218f-4f0d-9e16-39f8a105029a",
"createMethods": ["user"],
"paramTypes": [
{

View File

@ -17,6 +17,8 @@
"Device",
"Actuator"
],
"criticalStateTypeId": "ec2f5b49-585c-4455-a233-b7aa4c608dbc",
"primaryActionTypeId": "7166c4f6-f68c-4188-8f7c-2205d72a5a6d",
"createMethods": ["discovery"],
"paramTypes": [
{

View File

@ -25,7 +25,8 @@
\brief Plugin to monitor devices in the local network.
\ingroup plugins
\ingroup guh-plugins
\ingroup guh-plugins-maker
This plugin allows to find and monitor network devices in your local network by using the MAC address.

View File

@ -17,6 +17,7 @@
"Device",
"Sensor"
],
"primaryStateTypeId": "cb43e1b5-4f61-4538-bfa2-c33055c542cf",
"createMethods": ["user", "discovery"],
"paramTypes": [
{

View File

@ -26,6 +26,7 @@
"Device",
"Gateway"
],
"criticalStateTypeId": "08091cde-983d-42f7-bdd7-d89c312ccbed",
"paramTypes": [
{
"name": "host",
@ -145,7 +146,6 @@
"type": "QColor",
"defaultValue": "#000000",
"writable": true
}
]
}

View File

@ -463,8 +463,6 @@ void GuhCore::gotEvent(const Event &event)
void GuhCore::onDateTimeChanged(const QDateTime &dateTime)
{
qCDebug(dcTimeManager) << dateTime.toString("dd.MM.yyyy hh:mm");
QList<RuleAction> actions;
foreach (const Rule &rule, m_ruleEngine->evaluateTime(dateTime)) {
// TimeEvent based