16:01:37.503 CET DETAIL: Role "teslamate" does not exist.Ĭonnection matched pg_hba.conf line 95: "host all all all md5" 16:01:37.503 CET FATAL: password authentication failed for user "teslamate" 16:01:37.096 CET LOG: incomplete startup packet 16:01:15.728 CET LOG: database system is ready to accept connections 16:01:15.723 CET LOG: database system was shut down at 16:01:14 CET PostgreSQL Database directory appears to contain a database Skipping initialization I have installed Grafana, Postgress1 and Teslamate but when I start Teslamate I Have errors in the log of Postgress. I am not sure how to set the MQTT port but that isn't an issue for me, at least not so far. You need to set MQTT_HOST in the Teslamate docker to the IP address of your MQTT broker. Let us know if it works, and maybe update my instructions so that it is easier for the next person, and/or you and I if we have to reinstall in the future.Įdit - I now do have Teslamate working. It is worth it as Teslamate is awesome, even though I rarely drive these days due to Covid lockdown so I don't have much data in the system. Sorry if those instructions are not clear - it was a bit of trial and error for me, but it didn't take too long to get up and running. Grafana-cli -pluginUrl plugins install grafana-worldmap-panel-ng Grafana-cli plugins install grafana-piechart-panel 1.6.1 Grafana-cli plugins install natel-discrete-panel 0.1.0 Grafana-cli plugins install pr0ps-trackmap-panel 2.1.0 ![]() SSH into your unraid server and start a bash prompt in the Grafana docker and Manually install Grafana plugins using : Repeat for all dashboards (note - there is likely an automated way of doing this) Click on Raw, copy all and paste back in Grafana. Manually install dashboards by copying json files into Grafana. Add whatever other stuff is missing and use this snapshot as your guideline: I can't remember exactly but I think you have to do this for DATABASE_USER, DATABASE_NAME, DATABASE_HOST and DATABASE_PASS. For example, click on this button, select Variable and then use name=DATABASE_NAME, key=DATABASE_NAME, value=teslamate and Description="Container Variable:". To add in a Variable, ext click on +Add another Path, Port, Variable or Device. ![]() ![]() Add in Variables and keys – except use teslamate as user. Install postgres11 from apps with Postgres_password=secret, postgres_user=teslamate and postgres_db as teslmateģ. Install Grafana docker from apps – set IP address or your unRAID server in key 1 before creating and use secret as key 2Ģ. I am not sure it is complete but it should be able to help you a lot:ġ. Here is the document that I started working on. For example, that thread seems to have the wrong info in some instances, like in the Teslamate docker it says to use a database user name of postres but you have to change that to teslamate. Note that these instructions were not 100% correct and I had to play around with a few things. I mainly used the instructions in this thread on reddit. Click to expand.I got it working and it wasn't too bad but I probably did a lot more manual things than what would be required if I knew what I was doing.
0 Comments
Leave a Reply. |