HamGeek Zigbee Gateway V1.5 - Scargill's Tech Blog

If you;ve been reading the blog (I hope you have) recently you’ll know I’ve reviewed the SMLIGHT SLZB-06 and SMLIGHT SLZB-06p7 Zigbee Coordinators which can also VERY EASILY be used as Zigbee routers.You may also have noticed that I’ve converted the odd Sonoff Zigbee Coordinator to be a router.Why? well, in any installation you should probably only have one coordinator but you can have as many routers as you like.

If you’re not yet heavily into Zigbee, this radio alternative to WiFi for IOT devices useds a single “coordinator” hooked into for example Zigbee2MQTT, to provide communication for a number of Zigbee devices.Ok, I know this probably doesn’t make sense to beginners so I’ll repeat what I and others have said elsewhere: The creators of Zigbee for whatever reasons, decided to call what you and I might think of a a router, a coordinator – and mesh slave routers are called routers – figure that out.Now to complicate matters – most Zigbee mains powered device can also automqatically act as mesh routers.

You can also probably imagine that their range won’t be that great due to not having obvious, well sized antenna – bulbs being a prime example.But they work.And so it was that given my original Sonoff USB coordinator, sitting in a corner on my home automation Raspberry Pi, that I started a learning curve.

The Raspberry Pi has WiFi (which I’ve stopped using) and that and USB3 can all affect each other – so my first stop was to put the Zigbee coordinator on a long, shielded cable – that worked.Next stop, it occurred to me that an Ethernet-based coordinator would be even better as it could be placed centrally in the building, no-where near the RPI or other sources of potential interference.That idea in principle shoul mean fewer routers needed – such was the start of my Zigbee optimisation experience.

Then (sligfht diversion) with my extended-lead USB Sonoff coordinator in Spain, I was visiting our place in the UK and decided I needed remote access to some kit there.I happened to have a Sonoff NSPanel Pro and took that with me to the UK to act as a controller and coordinator for Zigbee.That worked as, at the time I only had a couple of Sonoff temperature sensors to contend with (no Raspberry Pi in the UK).

When I decided to control the odd non-Sonoff Zigbee light, that idea fell apart.THEN a pal of mine gave me one of his SMLIGHT SLZB-06 controllers, I plugged that into Ethernet in the UK as the central coordinator (bu hey, no Raspbrry Pi there) and hit on the bright idea of having it talk to Zigbee2MQTT back here in Spain on the RPi (second instance of Zigbee2MQTT).That was so successful I went further and convinced SMLIGHT to send more adaptors and now my Spanish setup has an SLZB-06 Ethernet (I chose to user POE – the device will handle that and USB-C power) coordinator.

So what was I going to do with these spare coordinators? flash them as routers, obviously – well, do-able but not THAT easy on the the Sonoffs, but it turns out that the SMLIGHT Ethernet products can be turned into routers and back at the press of a button.I’m just about to permanently wire the Spanish SLZB-06 to Ethernet in the middle of our home, meanwhile I started wondering about other Ethernet-based Zigbee coordinators (when I say Ethernet I mean hardwired, not WiFi).First stop, my Athom Ethernet Zigbee gateway – erm, no, making that into a router does not look easy but Athom have assured me that a new model is on it’s way to me that CAN easily be converted back and forth.

More on that when it arrives.And that brings us FINALLY to the HamGeek Zigbee Gateway/Coordinator, photographed above, which is sitting in front of me.I plugged the HamGeek into USB-C power at which point, blue and red lights on the top came on.

While I was writing this, the red light went off.I plugged Ethernet from my router into the HamGeek and nothing changed.Out with advanced IP Scanner on my PC: A device called HMG-01 (giveaway) appeared on port 192.168.1.229 on my network.

Good start.In my PC Chrome browser – I simply went to that IP address..I like it already: Erm, firmware update – choose file… No OTA update? Alreeady seems you can use USB mode or Ethernet mode and I assume router reconnect means you can put it in router rather than coordinator mode… and from the above you can clearly use it in WiFi mode if you wish.

The unit is also obviously ESP32-based and can handle Zigbee2MQTT or ZHA.You can also change which port these use.That last top-panel LED will light up when Zigbee2MQTT is talking to the unit and Vice-versa.

Ethernet can be DHCP IP or you can fix the IP in the menu.Same with WiFi.You can also enable or disable MQTT with or without security.

The unit also optionally turns Wireguard VPN on.Under system tools, you can check logs and see that HamGeek uses the CC2652P7 Zigbee chip.That’s it for now.

I’ll give it a hammering once my toothache subsides I was going to say “and why MQTT” – but there’s a mnual online… https://github.com/corogoo/zigbee-gateway.

Read More
Related Posts