-
Notifications
You must be signed in to change notification settings - Fork 68
Support for hardware from multiple vendors #22
Comments
Hi Tommi, Proof of concept projects like integration with a home assistant (on Also a good idea having two serial devices that access the HA and Smart A project I like the idea of is a media centre that changes the colour of Maybe trying to integrate with xbmc. Just a random idea that I thought would be cool Kind regards, Danny Watson
|
Lets focus first on dongle hardware. If you have come across good ZigBee dongles which can act as controllers then please post a link here. Best regards, |
XBee Explorer USB with XBee Pro ZB S2B Wire Antenna would be one interesting option at least. Did NXP have ZigBee Pro dongle with serial interface, HA profile support and ability to act as controller? |
Hi Tommi, We do have an internal source for Zigbee pro stack device but it's just We have another device but it has the ZCL on the device. If integration was It is possible that the ZCL could be ignored and could be used just for a I am planning to look at the application note tomorrow night when I get A shim layer could be added to catch it before it goes into the java ZCL Like I said I will look at this tomorrow and get more information. Kind regards, Danny Watson
|
Hi, So I have been looking into developing a ZigBee pro stack JN516x device. I am going to work on doing that preparation tonight so I can then start I'm going to be working on an in house release candidate for our next One step at a time though. I have to remove all ZCL serial protocol out of Let me know if you have any concerns or requests. Kind regards, Danny Watson
|
Quick question. The ZDO classes, are they sending frames in spec format or are they just parameters passed to the TI device for the device to format into the ZDO spec. I'm just trying to work out if i can remove all the ZDO out of the NXP device and be a complete slave to any ZDO and ZCL frames? |
Look at the Z-Stack Home file |
Great stuff, just installed and looked at the document. Right i understand the big picture now. zigbee4java.zigbee-api.src.main.java.org.bubblecloud.zigbee.network will become zigbee4java.zigbee-api.src.main.java.org.bubblecloud.zigbee.vendor.nxp Under vendor will be an interface class of all the override functions On 27 March 2015 at 23:32, presslab-us notifications@github.com wrote:
|
Just stumbled across this repo and this issue, and I figured I mention the CEL MeshConnect ZigBee USB dongle. It uses a Silicon Labs EM357 and a SiLabs UART to USB chip under the hood. I've been using it as a coordinator from a CLI written in C (and provided by SiLabs) but a Java interface would be really cool (not to mention useful for a certain Scala project I have at work). |
[1] https://github.com/digidotcom/XBeeJavaLibrary |
One approach is to wrap the current implementation with generic ZigbeeAPI layer which would allow designing the lower layers freely when implementing support for other vendors. |
Why wrap the API? My thought was to refactor lower down to make a clean interface to the lower layers. It's been a little while since I looked at this due to working on other things, but I started refactoring the network manager. I beleive that this should provide a good break? |
Hi Certainly one ought to try to maximize code reuse. Wrapper could allow some Br,
|
Hi Tommi, I noticed that the original ZB4OSGI project lists four supported dongles: the CC2531 that is listed as prerequisite for this project, plus three alternatives based on the CC2530. This eval kit is the cheapest of those, at $18.99, which is significantly less compared to the $49+$49 for the CC2531 dongle plus debugger. Cheers, |
@cdjackson wow, thanks! I guess I still need the debugger though, right? |
Yes - I guess either way you need to program them :( |
@cdjackson you wouldn't happen to have a similar cheap address for those, would you? :) |
Maybe… I’m far from sure this will do the job, but it looks possible... And looking at this kind of indicates that it’s ok as well since I think it’s the same device in a box - it says RF04EB which is also mentioned in the TI programmer user manual… Maybe a bit more of a search will convince you either way… Let me know as all in this lot costs about £15 or $20 which isn’t too bad... |
Here’s another one that’s likely the same as I posted earlier, but it has more information (pinouts and mentions compatibility with the TI software). My guess is it’s ok, but don’t shoot me if you buy it and it’s not :) http://www.ebay.com/itm/Zigbee-Emulator-Debugger-Programmer-Support-CC1110-CC2430-CC2530-CC2540-CC2531-C-/300964147673 http://www.ebay.com/itm/Zigbee-Emulator-Debugger-Programmer-Support-CC1110-CC2430-CC2530-CC2540-CC2531-C-/300964147673 |
Hi, there is now CommandInterface which is interface for sending and receiving ZNP commands. I am planning to mock it for unit tests. It could be also possible to create implementations for other types of hardware. This would require converting the command packets according to the requirements of the different hardware. The message sequences for different types of hardware should be similar enough to tackle with pure message conversions. After converting the ZNP serial interface commands the rest should be straightforward as ZDO and ZCL commands are defined ZigBee specifications. The initialization phase may need some work on the sequence level. |
You can now implement support for other hardware by implementing ZigBeeDongle interface: https://github.com/tlaukkan/zigbee4java/blob/master/zigbee-api/src/main/java/org/bubblecloud/zigbee/simple/ZigBeeDongle.java This is only supported with experimental SimpleZigBeeApi which is not tightly coupled with the old message serialization implementation: |
Which would be good USB connected ZigBee controller devices to integrate to zigbee4java?
What are software design options to support multiple devices with completely different serial interfaces or another integration technology altogether considering current implementation approach?
The text was updated successfully, but these errors were encountered: