episensor / epi-zigbee

Snap (Snapcraft.yaml) recipe for Zigbee2MQTT that allows you to use your Zigbee devices without the vendors bridge or gateway.
MIT License
0 stars 0 forks source link

epi-zigbee (snap)

Snap (Snapcraft.yaml) recipe for Zigbee2MQTT that allows you to use your Zigbee devices without the vendors bridge or gateway.

This page will only include specific information about this unofficial snap-version of Zigbee2MQTT. For general Zigbee2MQTT information, see zigbee2mqtt.io

Get it from the Snap Store

Looking for feedback

This snap recipe is in early stages of development, your feedback would be appreciated. Just open an issue on GitHub.

Installation

Install from The Snap Store

Make sure you have snapd installed on your system. See Installing snapd for a list of distributions with and without snap pre-installed, including installation instructions for those that have not.

$ snap install epi-zigbee

Setup

It's required to manually connect the serial port to the snap and enable the experimental hotplug support in snapd (at least 2.39). For additional information see Hotplug support | Snapcraft documentation.

$ snap set system experimental.hotplug=true
$ systemctl restart snapd.service
$ snap interface serial-port
# Connect the serial-port plug in the epi-zigbee to whatever the hotplugged slot name is
# Example here for the Sonoff Zigbee Dongle
$ snap connect epi-zigbee:serial-port snapd:sonoffzigbee30usbdo

Configuration

The configuration.yaml is located in /var/snap/epi-zigbee/current and initially populated with a default configuration suitable for the snap.

Use snap restart epi-zigbee after editing the yaml file.