Need to manually start zigbee2mqtt node

Hi All,

I am using WebThings Gateway on a raspberry pi and am using a CC2531 dongle for zigbee connectivity. I am using the zigbee2mqtt adapter addon, and the issue I am running into is that I need to manually start the node by navigating to /home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt and running “npm start” before I can discover any of my zigbee devices.

Does anybody know why that would be? I know I can just create a separate service in /etc/systemd/system, but it seems a little cumbersome.

Thank you all for your help!

Klaus

It looks like creating a service unit in /etc/systemd/system is indeed the way to go, I found instructions here: