Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "//": "Please only change this file when pimatic is NOT running, otherwise pimatic will overwrite your changes.",
- "settings": {
- "httpServer": {
- "enabled": true,
- "port": 80,
- "debug": true,
- "logLevel": "debug"
- },
- "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": "RR+rRrQ9o29DcIhw4MK2q5Bov7WTNcU+C929JlCKhQROKMXjSG27IXrGaI2wRYQofYgG/aQ0C42cvPb/REBm4w=="
- },
- "httpsServer": {},
- "gui": {}
- },
- "plugins": [
- {
- "plugin": "cron"
- },
- {
- "plugin": "mobile-frontend"
- },
- {
- "plugin": "homeduino",
- "driver": "serialport",
- "driverOptions": {
- "serialDevice": "/dev/ttyUSB0",
- "baudrate": 115200
- },
- "receiverPin": 0,
- "transmitterPin": 4
- },
- {
- "plugin": "fritz",
- "url": "http://fritz.box",
- "user": "username",
- "password": "123456",
- "interval": 60
- },
- {
- "plugin": "shell-execute"
- },
- {
- "plugin": "links",
- "links": []
- },
- {
- "plugin": "sunrise",
- "latitude": xxx,
- "longitude": yyy
- },
- {
- "plugin": "sysinfo"
- }
- ],
- "devices": [
- {
- "id": "weatherstation",
- "name": "Temperatur/Feuchte",
- "class": "HomeduinoRFWeatherStation",
- "protocols": [
- {
- "name": "weather3",
- "options": {
- "id": 53
- }
- }
- ],
- "values": [
- "temperature",
- "humidity"
- ]
- },
- {
- "class": "SystemSensor",
- "id": "syssensor",
- "name": "System",
- "attributes": [
- {
- "name": "cpu"
- },
- {
- "name": "memory"
- },
- {
- "name": "diskusage",
- "path": "/"
- },
- {
- "name": "uptime"
- }
- ]
- },
- {
- "id": "sonnenstand",
- "name": "Sonne",
- "class": "ShellSensor",
- "attributeName": "time",
- "attributeType": "string",
- "attributeUnit": "",
- "command": "sudo bash /home/pi/sunrise.sh",
- "interval": 3600000
- },
- {
- "id": "rfswitch",
- "name": "Dimmer",
- "class": "HomeduinoRFDimmer",
- "protocols": [
- {
- "name": "dimmer1",
- "options": {
- "id": 17494366,
- "unit": 0
- }
- }
- ]
- }
- ],
- "rules": [
- {
- "id": "lichtplus",
- "name": "LichtPlus_Morgens",
- "rule": "if its after 5:00 and before 6:00 and every 10 seconds and $rfswitch.dimlevel < 100 then dim Dimmer to $rfswitch.dimlevel +1",
- "active": true,
- "logging": true
- },
- {
- "id": "lichtminus",
- "name": "LichtMinus_Abends",
- "rule": "if its after 22:00 and before 22:45 and every 10 seconds and $rfswitch.dimlevel > 0 then dim Dimmer to $rfswitch.dimlevel -1",
- "active": true,
- "logging": true
- },
- {
- "id": "lichtminus-mittag",
- "name": "LichtMinus_Mittag",
- "rule": "if its after 10:00 and before 10:45 and every 2 seconds and $rfswitch.dimlevel > 0 then dim Dimmer to $rfswitch.dimlevel -1",
- "active": true,
- "logging": true
- },
- {
- "id": "lichtplus-nachmittag",
- "name": "LichtPlus_Nachmittag",
- "rule": "if its 45 minutes before sunset and before 21:59 and every 10 seconds and $rfswitch.dimlevel < 100 then dim Dimmer to $rfswitch.dimlevel +1",
- "active": true,
- "logging": true
- }
- ],
- "pages": [
- {
- "id": "favourite",
- "name": "Hühnerstall",
- "devices": [
- {
- "deviceId": "weatherstation"
- },
- {
- "deviceId": "syssensor"
- },
- {
- "deviceId": "sonnenstand"
- },
- {
- "deviceId": "rfswitch"
- }
- ]
- }
- ],
- "groups": [
- {
- "id": "lichtsteuerung",
- "name": "Lichtsteuerung",
- "devices": [
- "rfswitch"
- ],
- "rules": [
- "lichtplus",
- "lichtminus-mittag",
- "lichtplus-nachmittag",
- "lichtminus"
- ],
- "variables": []
- },
- {
- "id": "huhnerklappe",
- "name": "Hühnerklappe",
- "devices": [],
- "rules": [],
- "variables": []
- },
- {
- "id": "wetter",
- "name": "Wetter",
- "devices": [
- "sonnenstand",
- "weatherstation"
- ],
- "rules": [],
- "variables": []
- }
- ],
- "users": [
- {
- "username": "admin",
- "password": "admin",
- "role": "admin"
- }
- ],
- "roles": [
- {
- "name": "admin",
- "permissions": {
- "pages": "write",
- "rules": "write",
- "variables": "write",
- "messages": "write",
- "events": "write",
- "devices": "write",
- "groups": "write",
- "plugins": "write",
- "updates": "write",
- "database": "write",
- "config": "write",
- "controlDevices": true,
- "restart": true
- }
- }
- ],
- "variables": []
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement