Where should the variable ZIGBEE2MQTT_CONFIG be defined?

Zigbee2mqtt.io configuration details mentions the following:
(https://www.zigbee2mqtt.io/information/configuration.html#different-location)

"## Different location #

To specify a different location for the configuration.yaml (by default inside the data directory), set the ZIGBEE2MQTT_CONFIG ."

I believe this variable can be defined in “zigbee2mqtt.service” systemctl file.

Anyone has different idea or experience?

Thanks!

Give it a try or ask on zigbee2mqtt github page.

1 Like

For sure. Going to do it right now.