-
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
[REQUEST] em3587 Bitronvideo BV 2010/10 #38
Comments
Maybe best if you also submit pull request for review? -> https://github.com/walthowd/husbzb-firmware/blob/master/ncp.py |
FYI, "Bitron Video AV2010/10 USB-stick" is also sold as "SMaBiT AV2010/10 USB-stick", more discussion here -> zigpy/bellows#348 Note that this requires defining a baud rate of 115200 instead of 57600 which I believe is the baud rate on the default firmware. See #34 |
@gromgsxr , could you please explain, what you've changed in npc.py to get the scan successfully working with the BV 2010/10? EZSP Configuration Frame: getValue ID: 0xAA...ser.write(b'\x7D\x31\x43\x21\x02\x45\x85\xB2\x7E') EZSP Response Frame: getValue ID: 0xAA...versioninfo = trans(ser.read(16)[1:])[5:] These are the exceptions I get: and the type is empty. |
i edited the sonoff section to match the correct pid and vid for the binnatron stick after that it was able to read the firmware version on the stick and also flash the file ITEAD/SONOFF EFR32 USB StickSONOFF_VID = '10C4' i had to edit the baud rate to 115200 after to confirm the firmware had updated as the version i used changes the speed |
Wow, that's a fast answere, thanks :-) |
there is a link in my first post ta a thread where i found the file. its NCP_USW_EM3587-LR_678-115k2.ebl |
ok, it would have been a surprise to me.... the same error. |
stock was 5.8.0.0 and upgraded to 6.7.8-373 |
vendor id 4292 is 10C4 in hex and 35636 is 8B34 in hex so same pid and vid. i attempted to make a pull request adding support for the stick |
ouh yes, than there must be different environmental source of the problem, like version of python, xmodem and/or other imports. |
The only thing that may cause problems if you update is the new baud rate as stock it 57600 and the firmware I used was 115200 I don't use openhab so can't comment there. In homeassistant I had to edit the baud to match the new file though |
That would be possible in Openhab too I guess. But I guess I'll give the other one a try, the one I mentioned |
the version you mentioned flashes to my stick ok i didn't test if it actually works though, and i was able to flash it back the the one i had mentioned |
the version I was trying was successfully flashed to the stick, even the version came back now with the scan option. |
ok, my problem seems to be experienced already by others. |
I'm using some Zigbee dongle "BitronVideo AV2010/10", which reports "(Silicon Labs) BV 2010/10" as USB device name and its ID is 10c4:8b34. The stick is sold by German Telekom as accessory for their QIVICON 1 Home Base. Besides, the stick is sold under BitronVideos new company name "SmaBit". I was finally able to update the stock firmware 5.8.0-134 using update-firmware.sh successfully to 6.7.10. Thanks a lot for your great work! The dongle so far works smoothly with both bellows and OpenHab. It's indeed just required to define a baud rate of 115200 instead of 57600. In OpenHab, I've got similar issues like jogethome described above but that seems to be an issue in OpenHab indeed. It's not that the coordinator drops to 57600. It's the "Thing" configuration in OpenHab which changes when scanning for devices. As a result, OpenHab cannot communicate with the stick anymore. No hardware issue! |
openHAB 3.2.0 stable should have the baud rate bug fix. This bug existed in snapshots a week or something before it was fixed just before 3.2 RC1. |
Don't use openhab I submitted a pull requests to add support for this device on this repo |
@gromgsxr , I used the latest snapshot of OpenHab 3.3 and I missed your note to not use that. I did use, it said upgrade started and then nothing happened for fewminutes. After that I restarted OH, changed to 115200 and it started working. So it works. I can also confirm that it solved issue with IKEA Tradfri E14 407lm bulb in compare to stock FW of BitronVideo. I tried only the IKEA bulb, the rest of house still running with other stock BV USB stick. |
after two weeks I can say the used FW works with my other ZigBee devices OSRAM+ sockets, bulbs, Tuya PIR, IKEA bulbs, Mueller Licht bulbs. |
FYI, more users confirm EmberZNet 6.7.10 firmware working good on EM3587 here -> grobasoz/zigbee-firmware#15 |
Hi @Elix-g, I'm about to upgrade the BV2010/10 using the docker image. I've changed ID settings in the "SONOFF" section as mentioned above and am able to retrieve the current firmware version:
Then, I've downloaded the firmware image into the container:
There it is:
Unfortunately, when I'm going to start the upload, the XMODEM throughs errors:
Luckily, after re-connecting the BV2010/10, the
What am I doing wrong?
Thanks in advance, |
have you edited the ncp.py? shows what needs editing to make it work with the adaptor i had |
Thanks for the quick reply! Well, I just changed the first three lines what you've mentioned in your post.
So it's getting recognized as "SONOFF" stick. Are the other lines required as well?
But for some reason, the XMODEM ack's are bad. One question though: I needed to pass / C. |
To be honest, I don't remember all the details anymore...did it ages ago. In fact, I didn't use any docker image to upgrade the stick. I also remember, that the hardware isn't capable of 115k baudrate officially but the latest compatible firmware runs at that speed by default. So what you should try is to flash the new firmware with 56k (default of the old hardware and firmware) and switch to 115k after flashing the latest firmware. |
You will need to map the correct usb port to the container. And from memory mine was an old few was 576 originally and updated to 115k after the flash |
Thanks mates for all the suggestions. But the port device mapping into the container seems not to be the issue, as I'm able to talk to the dongle using ncp.py scan. Meanwhile I've changed the ncp.py to the version @gromgsxr pointed out. Using it, the dongle is recognized as BV2010/10 by ncp.py scan but flashing still fails:
|
Why don't you just run it from python why do you need to use docker? |
Already considered that, but for now, I'm not able to provide a working Python2.7 installation with pySerial and so on... |
Unfortunately, the dongle seems to be broken now. LED remains unlit and the ncp.py is no longer able to scan the version. |
are you able to add support for em3587 Bitronvideo BV 2010/10. grobasoz/zigbee-firmware#15 links to the correct firmware and i was able to get it flashed by your code if i edited the pid vid and serial speed to match my stick
originally when i ran the scan i got "vid": "10C4", "pid": "8B34", "deviceType": "unknown"}]} stock speed is 56700 made the edit to ncp.py and i got the current version reported and was able to flash the correct firmware
The text was updated successfully, but these errors were encountered: