I spotted something else. Take a look at this example…
"b4962cc4-6067-4b9c-928e-fe3c6065161f": {
"class": "org.openhab.core.automation.dto.RuleDTO",
"value": {
"triggers": [
{
"id": "1",
"label": "a trigger channel fires",
"description": "React on events from a trigger channel of a thing.",
"configuration": {
"event": "START",
"channelUID": "astro:sun:local:rise#event"
},
"type": "core.ChannelEventTrigger"
}
],
"conditions": [],
"actions": [
{
"inputs": {},
"id": "2",
"label": "send a command",
"description": "Sends a command to a specified item.",
"configuration": {
"itemName": "Virtual_Switch_1",
"command": "OFF"
},
"type": "core.ItemCommandAction"
}
],
"configuration": {},
"configDescriptions": [],
"uid": "b4962cc4-6067-4b9c-928e-fe3c6065161f",
"name": "Channel test",
"tags": [],
"visibility": "VISIBLE"
}
},
The module configuration
entries no longer have a properties
key, so you can just remove them and put everything directly under configuration
…
{
"dab67802-13bc-4c07-b597-ab55b60940e2": {
"class": "org.openhab.core.automation.dto.RuleDTO",
"value": {
"triggers": [
{
"id": "1",
"label": "a trigger sun rise channel fires START",
"description": "React on events from a trigger channel of a thing.",
"configuration": {
"event": "START",
"channelUID": "astro:sun:local:daylight#event"
},
"type": "core.ChannelEventTrigger"
}
],
"conditions": [],
"actions": [
{
"id": "2",
"label": "send a command valot OFF",
"description": "Sends a command to a specified item.",
"configuration": {
"itemName": "valot",
"command": "OFF"
},
"type": "core.ItemCommandAction"
}
],
"configuration": {
},
"configDescriptions": [],
"uid": "dab67802-13bc-4c07-b597-ab55b60940e2",
"name": "Valojen päiväsammutus",
"tags": [],
"visibility": "VISIBLE",
"description": "Sammutetaan valot kun on jo valoisaa, etteivät yksin pala kotona"
}
},
"rule_2": {
"class": "org.openhab.core.automation.dto.RuleDTO",
"value": {
"triggers": [
{
"id": "3",
"label": "Kun aurinko laskee",
"description": "React on events from a trigger channel of a thing.",
"configuration": {
"event": "START",
"channelUID": "astro:sun:local:civilDusk#event"
},
"type": "core.ChannelEventTrigger"
}
],
"conditions": [],
"actions": [
{
"id": "2",
"label": "Pistä ulkovalot päälle",
"description": "Pistää rappusten, takapihan ja parvekkeen valot päälle",
"configuration": {
"itemName": "iltavalot",
"command": "ON"
},
"type": "core.ItemCommandAction"
}
],
"configuration": {
},
"configDescriptions": [],
"uid": "rule_2",
"name": "Ulkovalot päälle",
"tags": [],
"visibility": "VISIBLE",
"description": "Sytyttää valot takapihalle ja parvekkeelle"
}
},
"rule_1": {
"class": "org.openhab.core.automation.dto.RuleDTO",
"value": {
"triggers": [
{
"id": "2",
"label": "Iltasammutus valoille",
"description": "Sammutetaan tähän aikaan ulkovalot",
"configuration": {
"time": "23:30"
},
"type": "timer.TimeOfDayTrigger"
}
],
"conditions": [],
"actions": [
{
"id": "1",
"label": "Sammuta takapihan valot",
"description": "Sammuta takapihan ja parvekkeen valot",
"configuration": {
"itemName": "iltavalot",
"command": "OFF"
},
"type": "core.ItemCommandAction"
}
],
"configuration": {
},
"configDescriptions": [],
"uid": "rule_1",
"name": "Iltasammutus ulkovaloille",
"tags": [],
"visibility": "VISIBLE",
"description": "Sammuttaa parvekkeen ja takapihan valot"
}
}
}
See if that gets them running. If not, I’ll keep looking.