Thanks for your Help.
First off all, the Values in PaperUI Control ar in the CassicUI works very well.
I can switch off and on, and also all values are updatet every 30 sec with e.v. Power etc.
One of the Rules wich works fine is the:
“23896a53-9ce3-4b69-b94d-8d0db7c00c56”
The rule which I have now serveral time geneatet is the:
“9b458ad1-18bd-4ad1-980b-bd98e3a8fdf1”
Conditions are all the same:
“When Switch in On, Switch it OFF, when less then 1.0 Watt are used and not 0.0”
Here comes the Automation file:
{
“19519e2f-4b48-4099-9897-3cae0b247d52”: {
“class”: “org.openhab.core.automation.dto.RuleDTO”,
“value”: {
“triggers”: [
{
“id”: “1”,
“label”: “it is a fixed time of day”,
“description”: “Triggers at a specified time”,
“configuration”: {
“time”: “23:30”
},
“type”: “timer.TimeOfDayTrigger”
}
],
“conditions”: [
{
“inputs”: {},
“id”: “3”,
“label”: “an item has a given state”,
“description”: “Compares the item state with the given value”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_2455A9_switch”,
“state”: “ON”,
“operator”: “\u003d”
},
“type”: “core.ItemStateCondition”
}
],
“actions”: [
{
“inputs”: {},
“id”: “2”,
“label”: “send a command”,
“description”: “Sends a command to a specified item.”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_2455A9_switch”,
“command”: “OFF”
},
“type”: “core.ItemCommandAction”
}
],
“configuration”: {},
“configDescriptions”: [],
“uid”: “19519e2f-4b48-4099-9897-3cae0b247d52”,
“name”: “Adventsstern AUS abends”,
“tags”: [],
“visibility”: “VISIBLE”,
“description”: “Adventsstern AUS abends”
}
},
“07a4cc8c-e818-44d8-a65e-e8b0ef2e8378”: {
“class”: “org.openhab.core.automation.dto.RuleDTO”,
“value”: {
“triggers”: [
{
“id”: “1”,
“label”: “it is a fixed time of day”,
“description”: “Triggers at a specified time”,
“configuration”: {
“time”: “16:30”
},
“type”: “timer.TimeOfDayTrigger”
}
],
“conditions”: [
{
“inputs”: {},
“id”: “3”,
“label”: “an item has a given state”,
“description”: “Compares the item state with the given value”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_2455A9_switch”,
“state”: “OFF”,
“operator”: “\u003d”
},
“type”: “core.ItemStateCondition”
}
],
“actions”: [
{
“inputs”: {},
“id”: “2”,
“label”: “send a command”,
“description”: “Sends a command to a specified item.”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_2455A9_switch”,
“command”: “ON”
},
“type”: “core.ItemCommandAction”
}
],
“configuration”: {},
“configDescriptions”: [],
“uid”: “07a4cc8c-e818-44d8-a65e-e8b0ef2e8378”,
“name”: “Adventsstern AN abends”,
“tags”: [],
“visibility”: “VISIBLE”,
“description”: “Adventsstern AN abends”
}
},
“dadf90e0-f545-4839-a9b8-a19ca9f1cba6”: {
“class”: “org.openhab.core.automation.dto.RuleDTO”,
“value”: {
“triggers”: [
{
“id”: “1”,
“label”: “it is a fixed time of day”,
“description”: “Triggers at a specified time”,
“configuration”: {
“time”: “06:00”
},
“type”: “timer.TimeOfDayTrigger”
},
{
“id”: “2”,
“label”: “it is a fixed time of day”,
“description”: “Triggers at a specified time”,
“configuration”: {
“time”: “12:00”
},
“type”: “timer.TimeOfDayTrigger”
},
{
“id”: “3”,
“label”: “it is a fixed time of day”,
“description”: “Triggers at a specified time”,
“configuration”: {
“time”: “18:00”
},
“type”: “timer.TimeOfDayTrigger”
},
{
“id”: “4”,
“label”: “it is a fixed time of day”,
“description”: “Triggers at a specified time”,
“configuration”: {
“time”: “00:00”
},
“type”: “timer.TimeOfDayTrigger”
}
],
“conditions”: [],
“actions”: [
{
“inputs”: {},
“id”: “5”,
“label”: “send a command”,
“description”: “Sends a command to a specified item.”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_FC3C5F_switch”,
“command”: “ON”
},
“type”: “core.ItemCommandAction”
}
],
“configuration”: {},
“configDescriptions”: [],
“uid”: “dadf90e0-f545-4839-a9b8-a19ca9f1cba6”,
“name”: “Jochen Zimmer Steckdose 4x am Tag einschalten”,
“tags”: [],
“visibility”: “VISIBLE”
}
},
“6c388b5d-1cc9-477d-963e-1d67737a3eea”: {
“class”: “org.openhab.core.automation.dto.RuleDTO”,
“value”: {
“triggers”: [
{
“id”: “1”,
“label”: “it is a fixed time of day”,
“description”: “Triggers at a specified time”,
“configuration”: {
“time”: “05:48”
},
“type”: “timer.TimeOfDayTrigger”
}
],
“conditions”: [],
“actions”: [
{
“inputs”: {},
“id”: “2”,
“label”: “send a command”,
“description”: “Sends a command to a specified item.”,
“configuration”: {
“itemName”: “hue_0210_00178875a637_4_color_temperature”,
“command”: “ON”
},
“type”: “core.ItemCommandAction”
},
{
“inputs”: {},
“id”: “3”,
“label”: “send a command”,
“description”: “Sends a command to a specified item.”,
“configuration”: {
“itemName”: “hue_0210_00178875a637_4_color”,
“command”: 10.0
},
“type”: “core.ItemCommandAction”
}
],
“configuration”: {},
“configDescriptions”: [],
“uid”: “6c388b5d-1cc9-477d-963e-1d67737a3eea”,
“name”: “HUE4 anschalten um 05:48”,
“tags”: [],
“visibility”: “VISIBLE”
}
},
“5104b8c6-de14-4813-a1bb-96ca35e3dacd”: {
“class”: “org.openhab.core.automation.dto.RuleDTO”,
“value”: {
“triggers”: [
{
“id”: “1”,
“label”: “it is a fixed time of day”,
“description”: “Triggers at a specified time”,
“configuration”: {
“time”: “05:46”
},
“type”: “timer.TimeOfDayTrigger”
}
],
“conditions”: [],
“actions”: [
{
“inputs”: {},
“id”: “2”,
“label”: “send a command”,
“description”: “Sends a command to a specified item.”,
“configuration”: {
“itemName”: “hue_0210_00178875a637_2_color_temperature”,
“command”: “ON”
},
“type”: “core.ItemCommandAction”
},
{
“inputs”: {},
“id”: “3”,
“label”: “send a command”,
“description”: “Sends a command to a specified item.”,
“configuration”: {
“itemName”: “hue_0210_00178875a637_2_color”,
“command”: 10.0
},
“type”: “core.ItemCommandAction”
}
],
“configuration”: {},
“configDescriptions”: [],
“uid”: “5104b8c6-de14-4813-a1bb-96ca35e3dacd”,
“name”: “HUE2 anschalten um 05:46”,
“tags”: [],
“visibility”: “VISIBLE”
}
},
“eaffc5bc-3ffa-41c2-89a1-6cd625eee9ac”: {
“class”: “org.openhab.core.automation.dto.RuleDTO”,
“value”: {
“triggers”: [
{
“id”: “1”,
“label”: “an item state is updated”,
“description”: “Test 1”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_911088_switch”,
“state”: “ON”
},
“type”: “core.ItemStateUpdateTrigger”
}
],
“conditions”: [
{
“inputs”: {},
“id”: “3”,
“label”: “an item has a given state”,
“description”: “Test3value”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_911088_power”,
“state”: 5.0,
“operator”: “\u003c\u003d”
},
“type”: “core.ItemStateCondition”
},
{
“inputs”: {},
“id”: “4”,
“label”: “an item has a given state”,
“description”: “Compares the item state with the given value”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_911088_power”,
“state”: 0.0,
“operator”: “!\u003d”
},
“type”: “core.ItemStateCondition”
}
],
“actions”: [
{
“inputs”: {},
“id”: “2”,
“label”: “send a command”,
“description”: “Test2”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_911088_switch”,
“command”: “OFF”
},
“type”: “core.ItemCommandAction”
}
],
“configuration”: {},
“configDescriptions”: [],
“uid”: “eaffc5bc-3ffa-41c2-89a1-6cd625eee9ac”,
“name”: “Fahrradnetzteil nach Aufladen automatisch abschalten”,
“tags”: [],
“visibility”: “VISIBLE”,
“description”: “Schaltet Netzteil bei kleiner 10W wieder aus”
}
},
“f74794c3-54a9-4ed8-940b-300f4279e0b7”: {
“class”: “org.openhab.core.automation.dto.RuleDTO”,
“value”: {
“triggers”: [],
“conditions”: [],
“actions”: [
{
“inputs”: {},
“id”: “1”,
“label”: “enables or disable rules”,
“description”: “Enables or disables a rule or a group of rules specified by their UIDs.”,
“configuration”: {
“enable”: false,
“ruleUIDs”: [
“66640f5f-1cd6-4968-9c9d-53fea96e3140”,
“19519e2f-4b48-4099-9897-3cae0b247d52”,
“07a4cc8c-e818-44d8-a65e-e8b0ef2e8378”,
“aa5f8886-0948-4500-9b8b-ee75e63ed0f5”
]
},
“type”: “core.RuleEnablementAction”
}
],
“configuration”: {},
“configDescriptions”: [],
“uid”: “f74794c3-54a9-4ed8-940b-300f4279e0b7”,
“name”: “Adventsstern Rule AUS”,
“tags”: [],
“visibility”: “VISIBLE”
}
},
“9b458ad1-18bd-4ad1-980b-bd98e3a8fdf1”: {
“class”: “org.openhab.core.automation.dto.RuleDTO”,
“value”: {
“triggers”: [
{
“id”: “1”,
“label”: “Testversuch für Charger Netzteil”,
“description”: “Testversuch für Charger Netzteil”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_7005DE_switch”,
“state”: “ON”
},
“type”: “core.ItemStateUpdateTrigger”
}
],
“conditions”: [
{
“inputs”: {},
“id”: “3”,
“label”: “an item has a given state”,
“description”: “Compares the item state with the given value”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_7005DE_power”,
“state”: “1.0”,
“operator”: “\u003c”
},
“type”: “core.ItemStateCondition”
},
{
“inputs”: {},
“id”: “4”,
“label”: “an item has a given state”,
“description”: “Compares the item state with the given value”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_7005DE_power”,
“state”: “0.0”,
“operator”: “!\u003d”
},
“type”: “core.ItemStateCondition”
}
],
“actions”: [
{
“inputs”: {},
“id”: “2”,
“label”: “Testversuch für Charger Netzteil”,
“description”: “Testversuch für Charger Netzteil”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_7005DE_switch”,
“command”: “OFF”
},
“type”: “core.ItemCommandAction”
}
],
“configuration”: {},
“configDescriptions”: [],
“uid”: “9b458ad1-18bd-4ad1-980b-bd98e3a8fdf1”,
“name”: “Testversuch für Charger Netzteil”,
“tags”: [],
“visibility”: “VISIBLE”,
“description”: “Testversuch für Charger Netzteil”
}
},
“066c419b-32f7-48a4-b1ae-a31e309f09bb”: {
“class”: “org.openhab.core.automation.dto.RuleDTO”,
“value”: {
“triggers”: [
{
“id”: “1”,
“label”: “it is a fixed time of day”,
“description”: “Triggers at a specified time”,
“configuration”: {
“time”: “05:50”
},
“type”: “timer.TimeOfDayTrigger”
}
],
“conditions”: [],
“actions”: [
{
“inputs”: {},
“id”: “2”,
“label”: “send a command”,
“description”: “Sends a command to a specified item.”,
“configuration”: {
“itemName”: “hue_0210_00178875a637_1_color_temperature”,
“command”: “OFF”
},
“type”: “core.ItemCommandAction”
},
{
“inputs”: {},
“id”: “3”,
“label”: “send a command”,
“description”: “Sends a command to a specified item.”,
“configuration”: {
“itemName”: “hue_0210_00178875a637_2_color_temperature”,
“command”: “OFF”
},
“type”: “core.ItemCommandAction”
},
{
“inputs”: {},
“id”: “4”,
“label”: “send a command”,
“description”: “Sends a command to a specified item.”,
“configuration”: {
“itemName”: “hue_0210_00178875a637_3_color_temperature”,
“command”: “OFF”
},
“type”: “core.ItemCommandAction”
},
{
“inputs”: {},
“id”: “5”,
“label”: “send a command”,
“description”: “Sends a command to a specified item.”,
“configuration”: {
“itemName”: “hue_0210_00178875a637_4_color_temperature”,
“command”: “OFF”
},
“type”: “core.ItemCommandAction”
}
],
“configuration”: {},
“configDescriptions”: [],
“uid”: “066c419b-32f7-48a4-b1ae-a31e309f09bb”,
“name”: “HUE alle ausschalten um 05:50”,
“tags”: [],
“visibility”: “VISIBLE”
}
},
“ebcda1b7-ae81-4512-bcd1-11e83998327d”: {
“class”: “org.openhab.core.automation.dto.RuleDTO”,
“value”: {
“triggers”: [
{
“id”: “2”,
“label”: “a trigger channel fires”,
“description”: “React on events from a trigger channel of a thing.”,
“configuration”: {
“event”: “Off”,
“channelUID”: “hue:0820:00178875a637:4:dimmer_switch_event”
},
“type”: “core.ChannelEventTrigger”
}
],
“conditions”: [],
“actions”: [
{
“inputs”: {},
“id”: “1”,
“label”: “enables or disable rules”,
“description”: “Enables or disables a rule or a group of rules specified by their UIDs.”,
“configuration”: {
“enable”: false,
“ruleUIDs”: [
“21d372d4-88c9-466a-bd34-ff36dac80615”,
“5104b8c6-de14-4813-a1bb-96ca35e3dacd”,
“ae93513b-05d3-43bb-b722-07364bb8d2f5”,
“6c388b5d-1cc9-477d-963e-1d67737a3eea”
]
},
“type”: “core.RuleEnablementAction”
}
],
“configuration”: {},
“configDescriptions”: [],
“uid”: “ebcda1b7-ae81-4512-bcd1-11e83998327d”,
“name”: “HUE Lampe Rule AUSSCHALTEN”,
“tags”: [],
“visibility”: “VISIBLE”
}
},
“ae93513b-05d3-43bb-b722-07364bb8d2f5”: {
“class”: “org.openhab.core.automation.dto.RuleDTO”,
“value”: {
“triggers”: [
{
“id”: “1”,
“label”: “it is a fixed time of day”,
“description”: “Triggers at a specified time”,
“configuration”: {
“time”: “05:47”
},
“type”: “timer.TimeOfDayTrigger”
}
],
“conditions”: [],
“actions”: [
{
“inputs”: {},
“id”: “2”,
“label”: “send a command”,
“description”: “Sends a command to a specified item.”,
“configuration”: {
“itemName”: “hue_0210_00178875a637_3_color_temperature”,
“command”: “ON”
},
“type”: “core.ItemCommandAction”
},
{
“inputs”: {},
“id”: “3”,
“label”: “send a command”,
“description”: “Sends a command to a specified item.”,
“configuration”: {
“itemName”: “hue_0210_00178875a637_3_color”,
“command”: 10.0
},
“type”: “core.ItemCommandAction”
}
],
“configuration”: {},
“configDescriptions”: [],
“uid”: “ae93513b-05d3-43bb-b722-07364bb8d2f5”,
“name”: “HUE3 anschalten um 05:47”,
“tags”: [],
“visibility”: “VISIBLE”
}
},
“e7946271-1285-4a60-afb1-f6c980b06538”: {
“class”: “org.openhab.core.automation.dto.RuleDTO”,
“value”: {
“triggers”: [
{
“id”: “2”,
“label”: “an item receives a command”,
“description”: “This triggers the rule if an item receives a command.”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_7005DE_switch”,
“command”: “ON”
},
“type”: “core.ItemCommandTrigger”
}
],
“conditions”: [],
“actions”: [
{
“inputs”: {},
“id”: “1”,
“label”: “enables or disable rules”,
“description”: “Enables or disables a rule or a group of rules specified by their UIDs.”,
“configuration”: {
“enable”: true,
“ruleUIDs”: [
“21d372d4-88c9-466a-bd34-ff36dac80615”,
“5104b8c6-de14-4813-a1bb-96ca35e3dacd”,
“ae93513b-05d3-43bb-b722-07364bb8d2f5”,
“6c388b5d-1cc9-477d-963e-1d67737a3eea”
]
},
“type”: “core.RuleEnablementAction”
}
],
“configuration”: {},
“configDescriptions”: [],
“uid”: “e7946271-1285-4a60-afb1-f6c980b06538”,
“name”: “HUE Lampen Rule EINSCHALTEN”,
“tags”: [],
“visibility”: “VISIBLE”
}
},
“21d372d4-88c9-466a-bd34-ff36dac80615”: {
“class”: “org.openhab.core.automation.dto.RuleDTO”,
“value”: {
“triggers”: [
{
“id”: “1”,
“label”: “it is a fixed time of day”,
“description”: “Triggers at a specified time”,
“configuration”: {
“time”: “05:45”
},
“type”: “timer.TimeOfDayTrigger”
}
],
“conditions”: [],
“actions”: [
{
“inputs”: {},
“id”: “3”,
“label”: “send a command”,
“description”: “Sends a command to a specified item.”,
“configuration”: {
“itemName”: “hue_0210_00178875a637_1_color_temperature”,
“command”: “ON”
},
“type”: “core.ItemCommandAction”
},
{
“inputs”: {},
“id”: “4”,
“label”: “send a command”,
“description”: “Sends a command to a specified item.”,
“configuration”: {
“itemName”: “hue_0210_00178875a637_1_color”,
“command”: 10.0
},
“type”: “core.ItemCommandAction”
}
],
“configuration”: {},
“configDescriptions”: [],
“uid”: “21d372d4-88c9-466a-bd34-ff36dac80615”,
“name”: “HUE1 anschalten um 05:45”,
“tags”: [],
“visibility”: “VISIBLE”
}
},
“aa5f8886-0948-4500-9b8b-ee75e63ed0f5”: {
“class”: “org.openhab.core.automation.dto.RuleDTO”,
“value”: {
“triggers”: [
{
“id”: “1”,
“label”: “it is a fixed time of day”,
“description”: “Triggers at a specified time”,
“configuration”: {
“time”: “06:00”
},
“type”: “timer.TimeOfDayTrigger”
}
],
“conditions”: [
{
“inputs”: {},
“id”: “3”,
“label”: “an item has a given state”,
“description”: “Compares the item state with the given value”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_2455A9_switch”,
“state”: “OFF”,
“operator”: “\u003d”
},
“type”: “core.ItemStateCondition”
}
],
“actions”: [
{
“inputs”: {},
“id”: “2”,
“label”: “send a command”,
“description”: “Sends a command to a specified item.”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_2455A9_switch”,
“command”: “ON”
},
“type”: “core.ItemCommandAction”
}
],
“configuration”: {},
“configDescriptions”: [],
“uid”: “aa5f8886-0948-4500-9b8b-ee75e63ed0f5”,
“name”: “Adventsstern AN morgens”,
“tags”: [],
“visibility”: “VISIBLE”,
“description”: “Adventsstern AN morgens”
}
},
“67f0c2a4-6305-4116-a3d7-b14fd6b19d5f”: {
“class”: “org.openhab.core.automation.dto.RuleDTO”,
“value”: {
“triggers”: [],
“conditions”: [],
“actions”: [
{
“inputs”: {},
“id”: “1”,
“label”: “enables or disable rules”,
“description”: “Enables or disables a rule or a group of rules specified by their UIDs.”,
“configuration”: {
“enable”: true,
“ruleUIDs”: [
“07a4cc8c-e818-44d8-a65e-e8b0ef2e8378”,
“aa5f8886-0948-4500-9b8b-ee75e63ed0f5”,
“66640f5f-1cd6-4968-9c9d-53fea96e3140”,
“19519e2f-4b48-4099-9897-3cae0b247d52”
]
},
“type”: “core.RuleEnablementAction”
}
],
“configuration”: {},
“configDescriptions”: [],
“uid”: “67f0c2a4-6305-4116-a3d7-b14fd6b19d5f”,
“name”: “Adventsstern Rule AN”,
“tags”: [],
“visibility”: “VISIBLE”
}
},
“23896a53-9ce3-4b69-b94d-8d0db7c00c56”: {
“class”: “org.openhab.core.automation.dto.RuleDTO”,
“value”: {
“triggers”: [
{
“id”: “5”,
“label”: “an item state is updated”,
“description”: “This triggers the rule if an item state is updated (even if it does not change).”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_FC3C5F_switch”,
“state”: “ON”
},
“type”: “core.ItemStateUpdateTrigger”
}
],
“conditions”: [
{
“inputs”: {},
“id”: “3”,
“label”: “Ausschalten bei 0,5 Watt”,
“description”: “Bei 0,5 Watt abschalten”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_FC3C5F_power”,
“state”: 1.0,
“operator”: “\u003c”
},
“type”: “core.ItemStateCondition”
},
{
“inputs”: {},
“id”: “4”,
“label”: “an item has a given state”,
“description”: “Compares the item state with the given value”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_FC3C5F_power”,
“state”: 0.0,
“operator”: “!\u003d”
},
“type”: “core.ItemStateCondition”
}
],
“actions”: [
{
“inputs”: {},
“id”: “2”,
“label”: “Schaltet Steckdose Aus”,
“description”: “Ausschalten\nAusschalten”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_FC3C5F_switch”,
“command”: “OFF”
},
“type”: “core.ItemCommandAction”
}
],
“configuration”: {},
“configDescriptions”: [],
“uid”: “23896a53-9ce3-4b69-b94d-8d0db7c00c56”,
“name”: “Steckdose im Jochen Zimmer abschalten bei weniger als 0,5 Watt”,
“tags”: [],
“visibility”: “VISIBLE”,
“description”: “Schaltet Steckdose aus”
}
},
“66640f5f-1cd6-4968-9c9d-53fea96e3140”: {
“class”: “org.openhab.core.automation.dto.RuleDTO”,
“value”: {
“triggers”: [
{
“id”: “1”,
“label”: “it is a fixed time of day”,
“description”: “Triggers at a specified time”,
“configuration”: {
“time”: “08:00”
},
“type”: “timer.TimeOfDayTrigger”
}
],
“conditions”: [
{
“inputs”: {},
“id”: “3”,
“label”: “an item has a given state”,
“description”: “Compares the item state with the given value”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_2455A9_switch”,
“state”: “ON”,
“operator”: “\u003d”
},
“type”: “core.ItemStateCondition”
}
],
“actions”: [
{
“inputs”: {},
“id”: “2”,
“label”: “send a command”,
“description”: “Sends a command to a specified item.”,
“configuration”: {
“itemName”: “tplinksmarthome_hs110_2455A9_switch”,
“command”: “OFF”
},
“type”: “core.ItemCommandAction”
}
],
“configuration”: {},
“configDescriptions”: [],
“uid”: “66640f5f-1cd6-4968-9c9d-53fea96e3140”,
“name”: “Adentssstern AUS morgens”,
“tags”: [],
“visibility”: “VISIBLE”,
“description”: “Adentssstern AUS morgens”
}
}
}