Skip to content

JinghaoZhao/IoT-GPT

Repository files navigation

IoT-GPT

Raspberry Pi IoT Platform powered by GPT-4. Customize your own IoT application with natural language.

IoTGPT.jpg

Installation

  1. Clone this repository and install the required packages:
git clone https://github.com/JinghaoZhao/IoT-GPT.git
pip install -r requirements.txt
  1. Create a .env file to put your API key:
OPENAI_API_KEY=sk-xxxxxx
  1. Run the IoT-GPT:
python run.py
  1. Open your web browser at http://127.0.0.1:7860 to generate your own IoT application config.
  2. Store the config as config.yaml, then run the IoT application on your Raspberry Pi:
python iot_app.py

Security Support

If you need security support, such as setting up CoAP DTLS or generate TLS certs for MQTT, please refer the Security Setup.

Knowledge Base

IoT-GPT supports using a knowledge base to answer IoT-related questions. You can preload documents or provide URLs as background knowledge for your IoT application. More details can be found in Knowledge Base.

About

Build IoT Applications with GPT

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages