HomeHome AutomationElectrolama in my network - flashing CC2652R

Electrolama in my network – flashing CC2652R

There are lamas everywhere

I had a great time with my CC2531 but as my device list grew, it was time to say goodbye and look for alternatives. Instead of reinventing wheels once again, I went with a recommended choice for Zigbee2MQTT. After all, using NodeRED instead of Home Assistant like the rest of normal people is edgy enough. So what’s my ZigBee coordinator of choice and why? Read on

All the Lama, non of the spit

It’s quite a jump from a $5 coordinator to a device that will milk your wallet five times that much. Doing something was a necessity. In the household dominated by my DIY automation: the Smart Heating alone eats generously into the coordinator’s limit with 12 Sonoff Temperature sensors. Add the Smart Door, random button and switches, and my poor CC2531 is struggling to pair new devices leading to frustrations and wasted time.

This is where the Lama comes in. Electrolama to be precise – or more factual CC2652R ZigBee coordinator I managed to get on Tindie. “zig-a-zig-ah” (is it just me that get Spice Girls’ song reference trying to say it out loud?) is a recommended coordinator by Koenkk – a familiar name behind the ZStack firmware and ZigBee2MQTT development. It brings support to up to 200 devices with ZigBee 3.0 and seems to be a dream come true for my personal setup.

zzh – for short

Lama comes true to its nature – barebone, and needing TLC to work. Flashed with a blink sketch, the coordinator needs a little setup before you get started. Unlike CC2530, Lama/zzh/CC2652R doesn’t need extra connectors to accept the initial firmware (as long as you do it correctly), so if you follow the instructions you won’t need the DIY debugger package. I got the debugger header as well, as you know me, I like to mess around and break things.

Flash

You can put the soldering iron down. To flash Lama zzh coordinator, you will need a PC (preferably) Windows, matching drivers, a Texas Instruments’ flash tool and correct firmware. Get everything installed and organised nearly and then:

  • Hold BLS button down, then plug the coordinator into the USB, let go after 2-3 sec
  • Open TI software and select CC2652R from the dropdown at the right
  • Pick the firmware .hex file for CC2652R
  • Select: Erase Program & Verify options
  • Use Play button to start the process.
 >Page: 43 verified OK.
 >Verification finished successfully.
 >Reset target ...
 >Reset of target successful.

This is the message upon the successful flash. If you are given anything else, make sure you held the BLS button long enough before and after the coordinator had been plugged in.

Changes to configuration.yaml need to be done as follow otherwise your coordinator won’t work:

homeassistant: false
permit_join: true
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://xxxxxxx'
  user: xxx
  password: xxxxxxx
serial:
  port: /dev/ttyUSB0
advanced:
  rtscts: false
devices:

Usage

Once correctly set up, Electrolama works like any other coordinator in ZigBee2MQTT. The only problem I ran into, was the interference. I would advise you to use an extension USB cable (like this) to get your coordinator positioned far away from the Raspberry Pi. Otherwise, you may run into issues with pairing devices. I already covered pairing supported and unsupported devices in my articles:

My first impressions look promising. While the direct limit is still only 50 devices, it gives me some time to re-deploy my sensors again and test it further before I add a couple of CC2530 based routers.

Final Thoughts

It’s too early to give a sterling recommendation, but moving forward, you will see me either using it in all upcoming tutorials or bitching about it. Let’s hope it’s the former. Recent issues with hitting the limits on my ZigBee mesh gave me enough troubles to try something new. Let’s hope I will be recommending Lamas moving forward. Let me know what do you think in this Reddit thread.

PayPal

Nothing says "Thank you" better than keeping my coffee jar topped up!

Patreon

Support me on Patreon and get an early access to tutorial files and videos.

image/svg+xml

Bitcoin (BTC)

Use this QR to keep me caffeinated with BTC: 1FwFqqh71mUTENcRe9q4s9AWFgoc8BA9ZU

Smart Ideas with

Automate your space in with these ecosystems and integrate it with other automation services

client-image
client-image
client-image
client-image
client-image
client-image
client-image
client-image
client-image

Learn NodeRED

NodeRED for beginners: 1. Why do you need a NodeRED server?

0
To server or not to server? That's a very silly question!

Best Automation Projects

NEST your old thermostat under $5

0
Nest-ing up your older thermostat under $5

Nora – Google Assistant in NodeRED

0
Integrate Google Assistant with NodeRED thanks to Nora - NodeRED home automation

Sonoff R3 DIY mode & why it sucks

0
Long awaited Sonoff R3 DIY mode is even worse than I expected.

Things they don’t tell you about IKEA Trådfri

0
There are things you should know about IKEA Tradfri before you make your purchase

IKEA TRADFRI Wireless dimmer in NodeRED

0
Thanks to NodeRED you can use IKEA TRADFRI Wireless Dimmer to interact with everything

Smart Home

Best Arduino boards for home automation

0
Would you like to know what are the best Arduino boards for home automation? I pick 3 best boards from Arduino line up

Tuya SDK for beginners: Intro to Tuya Cloud API

0
Working with Tuya Cloud API. A guide to Cloud automation for beginners, get started with REST!

SwitchBot Sensors – there is more to these than you think!

0
SwitchBot Sensors are the latest devices from this ecosystem. Both: contact and motion sensor bring something new to the table

M5Stack Core Ink: the inkling for makers

0
I shall call it The Inkling - M5Stack Core Ink is a great ESP32 based development board for anyone interested in e-ink displays.

M5Stack UnitV2 is the easiest way learn to AI vision and Edge Computing

0
AI vision and Edge computing in a thumb sized device - M5Stack UnitV2 - it's easier than you think!