Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Smarthome Forum — Smart Home Community for Matter, Zigbee & HomeKit

  1. Home
  2. Show and Tell
  3. Running Zigbee2MQTT in Docker: my compose setup and the USB passthrough fix

Running Zigbee2MQTT in Docker: my compose setup and the USB passthrough fix

Scheduled Pinned Locked Moved Show and Tell
1 Posts 1 Posters 56 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sarah_D
    wrote last edited by
    #1

    I moved Zigbee2MQTT from a Home Assistant add-on to plain Docker. Here's what the install looked like.
    What you need
    • Docker and Docker Compose.
    • An MQTT broker. I run Mosquitto in its own container.
    • A coordinator like a ZBDongle-P or ZBDongle-E.
    Key steps

    1. Pass the dongle into the container using its /dev/serial/by-id/... path.
    2. Mount a data folder so your config and network survive container updates.
    3. Set the adapter in the config: zstack for the P, ember for the E.
    4. Point Z2M at your MQTT broker.
      The fix that took me longest: permissions on the USB device. If Z2M can't open the port, check the device permissions and group.
      Do you need Home Assistant? No. Z2M in Docker works with anything that speaks MQTT.
      Updating is just pull and restart, but back up your data folder first.
      Full Docker setup guide: https://zigbeehubs.com/blog/zigbee2mqtt-docker/
    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups