I’m using a Lidl gateway modified in the style of Paul Banks.
I flashed the EZSP firmware to version 3.7.8.0 so that it is compatible with Zigbee2MQTT.
I installed Zigbee2MQTT outside Gladys to be able to connect to the gateway over a wired network.
I can forward the information up to Mosquitto:
╰─○ mosquitto_sub -v -t ‹ zigbee2mqtt/Prise_telecommandee ›
zigbee2mqtt/Prise_telecommandee {« child_lock »:« UNLOCK »,« current »:0,« energy »:0,« indicator_mode »:« off/on »,« linkquality »:176,« power »:0,« power_outage_memory »:« off »,« state »:« ON »,« update »:{« installed_version »:192,« latest_version »:192,« state »:« idle »},« update_available »:false,« voltage »:233}
How should I retrieve the information into Gladys?
On the software side:
OS: Debian testing
Zigbee2MQTT: Docker version 1.29.2
Mosquitto: version 2.0.11 (already used outside Docker)
Gladys: freshly installed Docker version
Hello and welcome to the Gladys community.
It’s not easily possible right now
By installing Node-RED and converting the messages, it should be doable but I can’t help you with that (I don’t have the skills). @VonOx had the same need
For now Gladys launches its own MQTT and Zigbee2MQTT containers.
You cannot, for now, link Gladys to a Zigbee2MQTT container that you may have already created.
I don’t think that’s possible! I mean, launching an MQTT container and a zigbee2mqtt container is possible directly in Docker, but it’s the connection with Gladys that won’t work.
Otherwise, see @cicoub13’s suggestion of an MQTT container created by Gladys and Node-RED to connect to your zigbee2mqtt
I launched a ZigBee2MQTT integration on the first offered USB, it told me it was OK (very strange though).
I modified /var/lib/gladysassistant/zigbee2mqtt/z2m/configuration.yaml to change the serial: settings to add the IP address of my gateway then I « restart » gladys-z2m-zigbee2mqtt.
And I see my ZigBee devices in « Zigbee Network Discovery ».
Good evening.
Sorry to follow up on a thread that may have been resolved, but the title is related to my issue: I’d like to have Gladys communicate with the gateway to which I’ve just connected my Zigbee devices. I was advised to add a gateway because the devices completely discharge in just one night …
Would any kind soul help me with this, or point me to a document explaining how to proceed?
Thank you in advance!
All the sensors were successfully connected to the USB dongle; everything is perfectly recognized by Gladys and Zigbee2MQTT. However, the sensors’ (new) batteries are drained after only one night… I was therefore advised to use a gateway, which I did, and indeed there’s no battery level decrease when the sensors are connected to it. However, they are no longer currently connected to Gladys.
So now, I just want to know how to connect Gladys to the gateway so that it can communicate with the Zigbee devices. I imagine I could communicate once the gateway is connected via the USB dongle? Or in another way, with Gladys and the gateway being on the same network?
I don’t see how connecting it to a gateway would make your sensor consume less. In my opinion, at this price you shouldn’t expect better.
You can do a test: since your sensor has a screen, just leave it turned on without connecting it to either the dongle or the gateway and see how long it stays on.
Also, the gateway and your sensors are Tuya-compatible so you have to use that integration.
But I won’t be able to help you with that, because on my side I use a dongle and not a gateway.
@_Will_71 Regarding power consumption, proof is in the pudding: all the Zigbee gadgets that had drained the battery overnight when connected to Gladys directly via a USB dongle haven’t even moved by 1% today when they’re connected to the gateway… And I don’t think price reflects quality, because the internal components remain the same, even the PCB, the whole gadget just being sold without white-label branding for 10 euros more… Everyone is free to make their choices
Regarding the use of Tuya, I refuse to use it. If I switched to Gladys, it’s precisely to avoid having all of my activity on the Internet. Integrating Tuya goes against that by relying on systems « in the Cloud ». I want to stay at home, using Zigbee.
Thanks nonetheless for your attention and for your answers And I’ll try to go further with Zigbee2MQTT via a gateway …
There, I doubt that without tinkering you’ll be able to connect your gateway to Gladys. But if you manage, make a tutorial — it might help other people.
Currently in Gladys, either you use an integration (Tuya, Xiaomi,…) or you go with a dongle and a zigbee2mqtt container.
So what I’m interested in is: how do you connect to your gateway?