Since upgrading to HA 66.1 I cannot load pilight anymore. The config check says “component not found”. The configuration has not changed.
Is there a change in how config files are read or how pilight is run in version 66?
I just downgraded to 65.6 and all is fine again. I have opened a issue on GitHub for this as well.
pilight.log :
[Apr 07 17:57:49:328122] pilight-daemon: INFO: daemon listening to port: **5000**
[Apr 07 17:57:49:333140] pilight-daemon: INFO: secured webserver started on port: 5002 (fd 14)
[Apr 07 17:57:49:345031] pilight-daemon: INFO: regular webserver started on port: 5001 (fd 13)
[Apr 07 17:57:49:334488] pilight-daemon: INFO: new client, ip: 127.0.0.1, port: 34292
[Apr 07 17:57:49:445774] pilight-daemon: INFO: new client, ip: 192.168.1.106, port: 49198
homeassistant.log:
2018-04-07 19:58:07 ERROR (MainThread) [homeassistant.loader] Unable to find component pilight
2018-04-07 19:58:08 ERROR (MainThread) [homeassistant.setup] Setup failed for pilight: Component not found.
2018-04-07 19:58:15 ERROR (MainThread) [homeassistant.loader] Unable to find component switch.pilight
2018-04-07 19:58:16 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: level=ERROR, source=loader.py, message=Unable to find component pilight, timestamp=1523123887.9922879, exception=>
2018-04-07 19:58:16 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: level=ERROR, source=setup.py, message=Setup failed for pilight: Component not found., timestamp=1523123888.121903, exception=>
- pilight
2018-04-07 19:58:16 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: level=ERROR, source=loader.py, message=Unable to find component switch.pilight, timestamp=1523123895.8530917, exception=>
/etc/pilight/config.json:
{
"devices": {},
"rules": {},
"gui": {},
"settings": {
"port": 5000,
"log-level": 6,
"pid-file": "/var/run/pilight.pid",
"log-file": "/var/log/pilight.log",
"webserver-enable": 1,
"webserver-root": "/usr/local/share/pilight/webgui",
"webserver-http-port": 5001,
"webserver-https-port": 5002,
"webserver-cache": 1,
"gpio-platform": "raspberrypi3"
},
"hardware": {
"433gpio": {
"sender": 0,
"receiver": -1
}
},
"registry": {
"webserver": {
"ssl": {
"certificate": {
"secure": 0,
"location": "/etc/pilight/pilight.pem"
}
}
},
"pilight": {
"version": {
"current": "8.0.10"
}
}
}