Hi,
I have got a Athom Zigbee Gateway with preflashed Tasmota that I have not used before.
Here is it’s description:
Support Zigbee2MQTT ZHA
ESP32-WROOM-32E
CC2652 P2
200+ Zigbee sub devices
10/100M Ethernet
CH340C Built in easy to flash ESP32 and communicates with Zigbee
Support TCP and Serial Port
Pre flashed Zigbee 3.0 Coordinator firmware
I also have some Aquara sensors that were working with their Xiaomi Gateway 3 Gateway while on OH3.
After upgrading to OH4, I wanted to check if I can manage to move these sensors to this Athom Zigbee Gateway.
After spending a couple of hours I couldn’t manage to do the job and still can’t wrap my head around how it should be set up. My setup:
- The gateway is connected via the Ethernet cable.
- I can see the Tasmota web interface.
- I can telnet to 8888 port.
What I know so far. Please correct me if something is not right.
-
Zigbee2Mqtt from openhabian cannot be installed as it’s working with the local USB devices only.
-
I think I can install Zigbee2Mqtt manually, but not sure if I need to connect OpenHab and Zigbee2MQTT later together.
-
Other points:
-
Do I need to setup a serial over tcp like it says here? I think I can manage to use OpenHabian for the installation in this case.
-
If so - how can I find the correct path to the adaptor (here)?
-
On the Athom website someone wrote this comment:
Configuration settings are as follows : data_path: /config/zigbee2mqtt socat: enabled: true master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777 slave: tcp-listen:8888,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5 options: “-d -d” log: true mqtt: {} serial: port: tcp://xxx.xxx.xxx.xxx:8888 (the IP address you give the gateway) Hope this helps someone.
But I am not sure where this configuration should be used.
- OpenHab Zigbee binding and Zigbee2MQTT things are completely different things and must not be mixed together.
- I tried to use the OpenHab Zigbee connection by writing socket://[ip]:8888 to the serial port, but I am sure this is not correct
- Hopefully, after somehow installing Zigbee2MQTT the autodiscovery magic will kick it and I will manage to pair and find the devices in the UI. I havend’t thought about this yet.
I appreciate any thoughts on the topic.
- Platform information:
- Hardware: PI 4
- OS: Linux 11 (bullseye) by openhabian
- Java Runtime Environment: 17
- openHAB version: 4.0.3