If you have followed our many Home Assistant tutorials, you have necessarily asked yourself the question of integrating a ZigBee gateway. Various solutions exist, including the famous Zigate, but also the equally effective deCONZ plugin. It is on the latter that we are going to focus today using the lowercase RaspBee II from Phoscon, a ZigBee home automation gateway dedicated to the Raspberry Pi. For around 40 €, it will allow us to control most of our ZigBee home automation devices from Home Assistant OS, but you can also use it with Jeedom, Domoticz ...
RaspBee II: when compactness rhymes with efficiency
It is in a tiny box that the RaspBee II. A more than minimalist packaging since, in addition to a small drawing, only the name of the product appears on the front face. Nothing else is provided, not even a manual or technical specifications, it's rare! In short, no unnecessary paperwork, just two QR Codes to scan to find out more.
Normal, you will tell us, it is a simple chip to insert into a Raspberry Pi. A small circuit, more precisely, which measures 30 18 mm × mm × mm 10 and includes in particular a ARM® Cortex®- M0 + microcontroller - ATSAMR21B18, a flash memory of 256 kb, one tiny battery RTC 337 / SR416SW (note, there are versions without, hence the + RTC on the packaging), and obviously a GPIO port intended to position this ZigBee gateway directly on the circuit of an RPi.
As its name suggests, it is with a Raspberry that we are going to use it. She will come to connect to GPIO ports of our nano computer. Be careful with the connections, you risk damaging it if you do not connect it to the first 12 pins (or last depending on how you look at your Rpi). In order not to be mistaken, take the photo below as an example or go to the manufacturer installation page.
This being done, we are going to launch our Raspberry Pi 3 B + and start Home Assistant OS. In the meantime, you can take a look at the technical characteristics of the beast ...
- Brand: Phoscon
- product: RaspBee II
- Type: ZigBee gateway
- Microcontroller: ATSAMR21B18 ARM® Cortex®-M0+
- Nominal voltage : DC 5.0 V
- Max transmission power : 10 mW
- Signal range: 200 m in line of sight
- Radio frequency : 2,4 GHz
- Radio standard: IEEE 820.15.4 / Zigbee
- Flash memory : I 256
- Drums : PSTN 337 / SR416SW
- Operating systems : Raspbian, Docker
- Dimensions: 30 18 mm × mm × mm 10
RaspBee II: install a ZigBee gateway on Home Assistant
We will use theofficial CONZ add-on on Home Assistant, but be aware that this gateway is also quite functional with Zigbee2MQTT which we will talk about very soon (in the meantime, you can refer to the official documentation).
Before starting to install deCONZ, you need to add a line in the config.txt file located at the root of your Home Assistant installation.
Locate the line " #uncomment to enable primary UART console ” then just paste these two lines at the end of the file:
enable_uart = 1 dtoverlay = pi3-miniuart-bt
Installation of deCONZ
- Launch Home Assistant OS
- See you in Supervisor ,
- In the add-on store, or "Add-ons store" in French, search for CONZ,
- Click on "Install" and wait a few moments.
It's very fast, but we haven't finished….
- Then go to "Configuration",
- Set the location to / dev / ttyACM0,
- Restart deCONZ.
Hold on, we're almost there:
- Come back to the Info page,
- Click on 'Open web user interface' ou "Open Web UI" in the language of Shakespeare,
- Click on the "Phoscon" button,
- Miracle, your ZigBee RaspBee II gateway is là!
All you have to do is:
- Choose the name of your gateway,
- Define a mot de passe,
- Click on Next.
Add equipment to Home Assistant with deCONZ
After you log in, Phoscon offers you to create a group and y connect lights. As far as we are concerned, we preferred to go for a Xiaomi light detector.
- Select or create a group,
- Choose the manufacturer from your device (here, it's Others),
- Wait a few seconds to minutes.
- confirm, It's ready !
Unlock your deCONZ gateway to register with Home Assistant.
- Access the advanced settings of the deCONZ system in Gateway> Advanced
- Click on "Authenticate the application"
- Go to integrations, choose deCONZ,
- Click on "Unlock the gateway"
- Go to Integrations> deCONZ
- It's over !
Well, that's all well and good, but which brands are compatible with Conbee II and Raspbee II? here is a non-exhaustive list, Phoscon providing you with the (almost) complete detail on its website.
- Aqara (and even the Aqara | Oppo switches)
- Dresden Electronik (one would have suspected it),
- IKEA TRÅDFRI
- LEDVANCE SMART+
- Müller Licht held out
- OSRAM SMART+
- Philips Hue
- Phoscon (surprising, right?)
- Xiaomi Mi
We have indeed sometimes met some difficulties to install devices. It is true that our lab is rich in disruptors of all kinds, but it is also the case for many connected homes. That said, by changing the ZigBee channel, we have not especially encountered one afterwards. In the end, the system turned out to be rather stable et rather sober in resources. However, if you have a lot of equipment and a large living space, we can only recommend that you turn to a Conbee II, or other even more powerful gateways.