I am trying to setup zigbee2mqtt and I’m about to pull what hair I have left out. I purchase a CC2531 zigbee usb stick and reprogrammed it for zigbee2mqtt. I installed the zigbee2mqtt addon for homeassistant and configured it according to the instructions. I have read just about everyone’s posts in what they did to get there devices working and have tried all the suggestions I can find but I am at a loss. when I look at the log for zigbee2mqtt my motion sensor connects just fine and i can see it connected in the logs for mosquoitto also. both also show when the motion is triggered and when it goes back to a clear state. I can see all the stats…Low battery, temperature, connected state…everything. I can even publish to it and get responses back and i can use it in node-red just fine. my issue is that my devices…not even the bridge itself…show up in entities in hass.io. when I go to developer tools and select “states” all of my other devices are there except anything that has to do with zigbee2mqtt. Here is my configuration is anyone can tell me what I’m doing wrong.
zigbee2mqtt configuration
{
"data_path": "/share/zigbee2mqtt",
"devices": "devices.yaml",
"groups": "groups.yaml",
"homeassistant": true,
"permit_join": false,
"mqtt": {
"base_topic": "zigbee2mqtt",
"server": "mqtt://homeassistant:1883",
"user": "I have my username here",
"password": "I have my password here"
},
"serial": {
"port": "/dev/ttyACM1"
},
"advanced": {
"pan_id": 6754,
"channel": 11,
"network_key": [
1,
3,
5,
7,
9,
11,
13,
15,
0,
2,
4,
6,
8,
10,
12,
13
],
"availability_blacklist": []
},
"ban": [],
"whitelist": [],
"queue": {}
}
config/configuration.yaml
mqtt:
discovery: true
broker: homeassitant # This will have to be your mqtt broker
port: 1883
client_id: homeassistant
username: I have my username here
password: I have my password here
birth_message:
topic: 'hass/status'
payload: 'online'
will_message:
topic: 'hass/status'
payload: 'offline'
I have even added the 2 files in the share/mosquitto folder. The accesscontrollist file with user [my user name] and topic readwrite # in it and the acl.conf file with acl_file /share/mosquitto/accesscontrollist in it. I have tried changing the server from mqtt://homeassistant:1883 to mqtt://localhost:1883 to mqtt:// 172.17.0.1:1883 all with no success.
I have hass.io running in a vm on a server with the zigbee usb stick plugged into the server. I am at a complete loss as to what is wrong or how to fix it. I tried to post everything that someone would nee to see what I was doing wrong but I am fairly new at home assistant and yaml so I am still learning. Can someone please help me. If I am missing info that is needed please let me know and I will post it. TIA