ZHA USB baud rate change

I setup an Xbee explorer with an old Xbee S2 successfully with ZHA, a philips remote and a couple of ikea shortcut buttons.

After a bit of reading around a lot of people seem to be running at 57600 baud instead of the default 9600 which I remember seeing during the initial setup.

I know I can change this with the XTU utility but how do I change this in HA after the fact?

EDIT: am using the VM version of HAOS supervised.

Generally speaking, if the UI does not allow to alter a parameter, you have 2 options:

  • Remove an re-add the integration
  • Hack into the .storage directory to change values manually, then restart HA.

In this instance, you’ll find the adapter config in /config/.storage/core.config_entries

e.g.

            {
                "entry_id": "0d3770e577ae8ae46ae6297698070b01",
                "version": 2,
                "domain": "zha",
                "title": "BV 2010/10, s/n: 0137F5AD - Silicon Labs",
                "data": {
                    "radio_type": "ezsp",
                    "device": {
                        "path": "/dev/ttyUSB0",
                        "baudrate": 57600
                    }
                },
1 Like

Cheers,

I swear I looked there last night and found the entries, but my eyes missed the baud rate line.

I can see it there today, thanks for pointing it out.