Fitbit / golden-gate

Framework to connect wearables and other IoT devices to mobile phones, tablets and PCs with an IP-based protocol stack over Bluetooth Low Energy
Other
298 stars 31 forks source link

Golden Gate & Project Connected Home over IP #12

Closed glerchundi closed 4 years ago

glerchundi commented 4 years ago

First of all, I would like to thank you all for making this project publicly available. It's amazing to see these kind of projects being open sourced as, in my humble opinion, could be differentiator elements with other competitors in the same market. Even so, you decided to open source it and I firmly believe it's a much better strategy than keeping it behind your fences!

So just a big shoutout to the people it make this a reality 🙏!

Recently we found ourselves in the same situation as yours, trying to see how would be the best way "democratize" the communication with the IoT park we already have deployed. As the kind of IoT devices are getting more and more complex, the need for a better and customisable/composable RPC system is becoming a must.

Before landing to this project, we reach to the same destination as you did, that is:

We are in the early stage of this evaluation but we've big concerns about where does this project laids on regarding to Project Connected Home over IP (CHIP) as it seems to be the final standarisation the IoT world needed for years.

I'm not personally part of the alliance but it seems the idea is to embrace Thread+Zigbee (solving most requirements for all layers link/network<->application) and make it as open as possible through CHIP. That probably means that they are also going to somehow make the "ZigBee Cluster Library" theirs and adapt it to solve most of the application use cases. Although this doesn't solve all of our use cases I wanted to know what do you think about this, as you probably have a clear long term vision on this.

As an outsider I'm (I didn't found the time to get deeper in the code/docs), it seems like you decided to use standard protocols and create a custom solution around them. In case CHIP (& Thread) finally wons this IoT protocol battle, where does this project stands?

Thanks again and keep up the good work! I will follow it closely 👀!

barbibulle commented 4 years ago

Hi @glerchundi. Thanks for the comments. We're also outside observers of the CHIP alliance at this point, so we don't know what it will end up specifying, or when. But it is safe to say that the direction CHIP is going in is, at least on paper, very much in line with the architecture we've been working with and deploying for a while. So my hope is that as CHIP releases some specs, that we can try an reuse a lot of our framework code to become compatible with it. There are two parts to what we've shared: 1/ a set of fairly generic components, that can run on many platforms, and be used to build IP-oriented network stacks, with a focus towards secure CoAP-based application protocols with an async-io model, and 2/ some specific way to use BLE in order to tunnel IP packets from a phone to an IoT device over BLE/GATT, because GATT is the only BLE protocol offered on mobile phones. If CHIP ends up with something similar, or if iOS/Android eventually opens up something like the IPCP profile, then we would want to evolve our project to take advantage of it, allowing to keep the upper layer implementations intact. So, in a nutshell, I would expect this project and what eventually comes out of CHIP to become compatible over time. But we're not waiting ;-)

glerchundi commented 4 years ago

Thanks for taking the time to answer @barbibulle!

Good to see that we're aligned in this matter. We are going to get into much more detail in the following weeks so expect some follow-up issues ;-)

Just one last question about where to ask about these kind of design doubts, is GitHub issues the best place to get in touch with you & your team or do you have/prefer any other communication tool (Slack, forum, ...)?

barbibulle commented 4 years ago

@glerchundi Yes, GitHub is a good place to start with any questions you have. We may setup a forum and/or slack channel later on, but for now this is the best way.

glerchundi commented 4 years ago

Perfect, thanks again!