Hi,
In my case the aqara sensors are connected with zigbee2mqtt (but no battery status??!)…
But i can not see the sensors at Homeassistant/mqtt…
This are the settings (i created a user in HA)…
Whats going wrong??
Hi,
In my case the aqara sensors are connected with zigbee2mqtt (but no battery status??!)…
But i can not see the sensors at Homeassistant/mqtt…
This are the settings (i created a user in HA)…
Whats going wrong??
I’ve noticed that it takes about an hour or so for the battery state to show up for newly connected Aqara contact sensors. They must be part of a regular “heartbeat” message but not the sensor state or pairing messages.
Not seeing the devices in the mqtt integration however means something is misconfigured in your set up.
Do you see the discovery messages if you use MQTT Explorer to inspect your broker?
Oh very good to know thx
I dont unterstand. What do you mean exactly?
Download MQTT Explorer.
Use it to connect to your mqtt broker.
Do you see discovery topics and payloads for your devices under the /homeassistant topic?
Connect to your mqtt broker. If you are using the Mosqitto addon the host will be your home assistant IP address, port 1883.
Click on the arrows in the left hand side to show the topics. Look for one called “homeassistant”
Right, now do you see the issue?
There are no messages from zigbee2mqtt under /homeassistant. Either your broker is not set up correctly or zigbee2mqtt is not set up correctly.
As there are messages from your shelly devices in the broker, lest assume for now that zigbee2mqtt is not set up correctly.
Check the zigbee2mqtt addon logs.
As I said, there is probably nothing wrong with your broker. It’s the zigbee2mqtt addon that is the likely culprit. Look at the logs for that addon.
Change your zigbee2mqtt settings to this:
mqtt:
user: YOUR_MQTT_USERNAME_HERE
password: YOUR_MQTT_PASSWORD_HERE
Do not specify the server.
Have done this but always the same issue…no devices/entities in HA/mqtt
In /config/zigbee2mqtt/configuration.yaml
Note: (not config/configuration.yaml
)
Make sure you have the following:
"mqtt": {
"base_topic": "zigbee2mqtt",
"user": "YOUR_MQTT_USERNAME_HERE",
"password": "YOUR_MQTT_PASSWORD_HERE",
"server": "mqtt://core-mosquitto:1883"
Save and restart the zigbee2mqtt addon.
Ok ill try tomorrow…must sleel now…4.30 am
Thx till tmrw