Luligu / matterbridge-zigbee2mqtt

Matterbridge zigbee2mqtt plugin
https://github.com/Luligu/matterbridge-zigbee2mqtt/blob/main/README.md
Apache License 2.0
78 stars 9 forks source link

Plug-in not connecting; saying ENOTFOUND #58

Closed squito1 closed 3 months ago

squito1 commented 3 months ago

I have successfully deployed Matterbridge in a ProxMox LXC and Matterbridge is located in a browser. I have installed the Zigbee2MQTT also in an LXC successfully but when I try to get the two to connect I get the error message below. I have used the IP for the Zigbee2MQTT for the host along with my username and password. Please assist if you can. Thank you.

Plugins - Enabling plugin: matterbridge-zigbee2mqtt info - [12:50:34.481] [PluginManager]: Enabled plugin matterbridge-zigbee2mqtt info - [12:50:34.484] [PluginManager]: Loading plugin matterbridge-zigbee2mqtt type DynamicPlatform info - [12:50:34.628] [Matterbridge zigbee2mqtt plugin]: Initializing platform: matterbridge-zigbee2mqtt v info - [12:50:34.629] [Matterbridge zigbee2mqtt plugin]: Loaded zigbee2mqtt parameters from /root/.matterbridge/matterbridge-zigbee2mqtt.config.json: info - [12:50:34.631] [Matterbridge zigbee2mqtt plugin]: Connecting to MQTT broker: mqtt://http://192.168.1.25:1883 error - [12:50:34.772] [Zigbee2MQTT]: Error connecting to mqtt://http://192.168.1.25:1883: getaddrinfo ENOTFOUND http error - [12:50:34.773] [Matterbridge zigbee2mqtt plugin]: MQTT broker at http://192.168.1.25:1883 error: Error: getaddrinfo ENOTFOUND http notice - [12:50:34.778] [PluginManager]: Loaded plugin matterbridge-zigbee2mqtt type DynamicPlatform (entrypoint /usr/lib/node_modules/matterbridge-zigbee2mqtt/dist/index.js) info - [12:50:34.779] [PluginManager]: Starting plugin matterbridge-zigbee2mqtt type DynamicPlatform info - [12:50:34.780] [Matterbridge zigbee2mqtt plugin]: Starting zigbee2mqtt dynamic platform v2.1.10: The plugin has been enabled error - [12:50:49.781] [Matterbridge zigbee2mqtt plugin]: The plugin did not receive zigbee2mqtt bridge state. Check if zigbee2mqtt is running and connected to the MQTT broker. error - [12:50:49.782] [Matterbridge zigbee2mqtt plugin]: The plugin did not receive zigbee2mqtt bridge info. Check if zigbee2mqtt is running and connected to the MQTT broker. error - [12:50:49.782] [Matterbridge zigbee2mqtt plugin]: The plugin did not receive zigbee2mqtt bridge devices/groups. Check if zigbee2mqtt is running and connected to the MQTT broker. error - [12:50:49.782] [PluginManager]: Failed to start plugin matterbridge-zigbee2mqtt: Error: The plugin did not receive zigbee2mqtt bridge state or info or devices/groups. Check if zigbee2mqtt is running and connected to the MQTT broker. error - [12:50:49.783] [PluginManager]: Plugin matterbridge-zigbee2mqtt not started

Luligu commented 3 months ago

Hi, I see this:

Connecting to MQTT broker: mqtt://http://192.168.1.25:1883

Put only the ip in the config.

For LXC, I hope they updated the script... let us know please.