# BPI-G1 smart home gateway project

![](/files/-M2HXMKxkne2bpXxq3AI) we try to use BPI-G1 as a smart home gateway ,let you to control all zigbee slave unit.

now ,all project source code have public ,you can free download.

file name: G1\_OpenSource english.rar

all projcet source code Download link:

<https://drive.google.com/file/d/0B4PAo2nW2KfnWWJNd3pLWFVubFU/view?usp=sharing>

code catalog:

![](/files/-M2HXMKzVl3DB-iqb9fq)

readme:

* MasterController :     STM32F103 sorce code, please uee IAR ARM 7.3 open project&#x20;
* MasterControllerBLE:  CC2540 source code,please use IAR 8051 8.10 open project
* MasterControllerRF:   CC2530 source code,please use IAR 8051 8.10 open project (include Zigbee  slave unit code：light，socket，electronic switch，BRAHMA,WR-RFIR product control code )
* MasterControllerWIFI :  CC3200 source code  please uee IAR ARM 7.3 open project

BPI-G1 run as below:

![](/files/-M2HXML0j3A77cH0EgjL)

all above is base on BPI-G1, it can working fine . make BPI-G1 as a smarthome geteway ,support WIFI，BT，zigbee all function. and work together .

smartHome\_IPHONE IOS ios source code ，please use xCode open it. this app is for IOS , use it ,you can easy to control all zigbee slave unit .

![](/files/-M2HXML2FpjrdMbYqguX) so you can use APP to control something you want with zigbee slave unit.

zigbee module:

![](/files/-M2HXML4Q9rdZ9CpWS4U)

all code demo function as :banana pi BPI G1 use app demo all function

<https://www.youtube.com/watch?v=wQWgF0733FY>

how to debugger BPI-G1 with BPI-debugger tooling :

<https://www.youtube.com/watch?v=mqyq-oLIxCY>

**discuss this project on forum:**

<http://forum.banana-pi.org/t/bpi-g1-as-a-smart-home-gateway-all-code-open-source/1889>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bananapi.gitbook.io/bpi-g1/en/bpi-g1smarthomegatewayproject.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
