I just found out that last night I got 6 error messages I can’t really explain. Those were exactly the same and all within 3 minutes.
error [pimatic]: A uncaught exception occured: Error: connect EHOSTUNREACH
at errnoException (net.js:901:11)
at Object.afterConnect [as oncomplete] (net.js:892:19)
From connect
at Socket.connect (/home/pi/pimatic-app/node_modules/pimatic/startup.coffee:55:29)
at Object.exports.connect.exports.createConnection (net.js:94:26)
at Nut.start (/home/pi/pimatic-app/node_modules/pimatic-nut/node_modules/node-nut/node-nut.js:28:21)
at NutSensor.readUPSData (/home/pi/pimatic-app/node_modules/pimatic-nut/nut.coffee:128:12)
at null.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-nut/nut.coffee:113:12)
at wrapper [as _onTimeout] (timers.js:252:14)
at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
This is most probably a bug in pimatic or in a module, please report it!
The times this occurred were: 03:50:06, 03:51:06, 03:51:06(!), 03:51:39, 03:52:09 and 03:52:39.
And here is my config: (and I’m still on 0.8.104 by the way!)
{
"settings": {
"httpServer": {
"enabled": true,
"port": 80
},
"database": {
"deviceAttributeLogging": [
{
"deviceId": "*",
"attributeName": "*",
"type": "*",
"interval": "0",
"expire": "2d"
},
{
"deviceId": "*",
"attributeName": "$houseState",
"type": "string",
"interval": "1h",
"expire": "1y"
},
{
"deviceId": "gui-clima-outside",
"attributeName": "*",
"interval": "5min",
"expire": "1y",
"type": "*"
},
{
"deviceId": "batt-clima-outside",
"attributeName": "*",
"interval": "3h",
"expire": "14d",
"type": "*"
},
{
"deviceId": "gui-clima-prediction",
"attributeName": "*",
"interval": "1h",
"expire": "14d",
"type": "*"
},
{
"deviceId": "gui-clima-living",
"attributeName": "*",
"interval": "5min",
"expire": "1y",
"type": "*"
},
{
"deviceId": "sys-tools-UPSinfo",
"attributeName": "*",
"interval": "5min",
"expire": "1y",
"type": "*"
},
{
"deviceId": "gui-clima-bedroom",
"attributeName": "*",
"interval": "5min",
"expire": "1y",
"type": "*"
},
{
"deviceId": "gui-clima-sun",
"attributeName": "Licht",
"interval": "5min",
"expire": "60d",
"type": "*"
}
],
"messageLogging": [
{
"level": "*",
"tags": [],
"expire": "7d"
},
{
"level": "debug",
"tags": [],
"expire": "3h"
}
]
},
"authentication": {
"secret": "xxxxxxxxxx"
},
"httpsServer": {},
"gui": {}
},
"plugins": [
{
"plugin": "cron"
},
{
"plugin": "mobile-frontend",
"theme": "graphite/dark",
"customTitle": "Molenvoorde 491"
},
{
"plugin": "sunrise",
"latitude": 52.030293,
"longitude": 4.321763
},
{
"plugin": "homeduino",
"driver": "serialport",
"driverOptions": {
"serialDevice": "/dev/homeduino",
"baudrate": 115200
},
"receiverPin": 0,
"transmitterPin": 4
},
{
"plugin": "openweather",
"apiKey": "9aec9ab89168c1d4efb4de9cf0a77adc"
},
{
"plugin": "nut"
},
{
"plugin": "shell-execute"
},
{
"plugin": "dewpoint"
},
{
"plugin": "mysensors",
"driver": "serialport",
"protocols": "1.5",
"startingNodeId": 51,
"driverOptions": {
"serialDevice": "/dev/MYSensors",
"baudrate": 115200
}
}
],
"devices": [
{
"id": "living-lamp-entrance",
"name": "Lamp achterkamer",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch1",
"options": {
"id": 7979378,
"unit": 13
}
}
]
},
{
"id": "living-lamp-bookcase",
"name": "Lamp boekenkast",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch1",
"options": {
"id": 7979378,
"unit": 14
}
}
]
},
{
"id": "living-lamp-table",
"name": "Lamp tafel",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch1",
"options": {
"id": 7979378,
"unit": 15
}
}
]
},
{
"id": "living-lamp-dining",
"name": "sys_lamp_eettafel",
"class": "HomeduinoRFDimmer",
"protocols": [
{
"name": "dimmer1",
"options": {
"id": 7979378,
"unit": 11
}
}
]
},
{
"id": "sys-lamp-night",
"name": "Nachtlicht",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch1",
"options": {
"id": 7979378,
"unit": 12
}
}
]
},
{
"id": "hallway-lamp-main",
"name": "Hallicht",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch1",
"options": {
"id": 7979378,
"unit": 8
}
},
{
"name": "switch1",
"options": {
"id": 16186258,
"unit": 1
},
"send": false
}
]
},
{
"id": "bedroom-lamp-wardrobe",
"name": "Lamp slaapkamer",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch1",
"options": {
"id": 7979378,
"unit": 4
}
}
]
},
{
"id": "bedroom-fan-bed",
"name": "Plafondfan",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch1",
"options": {
"id": 7979378,
"unit": 7
}
}
]
},
{
"id": "sys-clima-buiten",
"name": "sys_clima_buiten",
"class": "HomeduinoRFTemperature",
"protocols": [
{
"name": "weather1",
"options": {
"id": 234,
"channel": 1
}
}
]
},
{
"id": "sys-clima-dewpoint",
"name": "sys_clima_dewpoint",
"class": "DewPointDevice",
"temperatureRef": "$sys-clima-outside.temperature",
"humidityRef": "$sys-clima-outside.humidity"
},
{
"id": "sys-clima-forecast1",
"name": "sys_clima_forecast1",
"class": "OpenWeatherForecastDevice",
"location": "Rijswijk, NL",
"timeout": 3600000,
"day": 2
},
{
"id": "sys-clima-sunrise",
"name": "sys_clima_sunrise",
"class": "SunriseDevice",
"latitude": 52.030293,
"longitude": 4.321763,
"attributes": [
{
"name": "sunrise"
},
{
"name": "sunset"
}
]
},
{
"id": "hallway-switch-state",
"name": "sys_hal_status",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch1",
"options": {
"id": 17021026,
"unit": 10
}
}
]
},
{
"id": "hallway-switch-licht",
"name": "sys_hall_light",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch1",
"options": {
"id": 17021026,
"unit": 11
}
}
]
},
{
"id": "living-switch-state",
"name": "sys_living_status",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch1",
"options": {
"id": 15236310,
"unit": 9
},
"send": false
}
]
},
{
"id": "living-switch-halllight",
"name": "sys_living_hallicht",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch1",
"options": {
"id": 16186258,
"unit": 4
},
"send": false
}
]
},
{
"id": "living-switch-dimdining",
"name": "sys_living_dining",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch1",
"options": {
"id": 15017754,
"unit": 0
},
"send": false
}
]
},
{
"id": "remote-switch-state",
"name": "backstage_status_living",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch1",
"options": {
"id": 7979378,
"unit": 0
},
"send": false
}
]
},
{
"id": "gui-set-picontrol",
"name": "Commands",
"class": "ButtonsDevice",
"buttons": [
{
"id": "shutdown_pi",
"text": "Shutdown",
"confirm": true
},
{
"id": "reboot_CPU",
"text": "Reboot",
"confirm": true
},
{
"id": "restart_Pim",
"text": "Restart"
}
]
},
{
"id": "gui-set-status",
"name": "Status",
"class": "ButtonsDevice",
"buttons": [
{
"id": "status_AWAY",
"text": "Afwezig"
},
{
"id": "status_AWAKE",
"text": "Thuis"
},
{
"id": "status_ASLEEP",
"text": "Nacht"
}
]
},
{
"id": "gui-set-vacation",
"name": "Vakantie",
"class": "DummySwitch"
},
{
"id": "gui-set-dimdining",
"name": "Eettafel dimmer",
"class": "ButtonsDevice",
"buttons": [
{
"id": "dimlevel_OFF",
"text": "Uit"
},
{
"id": "dimlevel_LO",
"text": "Eten"
},
{
"id": "dimlevel_HI",
"text": "Werken"
}
]
},
{
"id": "gui-display-status",
"name": "Huisstatus",
"class": "VariablesDevice",
"variables": [
{
"name": "$houseState",
"expression": "$houseState",
"type": "string"
}
]
},
{
"id": "sys-clima-living",
"name": "sys_clima_living",
"class": "MySensorsMulti",
"attributes": [
{
"name": "temperature",
"nodeid": 101,
"sensorid": 1,
"type": "float",
"acronym": "T",
"unit": "°C"
},
{
"name": "humidity",
"nodeid": 101,
"sensorid": 0,
"type": "float",
"acronym": "RH",
"unit": "%"
},
{
"name": "pressure",
"nodeid": 101,
"sensorid": 2,
"sensortype": 4,
"type": "float",
"acronym": "P",
"unit": "mBar"
},
{
"name": "prediction",
"nodeid": 101,
"sensorid": 2,
"sensortype": 5,
"type": "string",
"acronym": "Forecast"
}
]
},
{
"id": "sys-clima-outside",
"name": "sys_clima_outside",
"class": "MySensorsMulti",
"attributes": [
{
"name": "temperature",
"nodeid": 100,
"sensorid": 1,
"type": "float",
"acronym": "T",
"unit": "°C"
},
{
"name": "humidity",
"nodeid": 100,
"sensorid": 0,
"type": "float",
"acronym": "RH",
"unit": "%"
},
{
"name": "heatIndex",
"nodeid": 100,
"sensorid": 2,
"type": "float",
"acronym": "Tgevoel",
"unit": "°C"
},
{
"name": "light",
"nodeid": 100,
"sensorid": 3,
"type": "float",
"acronym": "E",
"unit": "Lux"
}
]
},
{
"id": "batt-clima-outside",
"name": "Outside battery level",
"class": "MySensorsBattery",
"nodeid": [
100
]
},
{
"id": "sys-clima-bedroom",
"name": "sys_clima_bedroom",
"class": "MySensorsMulti",
"attributes": [
{
"name": "temperature",
"nodeid": 103,
"sensorid": 1,
"type": "float",
"acronym": "T",
"unit": "°C"
},
{
"name": "humidity",
"nodeid": 103,
"sensorid": 0,
"type": "float",
"acronym": "RH",
"unit": "%"
},
{
"name": "heatindex",
"nodeid": 103,
"sensorid": 2,
"type": "float",
"acronym": "Tgevoel",
"unit": "°C"
}
]
},
{
"id": "gui-clima-outside",
"name": "Actueel",
"class": "VariablesDevice",
"variables": [
{
"name": "Buitentemperatuur",
"expression": "$sys-clima-outside.temperature",
"type": "number",
"unit": "℃",
"acronym": "T",
"label": "temperature"
},
{
"name": "Luchtvochtigheid",
"expression": "$sys-clima-outside.humidity",
"type": "number",
"unit": "%",
"acronym": "RH",
"label": "humidity"
},
{
"name": "Luchtdruk",
"expression": "$sys-clima-living.pressure",
"type": "number",
"unit": "mBar",
"acronym": "P",
"label": "pressure"
},
{
"name": "Gevoelstemperatuur",
"expression": "$sys-clima-outside.heatIndex",
"type": "number",
"unit": "°C",
"acronym": "Tgevoel",
"label": "heatindex"
}
]
},
{
"id": "gui-clima-humidity",
"name": "Vochtigheid",
"class": "VariablesDevice",
"variables": [
{
"name": "Dauwpunt",
"expression": "$sys-clima-dewpoint.dewPoint",
"type": "number",
"unit": "°C",
"acronym": "Tdauw",
"label": "dewpoint"
},
{
"name": "Absolute luchtvochtigheid",
"expression": "$sys-clima-dewpoint.absHumidity",
"type": "number",
"unit": "g/m3",
"acronym": "absH",
"label": "abs humidity"
}
]
},
{
"id": "gui-clima-prediction",
"name": "Voorspelling",
"class": "VariablesDevice",
"variables": [
{
"name": "Weer",
"expression": "$sys-clima-living.prediction",
"type": "string",
"unit": "",
"label": "prediction"
},
{
"name": "Temperatuur",
"expression": "$sys-clima-forecast1.high",
"type": "number",
"unit": "°C",
"acronym": "T",
"label": "temperature"
},
{
"name": "Windsnelheid",
"expression": "($sys-clima-forecast1.windspeed*3.6)",
"type": "number",
"unit": "km/h",
"acronym": "Wind",
"label": "wind"
},
{
"name": "Regen",
"expression": "$sys-clima-forecast1.rain",
"type": "number",
"unit": "mm",
"acronym": "Regen",
"label": "rain"
},
{
"name": "Sneeuw",
"expression": "($sys-clima-forecast1.snow*1000)",
"type": "number",
"unit": "m",
"acronym": "Sneeuw",
"label": "snow"
}
]
},
{
"id": "gui-clima-living",
"name": "Klimaat",
"class": "VariablesDevice",
"variables": [
{
"name": "Temperatuur",
"expression": "$sys-clima-living.temperature",
"type": "number",
"unit": "°C",
"acronym": "T",
"label": "temperature"
},
{
"name": "Vochtigheid",
"expression": "$sys-clima-living.humidity",
"type": "number",
"unit": "%",
"acronym": "RH",
"label": "humidity"
}
]
},
{
"id": "gui-clima-bedroom",
"name": "Klimaat",
"class": "VariablesDevice",
"variables": [
{
"name": "Temperatuur",
"expression": "$sys-clima-bedroom.heatindex",
"type": "number",
"unit": "°C",
"acronym": "T",
"label": "temperature"
},
{
"name": "Vochtigheid",
"expression": "$sys-clima-bedroom.humidity",
"type": "number",
"unit": "%",
"acronym": "RH",
"label": "humidity"
}
]
},
{
"id": "gui-clima-sun",
"name": "Zonnedata",
"class": "VariablesDevice",
"variables": [
{
"name": "Zonsopkomst",
"expression": "$sys-clima-sunrise.sunrise",
"type": "string",
"unit": "",
"acronym": "Zon op: ",
"label": "sunrise"
},
{
"name": "Zonsondergang",
"expression": "$sys-clima-sunrise.sunset",
"type": "string",
"unit": "",
"acronym": "Zon onder: ",
"label": "sunset"
},
{
"name": "Licht",
"expression": "$sys-clima-outside.light",
"type": "number",
"unit": "Lux",
"acronym": "E",
"label": "lightlevel"
}
]
},
{
"id": "sys-tools-UPSinfo",
"name": "UPS info",
"class": "NutSensor",
"nuthost": "10.0.0.11",
"nutport": 3493,
"upsid": "ups",
"attributes": [
{
"name": "status"
},
{
"name": "inputVoltage",
"interval": 30000
},
{
"name": "batteryCharge"
},
{
"name": "load"
},
{
"name": "runTime",
"var": "battery.runtime",
"type": "number",
"unit": "sec.",
"acronym": "t"
}
]
},
{
"id": "sys-tools-MySlight1",
"name": "Testswitch1",
"class": "MySensorsButton",
"nodeid": 117,
"sensorid": 0
},
{
"id": "sys-tools-MySlight2",
"name": "Testswitch2",
"class": "MySensorsSwitch",
"nodeid": 117,
"sensorid": 1
},
{
"id": "sys-tools-MySlight3",
"name": "Testswitch3",
"class": "MySensorsSwitch",
"nodeid": 117,
"sensorid": 2
},
{
"id": "sys-tools-MySlight4",
"name": "Testswitch4",
"class": "MySensorsSwitch",
"nodeid": 117,
"sensorid": 3
}
],
"rules": [
{
"id": "set-status-away",
"name": "set status AWAY",
"rule": "if Afwezig is pressed or sys_hal_status receives on or sys_hal_status receives on or [sys_living_status receives on and $helper-housestate = 0] then set $houseState to \"Afwezig\"",
"active": true,
"logging": true
},
{
"id": "set-status-awake",
"name": "set status AWAKE",
"rule": "if Thuis is pressed or sys_living_status receives off or sys_hal_status receives off or remote-switch-state receives off then set $houseState to \"Thuis\"",
"active": true,
"logging": true
},
{
"id": "set-status-asleep",
"name": "set status ASLEEP",
"rule": "if Nacht button is pressed or [[sys_living_status receives on or remote-switch-state receives on] and $helper-housestate = 1] then set $houseState to \"Nacht\" and set $wake-up to 1",
"active": true,
"logging": true
},
{
"id": "set-helper-housestate",
"name": "set $helper-houseState",
"rule": "if sys_living_status receives on or remote-switch-state receives on then set $helper-housestate to 1 after 700ms and set $helper-housestate to 0 after 10s",
"active": true,
"logging": false
},
{
"id": "nachtlicht-aan",
"name": "Nachtlicht aan",
"rule": "if [[$sys-clima-outside.light <= 180 for 5 minutes or its sunset] and $houseState = \"Thuis\"] or [trigger: $lightState = \"dark\" and $houseState = \"Afwezig\"] or [trigger: $houseState = \"Thuis\"] or [trigger: $conformationLamp is 1] then switch Nachtlicht on",
"active": true,
"logging": false
},
{
"id": "nachtlicht-uit",
"name": "Nachtlicht uit",
"rule": "if trigger: $houseState = \"Nacht\" or [$sys-clima-outside.light >= 200 for 15 minutes and $lightState = \"daylight\"] or [trigger: $conformationLamp = 0 and $sys-clima-outside.light >= 200] or [trigger: $houseState = \"Afwezig\" and [$lightState = \"daylight\" or [its after 2:00 and before 10:00]]] then switch Nachtlicht off",
"active": true,
"logging": false
},
{
"id": "sfeerlicht-aan",
"name": "Sfeerlicht aan",
"rule": "if [$sys-clima-outside.light <= 120 for 5 minutes or its 20 minutes after sunset] and $houseState = \"Thuis\" and $wake-up = 0 then switch Lamp achterkamer on and switch Lamp boekenkast on after 400ms and switch Lamp tafel on after 800ms",
"active": true,
"logging": false
},
{
"id": "sfeerlicht-uit",
"name": "Sfeerlicht uit",
"rule": "if trigger: $houseState = \"Afwezig\" or trigger: $houseState = \"Nacht\" or [$sys-clima-outside.light >= 150 for 15 minutes] then switch Lamp tafel off and switch Lamp boekenkast off after 400ms and switch Lamp achterkamer off after 800ms",
"active": true,
"logging": false
},
{
"id": "eettafel-uit",
"name": "Eettafel UIT",
"rule": "if dimlevel_OFF button is pressed or sys_living_dining is turned off then switch living-lamp-dining off after 500ms",
"active": true,
"logging": false
},
{
"id": "eettafel-eten",
"name": "Eettafel ETEN",
"rule": "if dimlevel_LO button is pressed then dim living-lamp-dining to 60% after 500ms",
"active": true,
"logging": false
},
{
"id": "eettafel-werk",
"name": "Eettafel WERK",
"rule": "if dimlevel_HI button is pressed then dim living-lamp-dining to 100% after 500ms",
"active": true,
"logging": false
},
{
"id": "eettafel-knop-aan",
"name": "Eettafel knop AAN",
"rule": "if living-switch-dimdining is turned on then switch living-lamp-dining on after 2000ms",
"active": true,
"logging": false
},
{
"id": "hallicht-aan",
"name": "Hallicht-aan",
"rule": "if sys_hall_light is turned on or sys_living_hallicht is turned on then turn Hallicht on after 2000 ms",
"active": true,
"logging": false
},
{
"id": "hallicht-uit",
"name": "Hallicht-uit",
"rule": "if sys_hall_light is turned off or sys_living_hallicht is turned off then turn Hallicht off after 2000 ms",
"active": true,
"logging": false
},
{
"id": "pimatic-restart",
"name": "pimatic-restart",
"rule": "if Restart is pressed then execute \"sudo service pimatic restart\"",
"active": true,
"logging": false
},
{
"id": "pi-restart",
"name": "RPi-reboot",
"rule": "if Reboot is pressed then execute \"sudo reboot -h now\"",
"active": true,
"logging": true
},
{
"id": "lightstate-is-dark",
"name": "lightState is dark",
"rule": "if it is sunset then set $lightState to \"dark\"",
"active": true,
"logging": false
},
{
"id": "lightstate-is-daylight",
"name": "lightState is daylight",
"rule": "if it is goldenHourEnd then set $lightState to \"daylight\"",
"active": true,
"logging": false
},
{
"id": "conformationlight",
"name": "conformationLight",
"rule": "if trigger: $houseState = \"Thuis\" then set $conformationLamp to 1 and after 3 seconds set $conformationLamp to 0",
"active": true,
"logging": false
},
{
"id": "vakantie-off",
"name": "Vakantie off",
"rule": "if its 23:50 and Vakantie is on then after random(0, 30) minutes turn Nachtlicht off",
"active": true,
"logging": false
},
{
"id": "shutdown",
"name": "RPi shutdown",
"rule": "if Shutdown is pressed then execute \"sudo shutdown -h now\"",
"active": true,
"logging": true
},
{
"id": "wake-up",
"name": "wake-up",
"rule": "if its 8:30 then set $wake-up to 0",
"active": true,
"logging": false
},
{
"id": "apt-update-upgrade",
"name": "APT-update/upgrade",
"rule": "if its Wednesday and its 13:01 then execute \"sudo apt-get update\" and after 30 minutes execute \"sudo apt-get upgrade\" and after 120 minutes execute \"sudo reboot now\"",
"active": true,
"logging": false
}
],
"pages": [
{
"id": "favourite",
"name": "Thuis op 491",
"devices": [
{
"deviceId": "gui-clima-bedroom"
},
{
"deviceId": "gui-clima-outside"
},
{
"deviceId": "gui-clima-prediction"
},
{
"deviceId": "gui-clima-humidity"
},
{
"deviceId": "gui-clima-sun"
},
{
"deviceId": "gui-display-status"
},
{
"deviceId": "sys-lamp-night"
},
{
"deviceId": "bedroom-fan-bed"
},
{
"deviceId": "living-lamp-entrance"
},
{
"deviceId": "living-lamp-bookcase"
},
{
"deviceId": "living-lamp-table"
},
{
"deviceId": "gui-set-dimdining"
},
{
"deviceId": "gui-clima-living"
},
{
"deviceId": "hallway-lamp-main"
}
]
},
{
"id": "sys-systeem",
"name": "Systeem",
"devices": [
{
"deviceId": "gui-set-status"
},
{
"deviceId": "gui-set-vacation"
},
{
"deviceId": "gui-set-picontrol"
},
{
"deviceId": "sys-tools-UPSinfo"
},
{
"deviceId": "batt-clima-outside"
}
]
},
{
"id": "mysensors-crap",
"name": "MySensors crap",
"devices": [
{
"deviceId": "sys-tools-MySlight1"
},
{
"deviceId": "sys-tools-MySlight2"
},
{
"deviceId": "sys-tools-MySlight3"
},
{
"deviceId": "sys-tools-MySlight4"
},
{
"deviceId": "sys-clima-buiten"
}
]
}
],
"groups": [
{
"id": "grp-tools",
"name": "Tools",
"devices": [
"sys-lamp-night",
"gui-display-status",
"gui-set-status",
"gui-set-vacation",
"gui-set-picontrol",
"sys-tools-UPSinfo"
],
"rules": [
"shutdown",
"pimatic-restart",
"pi-restart",
"apt-update-upgrade",
"lightstate-is-dark",
"lightstate-is-daylight",
"set-status-awake",
"set-status-away",
"set-status-asleep",
"wake-up",
"set-helper-housestate",
"conformationlight",
"nachtlicht-aan",
"nachtlicht-uit",
"vakantie-off"
],
"variables": [
"houseState",
"helper-housestate",
"lightState",
"wake-up",
"conformationLamp"
]
},
{
"id": "grp-woonkamer",
"name": "Woonkamer",
"devices": [
"living-lamp-entrance",
"living-lamp-bookcase",
"living-lamp-table",
"gui-set-dimdining",
"gui-clima-living"
],
"rules": [
"sfeerlicht-aan",
"sfeerlicht-uit",
"eettafel-uit",
"eettafel-eten",
"eettafel-werk",
"eettafel-knop-aan"
],
"variables": [
"helper-dimdining",
"helper-sfeerlicht"
]
},
{
"id": "grp-kitchen",
"name": "Keuken",
"devices": [],
"rules": [],
"variables": []
},
{
"id": "grp-hal",
"name": "Hal",
"devices": [
"hallway-lamp-main"
],
"rules": [
"hallicht-aan",
"hallicht-uit"
],
"variables": []
},
{
"id": "grp-slaapkamer",
"name": "Slaapkamer",
"devices": [
"bedroom-fan-bed",
"gui-clima-bedroom"
],
"rules": [],
"variables": [
"helper-plafondventilator"
]
},
{
"id": "grp-climate",
"name": "Buiten",
"devices": [
"gui-clima-outside",
"gui-clima-prediction",
"batt-clima-outside",
"gui-clima-humidity",
"gui-clima-sun"
],
"rules": [],
"variables": []
}
],
"users": [
{
"username": "PI_boss",
"password": "xxxxxxxxxx",
"role": "admin"
},
{
"username": "David",
"password": "xxxxxxxxxx",
"role": "user"
},
{
"username": "Alinda",
"password": "xxxxxxxxxx",
"role": "user"
}
],
"roles": [
{
"name": "admin",
"permissions": {
"pages": "write",
"rules": "write",
"variables": "write",
"messages": "write",
"events": "write",
"devices": "write",
"groups": "write",
"plugins": "write",
"updates": "write",
"controlDevices": true,
"database": "write",
"config": "write",
"restart": true
}
},
{
"name": "user",
"permissions": {
"pages": "read",
"rules": "write",
"variables": "read",
"messages": "read",
"events": "read",
"controlDevices": true,
"restart": true
}
}
],
"variables": [
{
"name": "helper-housestate",
"value": 0
},
{
"name": "helper-dimdining",
"value": 0
},
{
"name": "houseState",
"value": "Thuis"
},
{
"name": "helper-sfeerlicht",
"value": 0
},
{
"name": "helper-plafondventilator",
"value": 0
},
{
"name": "lightState",
"value": "dark"
},
{
"name": "conformationLamp",
"value": 0
},
{
"name": "wake-up",
"value": 0
}
]
}
Hope I found something useful!