Giter VIP home page Giter VIP logo

Comments (9)

adriankumpf avatar adriankumpf commented on May 22, 2024

Awesome. Thanks for the detailed instructions! I'll pin this issue so others can find it easily.

from teslamate.

drklain avatar drklain commented on May 22, 2024

from teslamate.

adriankumpf avatar adriankumpf commented on May 22, 2024

Does your car have the MCU1 which has the "old" energy management system? If so make sure to disable "Always connected" in the energy saving settings. Additionally this article could be helpful to identify the problem.

from teslamate.

drklain avatar drklain commented on May 22, 2024

from teslamate.

scottismyname avatar scottismyname commented on May 22, 2024

Just a small suggestion. A large portion of this guide seems to be creating the docker compose file and getting it on your synology. Instead of creating it windows, transferring it to your NAS and then moving it to the appropriate directory, either just create it on your synology via the command line. It is quite simple.

  1. Copy and paste contents of your desired yaml file to your clipboard.
  2. In the correct directory, vi docker-compose.yml
  3. Go into insert mode by pressing i
  4. Paste the contents (usually via right click)
  5. Save and quit vi (press esc, then : and type wg)

from teslamate.

baylanger avatar baylanger commented on May 22, 2024

This isn't working for me. I create the docker file and when the Teslamate instance comes up, it complains saying the Postgres role "teslamate" doesn't exist.

Is teslamate instance supposed to do that for us? The instance keeps restarting, by the time I open a console.. the instance dies and I can't even try to create the db myself.

from teslamate.

slynetG avatar slynetG commented on May 22, 2024

Thanks all for those detailled instructions !

Is it safe to change ownership on the @docker folder ?

As you instructed to install using root, my admin account has no access, so no way to run a backup or a snapshot..

from teslamate.

aleckloss avatar aleckloss commented on May 22, 2024

I'm having issues after a few failed installs. Now I'm getting everything to work, but the existing database fell out of sync. I'm getting a password failed error in the teslamate docker container.

What's odd is that I attempt to delete the teslamate_db volume, but i'm still getting errors after a new compose. I've tried to locate the DB on my NAS and can't find it to delete the old DB or password config file, or anything. Can I get some assistance?

15:13:58.024 [error] Postgrex.Protocol (#PID<0.231.0>) failed to connect: ** (Postgrex.Error) FATAL 28P01 (invalid_password) password authentication failed for user "teslamate"

from teslamate.

jasongold avatar jasongold commented on May 22, 2024

I struggled with these for a while and found out the configuration above is a bit off...

Here is what I used that worked for me.

version: '3'
services:
teslamate:
image: teslamate/teslamate:latest
restart: unless-stopped
environment:
- DATABASE_USER=teslamate
- DATABASE_PASS=secret
- DATABASE_NAME=teslamate
- DATABASE_HOST=db
- MQTT_HOST=mosquitto
- VIRTUAL_HOST=192.168.xxxxx.xxxxxx
# if you're going to access the UI from another machine replace
# "localhost" with the hostname / IP address of the docker host.
- TZ=US # (optional) replace to use local time in debug logs. See "Configuration".
ports:
- 4000:4000
cap_drop:
- all

db:
image: postgres:11
environment:
- POSTGRES_USER=teslamate
- POSTGRES_PASSWORD=secret
volumes:
- teslamate-db:/var/lib/postgresql/data

grafana:
image: teslamate/grafana:latest
environment:
- DATABASE_USER=teslamate
- DATABASE_PASS=secret
- DATABASE_NAME=teslamate
- DATABASE_HOST=db
ports:
- 3000:3000
volumes:
- teslamate-grafana-data:/var/lib/grafana

mosquitto:
image: eclipse-mosquitto:1.6
ports:
- 1883:1883
- 9001:9001
volumes:
- mosquitto-conf:/mosquitto/config
- mosquitto-data:/mosquitto/data

volumes:
teslamate-db:
teslamate-grafana-data:
mosquitto-conf:
mosquitto-data:

from teslamate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.