AqaraHub is an open-source Zigbee hub for Xiaomi Aqara devices. It aims to be a replacement to the Xiaomi Gateway that does not require communication to outside servers, and uses a saner communication option (e.g. MQTT).
But i'm not able to put it in discover mode in order to join devices, when I send (i have a mosquitto server up & running @localhost):
mosquitto_pub -h localhost -t AqaraHub/write/permitjoin -m 60
I never get the "AqaraHub/report/permitjoin topic, with the same number" response that you mention.
Any hint/advice/clue will be highly appreciated.Thanks in advance!
I've just tried the following command and is working fine now.
mosquitto_pub -h test.mosquitto.org -t AqaraHub/control/permitjoin -m 60
Please correct the Readme, it's "control" not "write"
Dear, I've followed your instructions & was able to build & run OK the binary in an Ubuntu 20.04 64 bits (please see log @the end) I've also flashed the dongle exactly with the same version you used: https://github.com/Koenkk/Z-Stack-firmware/raw/b2a0be7c4c84c2acf6ecd292f7afd0f488b3b9b1/coordinator/CC2531/bin/CC2531ZNP-Prod_20190223.zip
But i'm not able to put it in discover mode in order to join devices, when I send (i have a mosquitto server up & running @localhost): mosquitto_pub -h localhost -t AqaraHub/write/permitjoin -m 60 I never get the "AqaraHub/report/permitjoin topic, with the same number" response that you mention. Any hint/advice/clue will be highly appreciated.Thanks in advance!
LOG
~/wk/AqaraHub/build$ sudo ./AqaraHub --port /dev/ttyACM0 --mqtt mqtt://localhost/ --topic AqaraHub