-
Notifications
You must be signed in to change notification settings - Fork 22
MQTT integration doesn't work #87
Comments
I have partly the same issue as you. I can't get the MQTT integration to work. There are no errors in the logs. I have installed MQTT Explorer as well but can't see any topics. |
It looks like login is working. Have you set up any ACLs? |
The DB user and password is only set in the initial Postgres container initialisation. If you change it afterwards it won't work sadly. I'd suggest removing the Postgres add on, then re-adding and setting the configuration before 1st run. |
If you are not seeing data in Grafana then the issue is the Postgres connection, not MQTT. I think we have multiple issues being discussed here. |
@matt-FFFFFF Got it working. I had the MQTT set to true all this time :/ |
Hi, If you have MQTT working you can follow the instructions on the Teslamate website. It's the same from here on in. |
For me, I gave the write access to my mqtt user for all the topics to make it work.
|
Describe the bug
I don't get any reports into Grafana nor do I see any entities in MQTT. Secondly, the initial MQTTuser that I have defined doesn't have access anymore.
Steps to reproduce
1. config in grafana
certfile: fullchain.pem
env_vars:
value: admin
value: XXXYYY
keyfile: privkey.pem
plugins:
ssl: false
In Grafana - added datasource
2. In Postgres
3. In MQTT
logins: []
require_certificate: false
certfile: fullchain.pem
keyfile: privkey.pem
customize:
active: true
folder: mosquitto
Created files /share/mosquitto/acecesscontrollist and /share/mosquitto/acl.conf
Created an user teslamate in Home assistant (settings)
4 in Teslamate
database_user: teslamate
database_pass: pw
database_name: teslamate
database_host: 29b65938-postgres
database_ssl: false
database_port: 5432
disable_mqtt: false
encryption_key: aradomencryptionkey
grafana_import_dashboards: true
grafana_folder_name: TeslaMate
grafana_host: a0d7b954-grafana
grafana_port: 3000
grafana_user: admin
grafana_pass: pw
import_dir: /share/teslamate
mqtt_host: core-mosquitto
mqtt_user: teslamate
mqtt_pass: pw
mqtt_tls: false
mqtt_tls_accept_invalid_certs: false
mqtt_namespace: ""
timezone: Asia/Jerusalem
logs
Teslamate
MQTT
Postgres
Grafana
The text was updated successfully, but these errors were encountered: