-
Notifications
You must be signed in to change notification settings - Fork 41
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
Scan Not reporting Version #27
Comments
I'm seeing the same issue on a little Celeron-powered micro-PC (running Manjaro). If I only pass in
|
I can not saying anything about
From HA log but bellows is showing the same and little bit more. Edit: |
Here's what I get when running the python script directly on the OS instead of through docker:
I haven't tried flashing the firmware yet. A month or two ago I was able to flash successfully, but I'm trying to move HA to a different platform, and on the new machine I'm seeing errors in the ZHA logs when running HA: |
If running on one 115k firmware changing the comport speed is around line 32-37
Trying putting
|
Not really sure what's up with this, but when I set the baud to 115200 the I'm no longer seeing the SerialException, but I think it was caused because my user was not originally in the |
Ah, digging more deeply into my logs I'm seeing a kernel error message |
Since ncp.py was updated to support Python 2 and 3, it doesn't work right with the current version of Python 2.7 on Raspbian: hass@homeassistant:~/husbzb-firmware $ sudo ./ncp.py scan
Connecting to.. /dev/ttyUSB1 57600 True False
Exception: <type 'exceptions.TypeError'> /dev/ttyUSB1
Connecting to.. /dev/ttyUSB0 57600 True False
^CException: <type 'exceptions.KeyboardInterrupt'> /dev/ttyUSB0
Exception: <type 'exceptions.IndexError'> /dev/ttyAMA0
{"ports": [{"deviceType": "unknown", "pid": "8A2A", "port": "/dev/ttyUSB1", "vid": "10C4"}, {"deviceType": "unknown", "pid": "8A2A", "port": "/dev/ttyUSB0", "vid": "10C4"}, {"deviceType": "unknown", "port": "/dev/ttyAMA0"}]} If I revert to the commit before ncp.py was updated, or if I use Python 3 it works properly. |
The update ultimately worked (I think)
But when I ran the scan tool (./ncp.py scan)
It hung at USB0 (needed a cntl c)
And then it reported this:
{"ports": [{, "deviceType": "unknown", "pid": "8A2A", "port": "/dev/ttyUSB1", "vid": "10C4"}.....[snip]
The update reported that it was successful, and the HUSBZB is working perfectly back on the HA Pi4, but even after the firmware update it refused to report its version.
To do the version update I used a second Rasperry Pi4. Running a "full version" of Raspberrian and Python3
The text was updated successfully, but these errors were encountered: