Third question...this time serious Sonoff Dongle-E and Zigbee2Mqtt

Ok guys. I appreciate previous help even if my questions was stupid and easy to solve. Right now I stuck and this time it is serious. I bought Sonoff Dongle-E. It works, it is stable and without any problems works with ZHA. Nevertheless i wanted to check how it works with Zigbee2Mqtt. I made every step recommended by Smart Home Junkie. I’m sure that everything is step by step as shown. It doesn’t work.
And now:
My first concern is which in fact login and pass should I use in configuration file? SHJ shows that it should be ne USER created. It doesn’t work for me.
My second concern : I already have MQQT with password created for needs of external connection with Fibaro HC3 . Nevertheless I tried with this password. It dosen’t work.
My third concern: It shows me this communicate which actually in other cases is solved by using in config line “adapter: ezsp” which I actually have.

“Zigbee2MQTT:info 2023-11-26 23:14:12: Starting zigbee-herdsman (0.21.0)
Error: Reset error: Error: {“sequence”:-1} after 10000ms
at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:299:23
at Queue.executeNext (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32)”

Any ideas?

Ohhhh one more concern…should I disable ZHA in the moment of testing Z2M? It didn’t work at all, but i would like to be sure if I have to do at all, because once I had to do a backup restore of ZHA because it showed me restart error. After backup it works without problems but for me as a noob every backup use increases fear :slight_smile:

Yes, you can only use one at any given time.

1 Like

Ok, thx for this part but as I mentioned it doesn’t work. What should I show to community to get a help? I checked many times step by step that tutorial was done correctly. (only concern with login password issue but still it didn’t work regardless of log/pass). Devices work fine. As a noob i did everything possible.

Do you mean the MQTT user and password? That, if you’re using HAOS and the Mosquitto broker add-on, would be the user you created in HA for MQTT.

Well, the problem there is that you don’t have that line - or if you do it’s in the wrong place.

Please post your Z2M config correctly formatted.

Yes, but be aware that doing this will wipe the stick. You’ll need to ensure you’ve used ZHA’s backup option so you can recover if you want to go back.

2 Likes

HI, this is not my config (all lines in config are as described block by block by Smart Home Junkie). This what I pasted above is log report with lines related to “hardsman error” I don’t know even what hardsman is .

That’s the bit that handles the Zigbee stick.

Yes, and we need to see your config to help you fix it. Unless you don’t want this fixed?

1 Like

my log file:
data_path: /config/zigbee2mqtt
socat:
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: “-d -d”
log: false
mqtt:
server: mqtt://core-mosquitto:1883
user: mqtt_user
password: xxxxxxxxxxx
serial:
port: >-
/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230510172711-if00
adapter: ezsp
zigbee_herdsman_debug: false

Please format that so we can read it

1 Like

I don’t know what do you mean by format . Maybe screenshot will help

Take a look at 11 here:
https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/114371/1

There was a link in my post, because pictures of code isn’t half as friendly as code as text. Click the link and have a read :wink:

Code as text assumes that people see the world the way you do.

Sorry i saw “blue link” but mobile even didn’t start to open it and i forgot about this on desktop. To many things i do paralelly :slight_smile: Now i see option for formatted code paste in forum. Simply it is not my world “coding” :slight_smile:

data_path: /config/zigbee2mqtt
socat:
  enabled: false
  master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  options: "-d -d"
  log: false
mqtt:
  server: mqtt://core-mosquitto:1883
  user: mqtt_user
  password: xxxxxxxxxxxxxx
serial:
  port: >-
    /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230510172711-if00
  adapter: ezsp
zigbee_herdsman_debug: false

How are you running Z2M - as an add-on or a manual Docker container, or…?

normal add on, same way as mosquitto broker.

EDIT: I installed HAOS on Generic x86-64 platform to be more precise.

When you stopped using ZHA you removed that integration completely?

1 Like

No, only disabled. For obvious reasons i didn’t want to remove it having in mind that Sonoff Dongle-E is a bit risky with Z2M.

Then it’s possible that HA is still locking the stick for ZHA.

If i did a backup of ZHA and i uninstall it fully, and let’s assume that Z2M still will not work , if i reinstall ZHA backup should work without problem or i have to start from a scratch in ZHA??? Question is if ZHA backup is for a such purposes or it works only if already installed integration somehow stop to work and needs tonuse backup?

ZHA’s separate backup includes the stick, so all details of paired devices. Of course, if you’ve re-paired the devices for Z2M then those will need re-paired again.

Ok then i will do that and if this will not work i return for additional help .