Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xiaomi Multimode Gateway - compiled MultiPAN RCP firmware (EZSP Firmware: 7.3.1.0 build 0) #1328

Open
zalatnaicsongor opened this issue Apr 11, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@zalatnaicsongor
Copy link

zalatnaicsongor commented Apr 11, 2024

Hello,
If it seems to be worthwhile to incorporate into this project, see my repo at https://github.com/zalatnaicsongor/MGLGWFW

Instructions:

  • download script.sh to /data/script.sh
  • The baud of the multipan RCP firmware is 115200, the EZSP version is "Firmware: 7.3.1.0 build 0"
  • Install the Silicon Labs Multiprotocol addon in HA or use a standalone cpcd instance
  • execute the script, I tested it on the latest custom version of the firmware.

Home Assistant setup:

  • Currently due to some weird bug in the openmiio_agent code, cpcd does not connect through the serial proxy provided by openmiio_agent, to work around the issue, use ser2net /data/ser2net -d -C '7000:raw:0:/dev/ttyS2:115200 8DATABITS NONE 1STOPBIT'
  • Note: ser2net is downloaded by the firmware update script
  • Configure the Silicon Labs Multiprotocol addon with the following options:
device: /dev/ttyS2
baudrate: "115200"
flow_control: false
autoflash_firmware: false
cpcd_trace: true
otbr_enable: true
otbr_log_level: debug
otbr_firewall: true
network_device: {gatewayIP}:7000
stdout_trace: true
  • ZHA should automatically discover the socket created by the multiprotocol addon, for zigbee2mqtt use tcp://core-silabs-multiprotocol:9999
@AlexxIT AlexxIT added the documentation Improvements or additions to documentation label Apr 12, 2024
@AlexxIT AlexxIT pinned this issue Apr 12, 2024
@AlexxIT AlexxIT self-assigned this Apr 17, 2024
@ztdan4ik
Copy link

ztdan4ik commented Oct 29, 2024

  • Configure the Silicon Labs Multiprotocol addon with the following options:
device: /dev/ttyS2

I can't save add-on config with Device '/dev/ttyS2'

Failed to save add-on configuration, Device '/dev/ttyS2' does not exist in Silicon Labs Multiprotocol (core_silabs_multiprotocol). Got {'device': '/dev/ttyS2', 'baudrate': '115200', 'flow_control': False, 'autoflash_firmware': False, 'cpcd_trace': True, 'otbr_enable': True, 'otbr_log_level': 'debug', 'otbr_firewall': True, 'network_device': '192.168.1.174:7000', 'stdout_trace': True}

And how to rollback changes made by script.sh?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants