I’m trying to convert from ZHA to Z2M and I’m getting stuck. I got a 2nd dongle for Z2M, a Sonoff MG24. I have MQTT up and running for some other stuff already. I added the repo for Z2M and installed no prob there. Went through onboarded picked the sonoff, put in my mqtt broker info, submit and Z2M quits. I check out the logs and only error I have is
error: z2m: MQTT failed to connect, exiting... (ENOENT: no such file or directory, open 'fullchain.pem')
I’m using a user name and password but not SSL for MQTT.
I’ve already tried:
- deleting Z2M
- deleting ZHA
- deleting MQTT addon and integration
- reinstalling with default configs, no mqtt user/pw
No luck getting rid of this error. I’ve also been playing around with trying to skip onboarding using environment variables, force_onboarding: false or Z2M_ONBOARD_NO_SERVER: true. Both options still gave me onboarding. The Z2M_ONBOARD_NO_SERVER: true gets deleted from the config after I start Z2M. So maybe I’m doing it wrong or it’s not supported on HA?