Comments (3)
I think this would be better as a Discussion since MQTT works fine for most folks, so it's not a bug.
My recommendation would be to use lsof
to ensure that MQTT is listening on the correct host:port
. That anonymous connections aren't working either tells me that it's a problem with your Teslamate accessing that port at the given host name (and not authentication).
from teslamate.
Wonder if Mosquito is connecting in the first place. Unfortunately the logs above are insufficient to determine this. We need to see the logs immediately after starting Teslamate.
from teslamate.
Good call on the Discussion part, sorry about that.
Here is the beginning of the log.
23-11-29 16:30:17.653 [info] POST https://auth.tesla.com/oauth2/v3/token -> 200 (981.830 ms)
2023-11-29 16:30:17.653 [info] Refreshed api tokens
2023-11-29 16:30:17.666 [info] Scheduling token refresh in 6 h
2023-11-29 16:30:17.667 [info] Running TeslaMateWeb.Endpoint with cowboy 2.10.0 at :::4000 (http)
2023-11-29 16:30:17.668 [info] Access TeslaMateWeb.Endpoint at http://localhost
2023-11-29 16:30:17.996 [info] Starting logger for 'Car'
2023-11-29 16:30:18.156 car_id=1 [info] Start / :offline
2023-11-29 16:30:19.845 [info] tzdata release in place is from a file last modified Fri, 22 Oct 2021 02:20:47 GMT. Release file on server was last modified Tue, 28 Mar 2023 20:25:39 GMT.
2023-11-29 16:30:20.237 [info] Tzdata has updated the release from 2021e to 2023c
2023-11-29 16:30:23.157 [warning] MQTT publishing failed: :timeout
2023-11-29 16:30:23.157 [warning] MQTT publishing failed: :timeout
2023-11-29 16:30:23.157 [warning] MQTT publishing failed: :timeout
2023-11-29 16:30:23.157 [warning] MQTT publishing failed: :timeout
2023-11-29 16:30:23.157 [warning] MQTT publishing failed: :timeout
2023-11-29 16:30:23.157 [warning] MQTT publishing failed: :timeout
2023-11-29 16:30:23.157 [warning] MQTT publishing failed: :timeout
2023-11-29 16:30:23.157 [warning] MQTT publishing failed: :timeout
2023-11-29 16:30:23.157 [warning] MQTT publishing failed: :timeout
2023-11-29 16:30:23.157 [warning] MQTT publishing failed: :timeout
2023-11-29 16:30:27.657 [error] GenServer TeslaMate.Mqtt.Publisher terminating
** (WithClauseError) no with clause matching: {:error, :timeout}
from teslamate.
Related Issues (20)
- Docker Install Instructions - Needs improvement HOT 3
- Charges dashboard shows km instead of miles HOT 3
- Dog Mode not longer recognized HOT 4
- Status: 500. Message: db query error: pq: SSL is not enabled on the server HOT 1
- fails to start if dns not up on boot HOT 2
- Limited data in Grafana HOT 3
- Grafana container fails: "Failed to provision dashboards: failed to provision config teslamate_internal: context canceled" after upgrading to 1.28.2 HOT 3
- Where did cost_per_kw in Charges Dashbard go? HOT 1
- Having an issue with PostgreSQL and TeslaMate.Log.get_positions_without_elevation HOT 5
- ci: prevent workflow runs for certain conditions HOT 3
- model misidentification HOT 11
- [Feature Requets] Group Charges in Dashboard by distance driven since last charge HOT 3
- Tesla version 2023.44.30.2 broke Teslamate HOT 17
- postgres warning
- [Feature Request] Sentry State HOT 1
- Some location can't be resolved in China HOT 4
- 因为我服务器上80和443端口已经被其他应用修改,所以我修改80端口为8866端口,但貌似grafana打不开了?
- Battery Health has errors, the battery suddenly becomes healthy HOT 4
- Missing drive data - not exists in TeslaMate, exists in TeslaFi HOT 6
- Import from TeslaFi Does Not Appear to do Anything? HOT 7
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.