Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "devices": {
- "mainDimmer": {
- "protocol": [ "kaku_dimmer", "kaku_switch" ],
- "id": [{
- "id": 1234,
- "unit": 0
- }],
- "state": "on",
- "dimlevel": 13,
- "dimlevel-minimum": 0,
- "dimlevel-maximum": 15
- },
- "bookShelfLight": {
- "protocol": [ "kaku_switch" ],
- "id": [{
- "id": 123456,
- "unit": 1
- }],
- "state": "on"
- },
- "aanrechtLinks": {
- "protocol": [ "kaku_switch" ],
- "id": [{
- "id": 23456,
- "unit": 1
- }],
- "state": "off"
- },
- "dioremote": {
- "protocol": [ "kaku_switch" ],
- "id": [{
- "id": 12762702,
- "unit": 0
- }],
- "state": "off"
- },
- "actionremote": {
- "protocol": [ "elro_800_switch" ],
- "id": [{
- "systemcode": 25,
- "unitcode": 28
- }],
- "state": "off"
- },
- "actionremote2": {
- "protocol": [ "elro_800_switch" ],
- "id": [{
- "systemcode": 25,
- "unitcode": 28
- }],
- "state": "off"
- },
- "actionremote3": {
- "protocol": [ "elro_800_switch" ],
- "id": [{
- "systemcode": 25,
- "unitcode": 28
- }],
- "state": "off"
- },
- "lamp1": {
- "protocol": [ "kaku_dimmer", "kaku_switch" ],
- "id": [{
- "id": 18145722,
- "unit": 10
- }],
- "state": "on",
- "dimlevel": 4,
- "dimlevel-minimum": 0,
- "dimlevel-maximum": 15
- },
- "lamp2": {
- "protocol": [ "kaku_dimmer", "kaku_switch" ],
- "id": [{
- "id": 18863790,
- "unit": 11
- }],
- "state": "on",
- "dimlevel": 1,
- "dimlevel-minimum": 0,
- "dimlevel-maximum": 15
- },
- "lamp3": {
- "protocol": [ "kaku_dimmer", "kaku_switch" ],
- "id": [{
- "id": 18863790,
- "unit": 10
- }],
- "state": "off",
- "dimlevel": 5,
- "dimlevel-minimum": 0,
- "dimlevel-maximum": 15
- },
- "allelampen": {
- "protocol": [ "kaku_dimmer", "kaku_switch" ],
- "id": [{
- "id": 1234,
- "unit": 4
- }],
- "state": "on",
- "dimlevel": 9,
- "dimlevel-minimum": 0,
- "dimlevel-maximum": 15
- },
- "hallamp": {
- "protocol": [ "kaku_switch" ],
- "id": [{
- "id": 1234,
- "unit": 10
- }],
- "state": "off"
- },
- "hallwayPIR": {
- "protocol": [ "kaku_switch" ],
- "id": [{
- "id": 18723050,
- "unit": 9
- }],
- "state": "off"
- },
- "livingcontact": {
- "protocol": [ "kaku_switch_old" ],
- "id": [{
- "id": 4,
- "unit": 5
- }],
- "state": "off"
- },
- "entrycontact": {
- "protocol": [ "kaku_switch_old" ],
- "id": [{
- "id": 4,
- "unit": 8
- }],
- "state": "off"
- }
- },
- "rules": {
- "contact_living": {
- "rule": "IF livingcontact.state IS on THEN switch DEVICE livingcontact TO on FOR 5 SECOND AND switch DEVICE livingcontact TO off",
- "active": 1
- },
- "contact_living2": {
- "rule": "IF livingcontact.state IS off THEN switch DEVICE livingcontact TO on FOR 5 SECOND AND switch DEVICE livingcontact TO off",
- "active": 0
- },
- "contact_entry": {
- "rule": "IF entrycontact.state IS on THEN switch DEVICE entrycontact TO on FOR 5 SECOND AND switch DEVICE entrycontact TO off",
- "active": 1
- },
- "contact_entry2": {
- "rule": "IF entrycontact.state IS off THEN switch DEVICE entrycontact TO on FOR 5 SECOND AND switch DEVICE entrycontact TO off",
- "active": 0
- }
- },
- "gui": {
- "lamp1": {
- "name": "Keuken",
- "group": [ "Living" ],
- "media": [ "web" ]
- },
- "lamp2": {
- "name": "Staande Lamp",
- "group": [ "Living" ],
- "media": [ "web" ]
- },
- "lamp3": {
- "name": "TV hoek",
- "group": [ "Living" ],
- "media": [ "web" ]
- },
- "hallamp": {
- "name": "Hal",
- "group": [ "Living" ],
- "media": [ "web" ]
- },
- "allelampen": {
- "name": "alles (test)",
- "group": [ "Living" ],
- "media": [ "web" ]
- },
- "mainDimmer": {
- "name": "Dimmer",
- "group": [ "Test" ],
- "media": [ "web" ]
- },
- "bookShelfLight": {
- "name": "Bookshelf",
- "group": [ "Test" ],
- "media": [ "web" ]
- },
- "dioremote": {
- "name": "Dio Remote",
- "group": [ "Test" ],
- "media": [ "web" ],
- "readonly": 1
- },
- "actionremote": {
- "name": "actionunit",
- "group": [ "Test" ],
- "media": [ "web" ]
- },
- "actionremote2": {
- "name": "actionunit2",
- "group": [ "Test" ],
- "media": [ "web" ]
- },
- "actionremote3": {
- "name": "actionunit3",
- "group": [ "Test" ],
- "media": [ "web" ]
- },
- "hallwayPIR": {
- "name": "hallwayPIR",
- "group": [ "Test" ],
- "media": [ "web" ],
- "readonly": 1
- },
- "livingcontact": {
- "name": "living contact",
- "group": [ "Test" ],
- "media": [ "web" ],
- "readonly": 1
- },
- "entrycontact": {
- "name": "entry contact",
- "group": [ "Test" ],
- "media": [ "web" ],
- "readonly": 1
- },
- "aanrechtLinks": {
- "name": "aanrecht Links",
- "group": [ "Test" ],
- "media": [ "web" ]
- }
- },
- "settings": {
- "log-level": 6,
- "pid-file": "/var/run/pilight.pid",
- "log-file": "/var/log/pilight.log",
- "webserver-enable": 1,
- "webserver-root": "/usr/local/share/pilight/",
- "webserver-http-port": 5001,
- "webserver-cache": 1,
- "port": 5000,
- "standalone": 1
- },
- "hardware": {
- "433nano": {
- "comport": "/dev/ttyUSB0"
- }
- },
- "registry": {
- "pilight": {
- "firmware": {
- "version": 1,
- "lpf": 8,
- "hpf": 1600
- },
- "version": {
- "current": "7.0"
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment