walthowd / husbzb-firmware

Nortek GoControl HUSBZB-1 / EM3581 Firmware update image
GNU General Public License v3.0
246 stars 40 forks source link

Problem running the python script. #47

Open ovcrash opened 1 year ago

ovcrash commented 1 year ago

Hi,

The python script, doesn't seem to detect the device.

└──╼ $./ncp.py scan Connecting to.. /dev/ttyUSB1 57600 True False Exception: <class 'serial.serialutil.SerialException'> /dev/ttyUSB1 Connecting to.. /dev/ttyUSB0 57600 True False Exception: <class 'serial.serialutil.SerialException'> /dev/ttyUSB0 {"ports": [{"port": "/dev/ttyUSB1", "vid": "10C4", "pid": "8A2A", "deviceType": "unknown"}, {"port": "/dev/ttyUSB0", "vid": "10C4", "pid": "8A2A", "deviceType": "unknown"}]}

I'm pretty sure i have everything setup correctly. Anyone else got this error?

DustStormPettigrew commented 1 year ago

I'm also getting this error. I'm running in an Ubuntu VM on VirtualBox, wondering if that has something to do with it not working correctly.

DustStormPettigrew commented 1 year ago

I was able to complete my flash without getting the "Found zigbee port" message. I just continued on with using /dev/ttyUSB1 as my target (assuming no other USB devices are installed except mouse and keyboard, this looks like it's pretty consistently the right device). I also had to follow the steps in #33 but after that, it seemed to work.

mimimi0815 commented 1 year ago

you have to install the stuff. pip3 install pyserial and pip3 install xmodem

(maybe with "sudo" prefix after that start script agian

stamandr commented 1 year ago

I am getting the error "Permission denied" running the command below. I have installed pyserial and xmodem. Any suggestions ?

root@NUC:~# ./ncp.py scan bash: ./ncp.py: Permission denied