Comments (9)
Awesome. Thanks for the detailed instructions! I'll pin this issue so others can find it easily.
from teslamate.
from teslamate.
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.
from teslamate.
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.
- Copy and paste contents of your desired yaml file to your clipboard.
- In the correct directory,
vi docker-compose.yml
- Go into insert mode by pressing i
- Paste the contents (usually via right click)
- Save and quit vi (press esc, then : and type wg)
from teslamate.
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.
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.
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.
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)
- Wrong Battery Capacity calculation after upgrade to 1.28.5 HOT 1
- After car updated to 2024.8.7 overview never shows state as "asleep" anymore. Shows "offline" instead HOT 2
- Timeline kWh is incorrect for miles HOT 2
- Dashboards missing units for miles
- Statistics efficiency color thresholds
- Statistics temperature color missing for Fahrenheit HOT 2
- doc: add testing with ci build docker images to contributing guide
- Statistics page "Starting at" data / column incorrect HOT 29
- Statistics dashboard link via other dashboards does not pass TZ into URL HOT 7
- Error when restoring Teslamate backup HOT 5
- charge is split and lots of it is missing HOT 2
- Grafana is unable to connect to the database HOT 2
- Upgrade the car infotainment version to: 2024.8.9 testamate which will display offline status every time the car goes to sleep HOT 2
- Docker update error while installing 1.28.5 (from 1.28.3), if using deprecated docker compose version HOT 2
- edge not updated? HOT 4
- Distance traveled on drive graph doesn't update is the time range is changed HOT 5
- Status Offline - should be Standby HOT 14
- RWD shows up as SR+ despite SR+ not being sold for 2.5 years HOT 3
- Same name cars issue, can you use ID-CarName or CarName (ID) on the dropdown, it's only showing 1 car HOT 1
- wrong start/stop drives if no internet connection HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teslamate.