Replies: 29 comments 57 replies
-
The |
Beta Was this translation helpful? Give feedback.
-
Same situation here. I have tried to compile a NCP-UART updated version with Simplicity Studio but it seems not available. Only the multi protocol Openthread / Zigbee is available, but I get some errors during compilation. Indeed a Silabs expert would help. |
Beta Was this translation helpful? Give feedback.
-
serial: |
Beta Was this translation helpful? Give feedback.
-
@jnilo1 to configure a tcp port in the Silicon Labs Multiprotocol module in Home Assistant you need to use the advanced button. Anyway I did it previosly and it seems that the RCP-UART-802154 is too recent (v5) fot the add-on (v4).. Have a look and let me know. |
Beta Was this translation helpful? Give feedback.
-
Also if you discover what is halting the boot of the Realtek ... |
Beta Was this translation helpful? Give feedback.
-
RCP on my side is working but it seems the version is not compatible with ythe HA add on, here is the log: |
Beta Was this translation helpful? Give feedback.
-
still trying to understand why while ncp stop loading |
Beta Was this translation helpful? Give feedback.
-
@jnilo1 see above for the main settings of the rcp |
Beta Was this translation helpful? Give feedback.
-
Not sure if I'm meant to ask general question, but would you guys still advise getting this silvercrest bridge and hacking it to use it for Zigbee2Mqtt? It's criminally cheap atm (€15 for the bridge, a dimmer switch and 3 bulbs!). Or should I just get a standalone coordinator at this stage? |
Beta Was this translation helpful? Give feedback.
-
I am stuck in my tests. While trying to understand the cause of the halt in the boot sequence I probably corrupted my bootloader since it now stops without completing its process:
Any idea/suggestion on how to recover my boot prompt ? |
Beta Was this translation helpful? Give feedback.
-
I finally recovered my boot prompt by desoldering the memory flash and restoring the original firmware with a CH341A programmer and flashrom with the ch341a_spi adapter. I was fortunate enough to have a full backup of the gateway 5 mtd original partitions :-) |
Beta Was this translation helpful? Give feedback.
-
ncp-uart-hw_3.zip |
Beta Was this translation helpful? Give feedback.
-
Not very comfortable in a production environment (power failure and the like...) :-) |
Beta Was this translation helpful? Give feedback.
-
ncp-uart-hw_3.zip |
Beta Was this translation helpful? Give feedback.
-
Have you solved the realtek start up , or have you issued the J 80C00000 manually to allow the zigbee module to communicate? |
Beta Was this translation helpful? Give feedback.
-
@jnilo1 Good Job, so it just a question of timing. I will try to flash as well and be back. RCP of course it is a more simpler firmware as uses only the radio part of the EFR, but requires a zigbee daemon somewhere else. I am wondering if at the end it is a good solution for portability as the zigbee stack will not be in the chip... |
Beta Was this translation helpful? Give feedback.
-
Just compiled and ran the NCP sw. It is my old project, I will see if it is possible to update. Starting Zigbee2MQTT without watchdog. |
Beta Was this translation helpful? Give feedback.
-
TYZS4_ncp-uart-hw_4.zip |
Beta Was this translation helpful? Give feedback.
-
universal-silabs-flasher --device socket://192.168.1.XXX:8888 --ezsp-baudrate 115200 flash --firmware "D:YOURPATH\TYZS4_ncp-uart-hw_4.gbl" this is the basic command for the flasher, please remeber to disconnect zigbee2mqtt or ZHA before from port 8888 |
Beta Was this translation helpful? Give feedback.
-
TYZS4_ncp-uart-hw_5.zip |
Beta Was this translation helpful? Give feedback.
-
Have you used the zip or the gbl inside?Il 24 feb 2025 18:23, thedudefxp ***@***.***> ha scritto:
Anyone can help me ?
I succefully flash TYZS4_ncp-uart-hw_4.zip and everything was ok
but i tried today TYZS4_ncp-uart-hw_5.zip, the flash succeffuly but now i got error and gateway not working anymore
C:\Windows\System32>bellows -d socket://10.29.10.199:8888 info
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Program Files\Python313\Scripts\bellows.exe_main.py", line 7, in
sys.exit(main())
~~~~^^
File "C:\Program Files\Python313\Lib\site-packages\click\core.py", line 1161, in call
return self.main(*args, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python313\Lib\site-packages\click\core.py", line 1082, in main
rv = self.invoke(ctx)
File "C:\Program Files\Python313\Lib\site-packages\click\core.py", line 1697, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "C:\Program Files\Python313\Lib\site-packages\click\core.py", line 1443, in invoke
return ctx.invoke(self.callback, **ctx.params)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python313\Lib\site-packages\click\core.py", line 788, in invoke
return __callback(*args, **kwargs)
File "C:\Program Files\Python313\Lib\site-packages\click\decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
File "C:\Program Files\Python313\Lib\site-packages\bellows\cli\util.py", line 39, in inner
loop.run_until_complete(f(*args, **kwargs))
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python313\Lib\asyncio\base_events.py", line 725, in run_until_complete
return future.result()
~~~~~~~~~~~~~^^
File "C:\Program Files\Python313\Lib\site-packages\bellows\cli\ncp.py", line 69, in info
s = await util.setup(ctx.obj["device"], ctx.obj["baudrate"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python313\Lib\site-packages\bellows\cli\util.py", line 100, in setup
await app.connect()
File "C:\Program Files\Python313\Lib\site-packages\bellows\zigbee\application.py", line 153, in connect
await self.ezsp.connect(use_thread=self.config[CONF_USE_THREAD])
File "C:\Program Files\Python313\Lib\site-packages\bellows\ezsp_init.py", line 134, in connect
self._gw = await bellows.uart.connect(self._config, self, use_thread=use_thread)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python313\Lib\site-packages\bellows\uart.py", line 146, in connect
protocol, connection_done = await thread.run_coroutine_threadsafe(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_connect(config, api)
^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Program Files\Python313\Lib\site-packages\bellows\uart.py", line 125, in _connect
transport, _ = await zigpy.serial.create_serial_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<6 lines>...
)
^
File "C:\Program Files\Python313\Lib\site-packages\zigpy\serial.py", line 117, in create_serial_connection
transport, protocol = await loop.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "C:\Program Files\Python313\Lib\asyncio\base_events.py", line 1166, in create_connection
raise exceptions[0]
File "C:\Program Files\Python313\Lib\asyncio\base_events.py", line 1141, in create_connection
sock = await self._connect_sock(
^^^^^^^^^^^^^^^^^^^^^^^^^
exceptions, addrinfo, laddr_infos)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python313\Lib\asyncio\base_events.py", line 1044, in _connect_sock
await self.sock_connect(sock, address)
File "C:\Program Files\Python313\Lib\asyncio\proactor_events.py", line 726, in sock_connect
return await self._proactor.connect(sock, address)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python313\Lib\asyncio\windows_events.py", line 804, in _poll
value = callback(transferred, key, ov)
File "C:\Program Files\Python313\Lib\asyncio\windows_events.py", line 600, in finish_connect
ov.getresult()
~~~~~~~~~~~~^^
ConnectionRefusedError: [WinError 1225] Le système distant a refusé la connexion réseau
C:\Windows\System32>
Thanks you
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Timeouts are very frequents when you try to update the firmware through the network which is the case when someone tries to do it through bellows or universal-silabs-flasher. That is why I recommand Paul Bank's original approach through the firmware_upgrade.sh ash script where the update process is carried out from the gateway after having transferred the relevant files (sx, gbl files) to the gateway through ssh. It will automatically kill the serialgateway process before updating the firmware which is absolutely necessary. Also you should avoid to have other connections active (ssh, serial through ttyS0) and finally I strongly recommend to introduce sleep statement in Paul's script to make it 100% reliable (my own version of the script is attached). |
Beta Was this translation helpful? Give feedback.
-
@psolyca : the original (EmberZnet 6.5) firmware is attached. It is the full image including bootloader so you will need a JLINK debugger connected to the gateway through SWD and silabs commander. The command to restore the firmware is: |
Beta Was this translation helpful? Give feedback.
-
Does anyone experience the same issues? I see this on a release and dev branch.
|
Beta Was this translation helpful? Give feedback.
-
In case someone need the bootloader alone, please find the attached zip. As a general info, the 7.4.x gbl files do not include the bootloader as it is by default initially included the zigbee module. as the adapter is no more EZSP you may have to re-pair some devices (sorry..), once you are on ember it will be more easy in the future. |
Beta Was this translation helpful? Give feedback.
-
do not consider: info: zh:controller: Coordinator address changed, updating to '0x60a423fffe0887a0' , as I had another coordinator before |
Beta Was this translation helpful? Give feedback.
-
i've edited a "classic" firmware_upgrade.sh by adding "sleep 1" as it's done in jnilo1's script (there's a mistake(?) that tries to kill ser2mon but there's only serialgateway) files needed: so i managed to upgrade to 7.4.5 with these steps:
i didn't managed to upgrade to 7.4.5 directly because i got ACKs like:
don't forget to have fun with pairing all devices again :) |
Beta Was this translation helpful? Give feedback.
-
firmware_upgrade.zip |
Beta Was this translation helpful? Give feedback.
-
Hello,
I've been a (very,) very happy zigbee2mqtt user for serveral years now.
Using 2 Silvercrest/Lidl hacked network gateways located in 2 parts of the house covered by wired network but no zigbee continuity between them (several floors are in between) - hence the 2 networked gateways.
This configuration works flawlessly : my 2 Zigbee networks are solid, my (various brand) devices work really nicely and Home Assistant works as a perfect coordinator between all of them.
All in all a very good experience (-:
Theses days, I've read notifications and news which lead me to understand that I wouldn't be able to use these gateways at one point because :
Sorry for asking such a basic question but I'm having a hard time consolidating all the info I've come across on the web.
Am I right in assuming that my adapters are doomed if I go on using/updating zigbee2mqtt ?
If so, that actually sounds weird because... everything actually works perfect and I can't actually see what could be improved (in my own particular situation).
Thanks in advance for any precision on this !
Beta Was this translation helpful? Give feedback.
All reactions