If you think you got an issue, I suggest you open one in GitHub. A post here is not actionable. My two cents
Well if there is an issue than @vijaykbhatia should open it because heâs able to provide more details. I was just replying to his posting.
Sorry all, I didnât think there is an issue with the add on likely just my set up. Was unsure on best practice. Will tinker some more to figure it out before opening issue in github. Thanks for all the advice.
Looks like someone beat me to it anyway. Canât beleive I didnât see this
https://github.com/danielwelch/hassio-zigbee2mqtt/issues/237
Now that you mention it, It is true that my lights do sometimes loose sync with the controller. I do remember sometimes switching on the light on the front and Iâm noticing the fronted will not display the current state. I half one IKEA bulb and a led stripe by OSRAM.
Is there anyone who is using zigbee2mqtt with either rasbian buster and/or a raspberrypi 4 successfully? I have trouble getting it to work after moving from my pi3 to my pi4 for no obvious reasons and I am trying to figure out if this is a general problem or maybe just my faulty pi4?
Where are your logs???
Koenkk saved the day, I needed an extensioncord and also needed to deactive the network scans. Now it works properly.
Connected my symfonisk remote from the dev version but any thoughts for an automation for controlling the volume?
I migrated from using Sonoff sockets with Tasmota to zigbee2mqtt with Innr SP120 sockets. However, the sockets do not work reliably. If I switch them on/off with home assistant, in some rare cases, the sockets do not turn on. I have to press on and off multiple times until they eventually turn on or off.
I guess there is some issue with the signal strenght. However, I expect home assistant to reliably show the status of the sockets in case they did not switch on properly. But the button / slider stays on even if the socket did not turn on.
Anybody having similar issues with the status in home assistant together with zigbee2mqtt?
Hi all,
I run HassIO with the Zigbee2MQTT add-on. Currently it is version 1.6.0.
I used to have logging messages. Not sure when they disappeared but my log entries from the add-on page are blank.
I noted that in the configuration there is no line for log-level and Iâm assuming this is because info is the default (???)
Anyway, I tried changing the configuration to include the âlog-levelâ: info configuration under the advanced section, but the text stays red and wonât allow me to save it.
How can I get the logging reinstated as I have some new devices I want to add in to Zigbee2mqtt?
Thanks,
Pete
There is a zigbee2mqtt package that let you change loglevel from the HA frontend.
I did not have that issue yet, but maybe reinstalling the addon is a good idea.
Do you see any logging at all, for example when restarting the addon?
Iâve been experiencing some delay when logs are loaded, did you just try and wait some more to see if it shows up?
Thanks francisp. Iâve seen the configuration for changing the log level and I might end up playing with that. Itâs strange though why my logging has just stopped. Was hoping to work that out.
Thanks h4nc. I upgraded to the latest version, but it did not help. BTW the co-ordinator I bought from you is awesome. Itâs working really well.
No logging at all for the plug in. Unfortunately, I donât know when it stopped logging as it just works and I havenât added any devices for some time, so havenât looked at it.
Just an update. ⌠a full restart of my server resolved the logging problem
v1.7.0 was released today
I installed it this morning. Had no problems
I currently have 1 coordinator (CC2530):and a couple of WEMO globes & Xiaomi which which work fine until I reboot Hassio. When I reboot Hassio I loose all the Zigbee paired devices. This happened when I went from 1.4 to 1.6 & 1.7. Currently running Home Assistant 0.101.3
These are my setting in zigbee2mqtt;
âdata_pathâ: â/share/zigbee2mqttâ,
âdevicesâ: âdevices.yamlâ,
âgroupsâ: âgroups.yamlâ,
âhomeassistantâ: true,
âpermit_joinâ: false,
âmqttâ: {
âbase_topicâ: âzigbee2mqttâ,
âserverâ: âmqtt://core-mosquittoâ,
âuserâ: âmyusernameâ,
âpasswordâ: âmypasswordâ
},
âserialâ: {
âdisable_ledâ: true,
âportâ: â/dev/ttyACM0â
},
âadvancedâ: {
âpan_idâ: 6754,
âchannelâ: 11,
ânetwork_keyâ: [],
âavailability_blacklistâ: []
},
âbanâ: [],
âwhitelistâ: [],
âqueueâ: {},
âsocatâ: {
âenabledâ: false,
âmasterâ: âpty,raw,echo=0,link=/dev/ttyZ2M,mode=777â,
âslaveâ: âtcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5â,
ârestartdelayâ: 1,
âinitialdelayâ: 1,
âoptionsâ: â-d -dâ,
âlogâ: false
}
}
And after the reboot the WEMO lamp is unknown.
zigbee2mqtt:info 2019-11-19T01:18:43: MQTT publish: topic âzigbee2mqtt/bridge/logâ, payload â{âtypeâ:âentity_not_foundâ,âmessageâ:{âfriendly_nameâ:â0x94103ef6bf442bc7â}}â
zigbee2mqtt:error 2019-11-19T01:18:43: Entity â0x94103ef6bf442bc7â is unknown
Hey guys, maybe it is a config error by my side, but i tryed a lot.
i have Trouble with the mqtt server.
I can´t log in with the zigbee2mqtt addon.
log zigbee2mqtt
./run.sh: line 16: [Info] Configuration backup found in /share/zigbee2mqtt/.configuration.yaml.bk. Skipping config backup.: No such file or directory
[Info] Socat is DISABLED and not started
2019-11-22T15:43:37: PM2 log: Launching in no daemon mode
2019-11-22T15:43:37: PM2 log: App [npm:0] starting in -fork mode-
2019-11-22T15:43:37: PM2 log: App [npm:0] online
[email protected] start /zigbee2mqtt-1.7.1
node index.js
zigbee2mqtt:info 2019-11-22T14:43:43: Logging to directory: â/share/zigbee2mqtt/log/2019-11-22.15-43-41â
zigbee2mqtt:info 2019-11-22T14:43:43: Starting zigbee2mqtt version 1.7.1 (commit #unknown)
zigbee2mqtt:info 2019-11-22T14:43:43: Starting zigbee-herdsmanâŚ
zigbee2mqtt:info 2019-11-22T14:43:44: zigbee-herdsman started
zigbee2mqtt:info 2019-11-22T14:43:44: Coordinator firmware version: â{âtypeâ:âzStack12â,âmetaâ:{âtransportrevâ:2,âproductâ:0,âmajorrelâ:2,âminorrelâ:6,âmaintrelâ:3,ârevisionâ:20190608}}â
zigbee2mqtt:info 2019-11-22T14:43:44: Currently 0 devices are joined:
zigbee2mqtt:info 2019-11-22T14:43:44: Zigbee: disabling joining new devices.
zigbee2mqtt:info 2019-11-22T14:43:44: Connecting to MQTT server at mqtt://192.168.178.52:1883
events.js:174
throw er; // Unhandled âerrorâ event
^
Error: Connection refused: Not authorized
at MqttClient._handleConnack (/zigbee2mqtt-1.7.1/node_modules/mqtt/lib/client.js:1076:15)
at MqttClient._handlePacket (/zigbee2mqtt-1.7.1/node_modules/mqtt/lib/client.js:365:12)
at work (/zigbee2mqtt-1.7.1/node_modules/mqtt/lib/client.js:283:12)
at Writable.writable._write (/zigbee2mqtt-1.7.1/node_modules/mqtt/lib/client.js:294:5)
at doWrite (/zigbee2mqtt-1.7.1/node_modules/readable-stream/lib/_stream_writable.js:428:64)
at writeOrBuffer (/zigbee2mqtt-1.7.1/node_modules/readable-stream/lib/_stream_writable.js:417:5)
at Writable.write (/zigbee2mqtt-1.7.1/node_modules/readable-stream/lib/_stream_writable.js:334:11)
at Socket.ondata (_stream_readable.js:709:20)
at Socket.emit (events.js:198:13)
at addChunk (_stream_readable.js:288:12)
Emitted âerrorâ event at:
at MqttClient._handleConnack (/zigbee2mqtt-1.7.1/node_modules/mqtt/lib/client.js:1078:10)
at MqttClient._handlePacket (/zigbee2mqtt-1.7.1/node_modules/mqtt/lib/client.js:365:12)
[⌠lines matching original stack trace âŚ]
at addChunk (_stream_readable.js:288:12)
npm
ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start:node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
log MQTT Mosquito
1574433963: Socket error on client , disconnecting.
1574433972: New connection from 172.30.32.1 on port 1883.
1574433972: Socket error on client , disconnecting.
Mosquitto config:
{
âloginsâ: ,
âanonymousâ: true,
âcustomizeâ: {
âactiveâ: false,
âfolderâ: âmosquittoâ
},
âcertfileâ: âfullchain.pemâ,
âkeyfileâ: âprivkey.pemâ,
ârequire_certificateâ: false
}
addon config:
{
âdata_pathâ: â/share/zigbee2mqttâ,
âdevicesâ: âdevices.yamlâ,
âgroupsâ: âgroups.yamlâ,
âhomeassistantâ: true,
âpermit_joinâ: false,
âmqttâ: {
âbase_topicâ: âzigbee2mqttâ,
âserverâ: âmqtt://192.168.178.52:1883â,
âuserâ: âmyuserâ,
âpasswordâ: âmypwâ
},
âserialâ: {
âportâ: â/dev/ttyACM0â
},
â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â: {},
âsocatâ: {
âenabledâ: false,
âmasterâ: âpty,raw,echo=0,link=/dev/ttyZ2M,mode=777â,
âslaveâ: âtcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5â,
ârestartdelayâ: 1,
âinitialdelayâ: 1,
âoptionsâ: â-d -dâ,
âlogâ: false
}
}
May be someone has a good idea.
thanks a lot.