Nowadays, some manufacturers offer boards with additional power amplifiers for the radio signal. These boards may cover a rather large area than the regular CC2530. The standard router firmware does not work with boards.
Therefore I’ve prepared particular versions of the router firmware.
Examples:
EBYTE E18-MS1PA1-IPX (best choice: CC2592 amplifier and connector for external antenna) + breadboard for easy soldering and mounting.
EBYTE E18-MS1PA1 (for small devices: CC2592 amplifier, built-in antenna).
Compact power supply: option 1 or option 2
Therefore I’ve prepared particular versions:
https://ptvo.info/download/cc2530_1.2.2a.44539_firmware.zip
The RFX2401 power amplifier has wiring identical to CC2590. Please, use the firmware for cc2530 + cc2590.
Your comments are welcome!
Notes:
- These boards require a power supply with stable high output current (500mA). Double-check cheap Chinese power sources.
- Double-check the distance between pins or pin pads. For example, the EBYTE board has 1.27 mm between pins. It is very hard to solder.
UPDATE 2020-09-28
Added the “Aging” mode. The router forgets child devices that didn’t send any data for four hours. It helps when an end-device selects a new path to a coordinator.
Sam
maybe silly question – but is your firmware the same as on zigbee2mqtt github FW page? also – can i use larger antenna or am i limited somehow? thanks!
Owner
No, I didn’t push updates to zigbee2mqtt GitHub. Yes, you can use any antenna with your chips. It does not depend on a firmware.
Patrick
I trief to flash the firmware router-cc2530-cc2591-std.hex on my CC2530F256+CC2591. But everytime it try to flash it i got the message “CC2530 – ID4046: Error in HEX file verification”.
I tried it fast an slow, with “erase, programm and very” action. I use a SmartRF04EB for flashing the CC2530. Do you have an idea how to fix it?
Owner
Sorry, but I cannot help here. Did you try to flash other chips?
Paul
Hi, I’ve setup a zigbee network mixed by commercial, ready-to-use and DIY devices. Communication to my Home Automations System is done via zigbee2MQTT. Part of my own setup is a regular monitoring of the linkquality and the battery load of every individual zigbee device.
A few of the devices using the router functionality of “ptvo.switch”.What I observed is, that I don’t receive the ‘linkquality’ value of the end device but rather the ‘linkquality’ value of the router. Is this behaviour related to the router firmware or is it done by the zigbee2MQTT protocol?
The following data show a linkquality of ’96’ for the router device and the same value for the device ‘garage’ behind the router.
{ ncid: ‘zigbee2mqtt-pimatic’,
m:
{ repeater_infoboard:
{ success: true,
type: ‘Repeater’,
location: ‘Infoboard’,
elapsedMinutes: 1,
lastSeen: ‘2021-05-20 15:25’,
linkquality: 96,
linkdeviation: 0,
signalcount: 6,
battery: null },
garage:
{ success: true,
type: ‘Status’,
location: ‘Garage’,
elapsedMinutes: 1,
lastSeen: ‘2021-05-20 15:26’,
linkquality: 96,
linkdeviation: 0,
signalcount: 9,
battery: null },
Best regards,
Paul
Owner
Hi. Sorry, but I cannot answer your question precisely. I think a router cannot retransmit a real link quality to a coordinator.
Alexey
I suppose that E18-MS1PA2-IPX it has to be flashed version for cc2530+cc2592 ?
Thanks!
Owner
Please, look here:
https://ptvo.info/zigbee-configurable-firmware-features/e18-ms1pa2-ipx/
eljano
Hello,
You talk about the bredboard E18-TBH-27 CH340 that is pre-welded with the E18-2G4Z27SI. I suppose that it has to be flashed with the particular version for cc2530+cc2592 ?
Thanks for your job !
Owner
Hello. E18-2G4Z27SI should work with the CC2530+CC2591 firmware.
Alexey
On aliexpress
https://aliexpress.ru/item/32967766287.html?spm=a2g0s.9042311.0.0.d1eb33edaGixev&_ga=2.255769792.959697042.1608789683-555545781.1608789683&sku_id=66539859338
write PA CC2592 …
program 2591 or 2592 ?
Owner
Hi Alexey,
I trust docs on the Ebyte’s website. The documentation says, it is CC2530+CC2590 but this chip uses custom control pins. Please, look here:
https://ptvo.info/zigbee-configurable-firmware-features/e18-ms1pa2-ipx/
Alexey
Above you wrote that the E18-2G4Z27SI must be programmed with CC2530 + CC2591 …
I will not understand how to do it correctly for the E18-2G4Z27SI.
Owner
It is CC2530 + CC2591 but it uses non-standard layout. Therefore it will not work with the standard firmware for CC2530 + CC2591. Therefore, I’ve redirected you to another solution.
orvat
Hi,
This is my first project working with zigbee module. I use E18 ms1pa1-ipx and cc debugger,
I flashed one module as router with router-cc2530-cc2591-diag.hex file and I don’t know how to setup communication between two E18 ms1pa1-ipx module.
should I flash both with same .hex file and use 2 cc debugger to start communication?
Or put connect one of them to arduino and the other to cc debugger?
which .hex file is best?
Owner
Hi. The router is a standalone device that can extend your Zigbee network coverage. You need a coordinator like https://www.zigbee2mqtt.io/. The router and other devices will connect to the coordinator.
orvat
Thanks for your reply.
were can I find hex file of both coordination and end_device which is tested before and work fine for E18-ms1pa1-ipx????
sander
I am trying to setup a cc2530-cc2591 as router:
i downloaded cc2530_1.2.2a.44539_firmware.zip
flashed router-cc2530-cc2591-std.hex through my rpi3, according to this:
http://www.handverdrahtet.org/2019/12/setting-up-zigbee2mqtt-gateway.html
then i disconnect the cc2530 and connect it like this:
https://www.zigbee2mqtt.io/how_tos/how_to_create_a_cc2530_router.html
set permit join true, but i get no router
I have 2 other cc2531 router, that work perfect
What am i doing wrong?
Owner
I’ve checked myself and the router works well.
pedro
flash ebyte E18-MS1PA1-IPX and give me this error.
zigbee2mqtt:warn 2020-08-10 14:26:47: Received message from unsupported device with Zigbee model ‘undefined’
zigbee2mqtt:warn 2020-08-10 14:26:47: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html.
zigbee2mqtt:info 2020-08-10 14:27:21: MQTT publish: topic ‘zigbee2mqtt/0x00158d0003020f8e’, payload ‘{“battery”:100,”voltage”:3065,”illuminance”:9,”illuminance_lux”:9,”linkquality”:107,”occupancy”:false}’
zigbee2mqtt:error 2020-08-10 14:27:38: Failed to interview ‘0x00124b001fb27513’, device has not successfully been paired
Owner
Hello Pedro.
What firmware did you upload?
Patrik Mayer
Good work an thanks for the firmware.
I’m currently building an opensource board with the E18-MS1PA1-IPX. I’ve already prototyped a version with the E18-MS1-IPX (https://twitter.com/pregopm/status/1253711883540090880) but changed to the PA1 because of the integrated CC2592, thus using your router firmware.
As I’ve currently have the LED wired simply as a power LED. Could you tell me which pin the status LED hast to be attached so that I can rewire my existing LED? Did not see anything about this in the readme, only what it means when it blinks 😉
Thanks again and cheers,
Patrik
Owner
Hi. The standard router firmware does not support the status LED. I think, you may use my configurable firmware instead. Just enable the status led on the necessary pin.
Patrik Mayer
Oh wow… sorry that I did not see the configurator in the first place. Great!
Could you just push me in the right direction on how to configure a router with it? I’ve tried to read the settings from the router firmware from router-cc2530-cc2592-std.hex but all I got was “Unknown firmare format” (typo in the error message).
I can read the config from the .hex files inside the .zip, though.
Owner
Leave all options by default except the LED pin configuration. It will work as a simple router.
Patrik Mayer
Will test this tomorrow. Thank you so much.
Patrik Mayer
Haha!! Got it working, LED on P0.6 inversed – superb!
zigbee2mqtt:info 2020-06-12 10:44:49: Successfully interviewed ‘0x00124b001fb61d4e’, device has successfully been paired
zigbee2mqtt:info 2020-06-12 10:44:49: Device ‘0x00124b001fb61d4e’ is supported, identified as: Custom devices (DiY) [Multi-channel relay switch](https://ptvo.info/zigbee-switch-configurable-firmware-router-199/) (ptvo.switch)
Is it correct that the router is recognized as Multi-Channel relay switch? Do I have to change anyrthing else?
Thank you and cheers,
Patrik
Owner
It is ok.
Patrik Mayer
Nice, thank you.
Hit me with an email, so I can send one of the routers in your direction. Current pcb has a bodgewire for the status LED, but will order the “final” pcbs later today.
Cheers,
Patrik
Giovanni C
Thansk I will test this firmware! But I’ve a couple of questions:
1) how can I put the router in pairing mode? maybe first time usage it will be automatic but what if I need to re-pair it for any given reason?
2) does your firmware support a status LED? if YES to which GPIO shoudl be connected and how?
thanks!
Owner
1. Please, look at the readme.txt file for options
2. The standard firmware supports the led pin for CC2531 only. My customizable firmware can work as a router and allows configuring the led pin number.
Giovanni C
Thanks, I missed to read readme.txt indeed, my bad!!!
About the firmware you mean that this one does not have LED support, so I need to use your 2.2V Firmware (https://ptvo.info/zigbee-switch-configurable-firmware-v2-210/) disabling all input/output and keeping only the status LED enabled?
Owner
Yes, exactly.
Giovanni C
Thanks, just tried it and it seems zigbee2mqtt cannot find information for the device with your custom firmware 🙁
How the support can be added ?
Owner
Z2M has support for all my firmwares.
Giovanni C
normal version or I should ude the “DEV” one?
I just tried again with both my Home Assistant istance and test zigbee rig I do have and yes the device is recognised as router but it shows no data and does not report anythign (like Linkquality for example)
Owner
You need the ‘dev’ version.
Giovanni C
ah OK that’s the issue then! thanks I will move my test environemnt to the DEV version
Scott
Do these firmwares change the assigned tx power at all or do they leave it as the default 0dB? If it’s the latter, any chance of some variants that set the transmit power higher for those boards that are capable?
Owner
It sets the maximum TX power.
Scott
Great! I’d hoped so given your power supply comment, but I wanted to confirm. Thank you for all your work to make this stuff possible.
Inverted
Good news ptvo switch now recognised in domoticz plug-in 🙂
https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin
Owner
Thank you!
talondnb
I have a GBAN stick I’m using as a router. Can you suggest the best firmware for this? Also using another as the coordinator and similar situation, my home has long so requires this on both ends.
Thanks.
Owner
What chips does this stick have inside?
Yeison
Hello!
I tried to look into your differents posts and attaches files and I was not able to find the firmware called “CC2530ZNP-Pro-Secure_LinkKeyJoin_RXF2401.hex”
I have a GB2530 with a CC2530 + RFX2401, I am using the develop board from GBAN.
Do you know where I can find it?
Thanks!
Owner
You need firmware for a coordinator. I have firmware for routers only.
Thomas
Hello!
How much of an improvement of coverage is possible with these in comparison to a CC2531, a CC2530 and a CC2530+CC2591 with external Antenna?
Also has anyone tried an EBYTE E18-2G4Z27SI which is advertised with 500 mW and up to 2.5 km?
Owner
CC2530+CC2591 with external Antenna works much better. It replaced 3 cc2531 routers in my home. I think, 500mW is a fake, because it has the similar schematic as CC2530+CC2591. If you’ll find a data sheet for the power amplifier, you can see 100 mW output power.
Thomas
Thank you!
How would you rate the CC2591 in comparison to the CC2592?
After a CC2531 with PCB-antenna and a CC2530 with external antenna I now have a WeBee board with CC2530+CC2591, but I’m a little disappointed with the increase in the reported linkquality values from the Aqara sensors. Would it be worth it to order an EBYTE E18-MS1PA1-IPX?
Owner
I have boards with CC2591 and CC2592. I didn’t find any visible differences in my setup. I’m not sure that EBYTE E18-MS1PA1-IPX will help.
Jed anderson
Hello I got some of the E18-MS1PA1-IPX
…I have some questions:
1.- to flash the firmware… I must use : pin1 ground, pin2 vcc, pin3 p.2.2, pin4 p.2.1 and p24 reset? (In some other tutorials they use a second vcc conection but this modules only have pin2 as vcc)
2.- do you know some breakout board for this modules?
Best regards
Jed
Owner
Hello,
1. Yes, correct. I’ve only used these pins (pin1-pin4, pin24).
2. No, I don’t know. I’ve soldered thin wires directly to the module.