lephisto / tesla-apiscraper

API Scraper for pulling Vehicle Statistics from the Tesla Owner API into an InfluxDB + Grafana Dashboards
GNU Lesser General Public License v3.0
365 stars 102 forks source link

Install note issues #61

Open galmok opened 5 years ago

galmok commented 5 years ago

There are a few issues with the directions given in the readme file:

1)

sudo apt install python3 python3-pathlib python3-pip python3-influxdb

should be (mentioned in a different ticket as well):

sudo apt install python3 python-pathlib python3-pip python3-influxdb

2)

In this block:

apt install npm
cd /var/lib/grafana/plugins
git clone https://github.com/lephisto/grafana-trackmap-panel
cd grafana-trackmap-panel
git checkout v2.0.4-teslascraper
npm install
npm run build

All commands should be prefixed with sudo. The folder /var/lib/grafana/plugins does not exit and has to be manually created. I did so:

sudo mkdir /var/lib/grafana/plugins
sudo chown grafana.grafana /var/lib/grafana/plugins
ddaddy commented 5 years ago

Thanks. The trackman instructions got my map working. Although sudo cd doesn't work, so I had to sudo -i to elevate the commands up to super user, then just run the commands without sudo.