Skip to content

Commit

Permalink
feat: add gotcha for zigbee2mqtt (#164)
Browse files Browse the repository at this point in the history
* feat: add gotcha for zigbee2mqtt

* fix: wrong ref
  • Loading branch information
webbertakken committed Apr 1, 2024
1 parent cd735c9 commit ab8f55a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions notes/55-home-assistant/services/zigbee-2-mqtt/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import Image from '@theme/IdealImage'

# Zigbee2MQTT

## Gotchas

### Safety against errors

Even though Zigbee2MQTT might run fine for months, it could suddenly start crashing periodically.

One example is the Zigbee USB device
[suddenly stop working](https://github.com/Koenkk/zigbee2mqtt/issues/17809) after having worked
flawlessly for a while.

:::note

When Zigbee2MQTT docker crashes, it will not restart automatically.

:::

To solve this, I've added `--restart unless-stopped` to Extra Parameters in the docker (advanced)
edit view

<Image
img={require('./assets/add-restart-unless-stopped-parameter.png')}
alt="Adding restart unless-stopped extra parameter in the advanced view of the docker container"
/>

0 comments on commit ab8f55a

Please sign in to comment.