Skip to content

NZSmartie/IoTNode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IoT Node

(Name suggestions are welcome)

A base project IoT node for [Name of IoT project here]. Targeting ESP32 modules using esp-idf.

Goals

  • Implement a lightweight protocol for accessing node data
    • CoAP - Constrained Application Protocol
    • ...or any other suitable protocol that provides longer battery life
  • Secure by default
    • None of that pesky "default password" crap
    • Take advantage of cerficates that are either geneated by users or provided by a Server/Hub
  • Easy to configure
    • A intuitive app on a mobile device is used to discover, adopt and configure nodes using (hopefully) Out-of-Band methods such as NFC

Requirements

  • esp-idf - for compiling the source files

Setup

  1. If you didn't git clone ... --recursive to pull down submodules, then you'll need to run git submodule init && git submodule update

  2. Download esp-idf, follow it's setup instructions and configure IDF_PATH environment variable to have the path of esp-idf on your file system.

  3. Ensure PATH environment variable includes the xtensa compiler

  4. Copy main/secrets.example to main/secrets and configure your WiFI SSID and password.

  5. Running make in the project's root directory should build everyhting without any problems!

    a. There's a chance you may need be asked to set configuration defaults during make. That's okay! ESP-IDF is still under active development and new configuration options are expected.

TODO

  • Clean up project structure
  • Add unit tests for TDD
  • Create HAL to support TDD
  • Experiment with CoAP or MQTT as protocols
    • CoAP is UDP and provides a familiar API to other RESTful applications (can be standalone)
    • MQTT is a Pub/Sub protocl designed to relay all information through a broker (Server instance)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published