This settings.json now works for me:
Changes compared to your settings.json:
While the port should not matter, I got the same error as you after I removed it from my settings.json. Changing webserver-cache from 1 to 0 solved the issue for me.
p.s. if you still have issues with loading the webinterface in FireFox, clear Offline web content and user data.
Code:
{
"port": 5000,
"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,
"hardware-file": "/etc/pilight/hardware.json",
"webserver-enable": 1,
"webserver-root": "/usr/local/share/pilight",
"webserver-port": 5001,
"webserver-cache": 0,
"whitelist": "",
"update-check": 1
}
Changes compared to your settings.json:
Code:
"port": 5000,
"webserver-cache": 0,
While the port should not matter, I got the same error as you after I removed it from my settings.json. Changing webserver-cache from 1 to 0 solved the issue for me.
p.s. if you still have issues with loading the webinterface in FireFox, clear Offline web content and user data.