03-27-2014, 02:55 PM
root@RASPBIAN:~# pilight-daemon -V
pilight-daemon version 3.0, commit v3.0
setting
hardware
config
root@RASPBIAN:~# pilight-daemon -D
pilight-daemon version 3.0, commit v3.0
setting
Code:
"log-level": 4,
"pid-file": "/var/run/pilight.pid",
"config-file": "/etc/pilight/config.json",
"hardware-file": "/etc/pilight/hardware.json",
"log-file": "/var/log/pilight.log",
"send-repeats": 10,
"receive-repeats": 1,
"webserver-enable": 1,
"webserver-root": "/usr/local/share/pilight",
"webserver-port": 5002,
"webserver-cache": 1,
"whitelist": "",
"update-check": 1,
"standalone": 1
hardware
Code:
{
"433gpio": {
"sender": 0,
"receiver": 1
}
}
config
Code:
{
"living": {
"name": "Salon",
"switcha": {
"name": "Television",
"protocol": [ "elro_hc" ],
"id": [{
"systemcode": 0,
"unitcode": 15
}],
"state": "off"
},
"switchb": {
"name": "Lampara Pie",
"protocol": [ "elro_hc" ],
"id": [{
"systemcode": 0,
"unitcode": 27
}],
"state": "off"
},
"switchd": {
"name": "Lampara Mesa",
"protocol": [ "elro_hc" ],
"id": [{
"systemcode": 0,
"unitcode": 29
}],
"state": "off"
}
},
"lobby": {
"name": "Entrada",
"switchb": {
"name": "Lampara",
"protocol": [ "elro_hc" ],
"id": [{
"systemcode": 0,
"unitcode": 23
}],
"state": "off"
}
}
}
root@RASPBIAN:~# pilight-daemon -D
Code:
[Mar 27 14:51:19:974755] pilight-daemon: DEBUG: -- start parsed config file --
{
"living": {
"name": "Salon",
"order": 1,
"switcha": {
"name": "Television",
"order": 1,
"type": 1,
"uuid": "03C5-00-00-C5-000300",
"origin": "03C5-00-00-C5-000300",
"protocol": [ "elro_hc" ],
"id": [{
"systemcode": 0,
"unitcode": 15
}],
"state": "off",
"settings": {
"readonly": 0,
"states": "on,off"
}
},
"switchb": {
"name": "Lampara Pie",
"order": 2,
"type": 1,
"uuid": "03C5-00-00-C5-000300",
"origin": "03C5-00-00-C5-000300",
"protocol": [ "elro_hc" ],
"id": [{
"systemcode": 0,
"unitcode": 27
}],
"state": "off",
"settings": {
"readonly": 0,
"states": "on,off"
}
},
"switchd": {
"name": "Lampara Mesa",
"order": 3,
"type": 1,
"uuid": "03C5-00-00-C5-000300",
"origin": "03C5-00-00-C5-000300",
"protocol": [ "elro_hc" ],
"id": [{
"systemcode": 0,
"unitcode": 29
}],
"state": "off",
"settings": {
"readonly": 0,
"states": "on,off"
}
}
},
"lobby": {
"name": "Entrada",
"order": 2,
"switchb": {
"name": "Lampara",
"order": 1,
"type": 1,
"uuid": "03C5-00-00-C5-000300",
"origin": "03C5-00-00-C5-000300",
"protocol": [ "elro_hc" ],
"id": [{
"systemcode": 0,
"unitcode": 23
}],
"state": "off",
"settings": {
"readonly": 0,
"states": "on,off"
}
}
}
}
[Mar 27 14:51:19:976588] pilight-daemon: DEBUG: -- end parsed config file --
[Mar 27 14:51:19:976980] pilight-daemon: INFO: daemon listening to port: 52748
[Mar 27 14:51:19:986423] pilight-daemon: DEBUG: new thread webserver daemon, 1 thread running
[Mar 27 14:51:19:986909] pilight-daemon: DEBUG: new thread 433gpio, 2 threads running
[Mar 27 14:51:19:987262] pilight-daemon: DEBUG: new thread updater, 3 threads running
[Mar 27 14:51:19:987609] pilight-daemon: DEBUG: new thread broadcaster, 4 threads running
[Mar 27 14:51:19:987952] pilight-daemon: DEBUG: new thread sender, 5 threads running
[Mar 27 14:51:19:988302] pilight-daemon: DEBUG: new thread ssdp, 6 threads running
[Mar 27 14:51:19:988697] pilight-daemon: DEBUG: new thread socket, 7 threads running
[Mar 27 14:51:19:989498] pilight-daemon: INFO: webserver listening to port: 5002
[Mar 27 14:51:19:994240] pilight-daemon: DEBUG: new thread webserver broadcast, 8 threads running
[Mar 27 14:51:19:994786] pilight-daemon: DEBUG: new thread webserver client, 9 threads running
[Mar 27 14:51:19:995491] pilight-daemon: DEBUG: ssdp sent search
[ Mar 27 14:51:20:89392] pilight-daemon: DEBUG: no pilight ssdp connections found
[Mar 27 14:53:27:449491] pilight-daemon: DEBUG: could not connect to pilight-daemon