My practical objectives for now is to interconnect some Zigbee aqara devices together, with a wifi tuya horn (110 decibels) to get them work as an alarm system.
Here I am trying to follow jimtng propositions:
Practically speaking, you would be using zigbee2mqtt and present the zigbee devices to openhab (or HA) via mqtt. For tuya in openhab, you have 2 options:
** Use the Tuya binding for openhab, this was only recently adopted as an official part of openHAB, so it will be available in the coming openhab 5. You can use the openhab milestone or snapshot version in the meanwhile.*
** Use tuyamqtt (this is no longer maintained, but I’ve been using it for at least 4 years now)*
Here is the result of my searches and the state of my installation for zigbee2mqtt
zigbee2mqtt threads
They seem difficult to find or quite outdated or I am really bad with google keywords.
openhab version installed on ubuntu
fl@Satellite-Z930:~$ openhab-cli info
Version: 4.3.4 (Build)
Prerequisiste
mosquitto an open source message broker for the MQTT protocol
Installing mosquitto
sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa
sudo apt-get update
From Zigbee2MQTT install on Linux
You will do the following:
Install latest nodejs from snap store
sudo snap install node --classic
npm install -g pnpm
Verify node has been installed
node --version
pnpm --version``
start Zigbee2MQTT
cd /opt/zigbee2mqtt
pnpm start