Xeroxxx / tplink-energy-monitor

An energy monitoring dashboard for TP-Link smart plugs - Forked from https://github.com/jamesbarnett91/tplink-energy-monitor
GNU General Public License v3.0
21 stars 7 forks source link

logger-config #26

Open Johannp02180 opened 3 years ago

Johannp02180 commented 3 years ago

Hello, I'm using docker and when I mount it to the docker container, im using unraid so I set the host path to the .json and the container path to the /opt/tplink-monitor/logger-config.json. The container starts up but logging no longer creates a file, am I doing it wrong? I also have /opt/tplink-monitor/data mounted to a host folder.

Xeroxxx commented 3 years ago

Can you touch logger-config.json in your data folder?

touch /datapath-on-unraid/logger-config.json

laur89 commented 3 years ago

Possibly related in the upstream project: https://github.com/jamesbarnett91/tplink-energy-monitor/issues/71