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

Inconsistency in readme.md #30

Open
Hydro-guy opened this issue Aug 6, 2021 · 2 comments
Open

Inconsistency in readme.md #30

Hydro-guy opened this issue Aug 6, 2021 · 2 comments

Comments

@Hydro-guy
Copy link

Readme.md states:
For advanced users - An alternative 115200 bps firmware image is available for HUSBZB-1, ncp-uart-sw-6.7.8-115k.ebl. This provides a faster pathway to the adapter but requires that new Home Assistant user manually input the serial path, radio type (EZSP) and bauddate when adding ZHA. Existing Home Assistant users will have to backup and edit the .storage/.core.config_entries file and update the listed baud rate

My .storage/.core.config_entries file does not contain any reference to HUSBZB-1 baud rate. Raspberry pi 3 home assistant os 6.2 ver core-2021.8.1. See below:
"entry_id": "d210882a593c42eeb9d3e5ddc87366cf",
"version": 1,
"domain": "zwave",
"title": "Z-Wave",
"data": {
"network_key": "",
"usb_path": "/dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_C0F003F0-if00-port0"
},
"options": {},
"pref_disable_new_entities": false,
"pref_disable_polling": false,
"source": "user",
"unique_id": null,
"disabled_by": null
},
{
"entry_id": "e8ba308ef3ab48a8ab627b59ec63f35c",
"version": 2,
"domain": "zha",
"title": "/dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_C0F003F0-if01-port0",
"data": {
"device": {
"path": "/dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_C0F003F0-if01-port0"
},
"radio_type": "ezsp"
},
"options": {
"custom_configuration": {
"zha_options": {
"enable_identify_on_join": true
}
}
},

Guessing that the correct syntax will be:"baud_rate": 115200, entered in both zwave "data" field and zha "data" fields. Haven't confirmed that yet.

Wouldnt have known syntax except that one of the integrations (mysensors) uses it with this format.

@GeoMaciolek
Copy link

GeoMaciolek commented Nov 1, 2021

Here's the issue creator's JSON, formatted (with a guessed header)

{
  "THIS_CONTEXT": "IS_JUST_A_GUESS",
  "version": 1,
  "key": "core.device_registry",
  "data": {
    "devices": [
      {
        "THE_ORIGINAL_ENTRY": "IS BELOW HERE"
      },
      {
        "entry_id": "d210882a593c42eeb9d3e5ddc87366cf",
        "version": 1,
        "domain": "zwave",
        "title": "Z-Wave",
        "data": {
          "network_key": "",
          "usb_path": "/dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_C0F003F0-if00-port0"
        },
        "options": {},
        "pref_disable_new_entities": false,
        "pref_disable_polling": false,
        "source": "user",
        "unique_id": null,
        "disabled_by": null
      },
      {
        "entry_id": "e8ba308ef3ab48a8ab627b59ec63f35c",
        "version": 2,
        "domain": "zha",
        "title": "/dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_C0F003F0-if01-port0",
        "data": {
          "device": {
            "path": "/dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_C0F003F0-if01-port0"
          },
          "radio_type": "ezsp"
        },
        "options": {
          "custom_configuration": {
            "zha_options": {
              "enable_identify_on_join": true
            }
          }
        }
      }
    ]
  }
}```

@sreknob
Copy link

sreknob commented Nov 1, 2021

@Hydro-guy - this is how you should reference the alternative baudrate:

            {
                "entry_id": "abcdef0123456789abcdef01236456789",
                "version": 3,
                "domain": "zha",
                "title": "/dev/ttyUSB1",
                "data": {
                    "device": {
                        "baudrate": 115200,
                        "path": "/dev/ttyUSB1"
                    },
                    "radio_type": "ezsp"
                },
                "options": {},
                "pref_disable_new_entities": false,
                "pref_disable_polling": false,
                "source": "import",
                "unique_id": null,
                "disabled_by": null
            },

sreknob added a commit to sreknob/husbzb-firmware that referenced this issue Nov 2, 2021
To address walthowd#30 for those changing to the 115K firmware.
The baud rate for home assistant is not listed there and needs to be added.
This PR just clarifies the format and where it should be added.
Cheers!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants