Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "devices": {
- "fernbd1": {
- "protocol": [ "elro_800_switch" ],
- "id": [{
- "systemcode": 10,
- "unitcode": 10
- }],
- "state": "off"
- },
- "fernbd2": {
- "protocol": [ "elro_800_switch" ],
- "id": [{
- "systemcode": 10,
- "unitcode": 12
- }],
- "state": "off"
- },
- "fernbd3": {
- "protocol": [ "elro_800_switch" ],
- "id": [{
- "systemcode": 10,
- "unitcode": 8
- }],
- "state": "off"
- },
- "fernbd4": {
- "protocol": [ "elro_800_switch" ],
- "id": [{
- "systemcode": 10,
- "unitcode": 14
- }],
- "state": "off"
- },
- "lamp1": {
- "protocol": [ "relay" ],
- "id": [{
- "gpio": 2
- }],
- "state": "off"
- },
- "lamp2": {
- "protocol": [ "relay" ],
- "id": [{
- "gpio": 3
- }],
- "state": "off"
- },
- "lamp3": {
- "protocol": [ "relay" ],
- "id": [{
- "gpio": 12
- }],
- "state": "off"
- }
- },
- "rules": {
- "fernbd1-on1": {
- "rule": "IF (fernbd1.state IS on) THEN switch DEVICE lamp1 TO on",
- "active": 1
- },
- "fernbd1-on2": {
- "rule": "IF (lamp1.state IS on) THEN switch DEVICE fernbd1 TO on",
- "active": 1
- },
- "fernbd1-off1": {
- "rule": "IF (fernbd1.state IS off) THEN switch DEVICE lamp1 TO off",
- "active": 1
- },
- "fernbd1-off2": {
- "rule": "IF (lamp1.state IS off) THEN switch DEVICE fernbd1 TO off",
- "active": 1
- },
- "fernbd2-on1": {
- "rule": "IF (fernbd2.state IS on) THEN switch DEVICE lamp2 TO on",
- "active": 1
- },
- "fernbd2-on2": {
- "rule": "IF (lamp2.state IS on) THEN switch DEVICE fernbd2 TO on",
- "active": 1
- },
- "fernbd2-off1": {
- "rule": "IF (fernbd2.state IS off) THEN switch DEVICE lamp2 TO off",
- "active": 1
- },
- "fernbd2-off2": {
- "rule": "IF (lamp2.state IS off) THEN switch DEVICE fernbd2 TO off",
- "active": 1
- },
- "fernbd3-on1": {
- "rule": "IF (fernbd3.state IS on) THEN switch DEVICE lamp3 TO on",
- "active": 1
- },
- "fernbd3-on2": {
- "rule": "IF (lamp3.state IS on) THEN switch DEVICE fernbd3 TO on",
- "active": 1
- },
- "fernbd3-off1": {
- "rule": "IF (fernbd3.state IS off) THEN switch DEVICE lamp3 TO off",
- "active": 1
- },
- "fernbd3-off2": {
- "rule": "IF (lamp3.state IS off) THEN switch DEVICE fernbd3 TO off",
- "active": 1
- }
- },
- "gui": {
- "lamp1": {
- "name": "Sofa",
- "group": [ "Terasse" ],
- "media": [ "all" ]
- },
- "lamp2": {
- "name": "Tisch",
- "group": [ "Terasse" ],
- "media": [ "all" ]
- },
- "lamp3": {
- "name": "Musik",
- "group": [ "Terasse" ],
- "media": [ "all" ]
- }
- },
- "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,
- "gpio-platform": "raspberrypi2"
- },
- "hardware": {
- "433gpio": {
- "sender": 12,
- "receiver": 0
- }
- },
- "registry": {
- "pilight": {
- "version": {
- "current": "7.0"
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement