Here is the current config.json:
{
"//": "Please only change this file when pimatic is NOT running, otherwise pimatic will overwrite your changes.",
"settings": {
"httpServer": {
"enabled": true,
"port": 80
},
"database": {
"deviceAttributeLogging": [
{
"deviceId": "*",
"attributeName": "*",
"type": "*",
"interval": "0",
"expire": "7d"
},
{
"deviceId": "*",
"attributeName": "*",
"type": "continuous",
"interval": "5min",
"expire": "7d"
},
{
"deviceId": "*",
"attributeName": "temperature",
"type": "number",
"expire": "1y"
},
{
"deviceId": "*",
"attributeName": "humidity",
"type": "number",
"expire": "1y"
}
],
"messageLogging": [
{
"level": "*",
"tags": [],
"expire": "7d"
},
{
"level": "debug",
"tags": [],
"expire": "0"
}
]
},
"authentication": {
"secret": "huxneakv3QeTjsm/GOfN8cl4zzZTQnx0QZh8nfrOd5ROZQMsojd6EaMEq4uV6aFj8pq1pZivIZyuCAJHwBwYnw=="
},
"logLevel": "info",
"httpsServer": {},
"gui": {}
},
"plugins": [
{
"plugin": "cron"
},
{
"plugin": "mobile-frontend"
},
{
"plugin": "gpio"
},
{
"plugin": "sunrise"
}
],
"devices": [
{
"id": "sunrise-device",
"class": "SunriseDevice",
"name": "Suntime",
"latitude": 47.21,
"longitude": 10,
"attributes": [
{
"name": "sunrise",
"label": "Sunrise"
},
{
"name": "sunset",
"label": "Sunset"
}
]
}
],
"rules": [],
"pages": [
{
"id": "favourite",
"name": "Favourites",
"devices": [
{
"deviceId": "sunrise-device"
}
]
}
],
"groups": [
{
"id": "home",
"name": "Home",
"devices": [],
"rules": [],
"variables": []
}
],
"users": [
{
"username": "admin",
"password": "XXXX",
"role": "admin"
},
{
"username": "pi",
"password": "XXXX",
"role": "resident"
}
],
"roles": [
{
"name": "admin",
"permissions": {
"pages": "write",
"rules": "write",
"variables": "write",
"messages": "write",
"events": "write",
"devices": "write",
"groups": "write",
"plugins": "write",
"updates": "write",
"config": "write",
"controlDevices": true,
"restart": true
}
},
{
"name": "resident",
"permissions": {
"pages": "read",
"rules": "read",
"variables": "read",
"messages": "read",
"events": "read",
"devices": "none",
"groups": "none",
"plugins": "none",
"updates": "none",
"config": "none",
"controlDevices": true,
"restart": false
}
}
],
"variables": []
}