Skip to content
/ iot-hub Public

Framework for developing and managing custom IoT devices

Notifications You must be signed in to change notification settings

onusai/iot-hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IoT Hub

IoT Hub is an end-to-end solution for creating and managing custom IoT devices over WiFi & Internet

IoTHub WebUI

Features

  • IoT Library
    • Supported hardware: ESP8266, ESP32, Arduino
    • Provides a simple communication interface to the management server / web portal
    • Dynamic device registration
      • No hardcoding Wi-Fi credentials, server address, or device token
  • Web Server
    • Manages registration and communication with IoT devices
    • Managment UI / Web Portal
      • Monitor and control connected IoT devices
      • Define custom UI controls for your IoT project using UI template system

Server Requirements

  • NodeJS installed on your system
  • MQTT server
  • MySQL server
    • If you dont have one, install MariaDB

Installation (ubuntu)

Although this application should work on any platform that supports NodeJS, it was only tested on Ubuntu and WSL

  1. Go to the Releases page and download the latest version of the iothub_vX.X.zip
  2. Extract the file and open the iothub folder
  3. Edit server configuration
    • Open the .env file in a text editor
    • Fill in the empty variables and optionally edit the other variables to your needs
  4. Install server dependencies
cd iothub/server
npm install
  1. Ensure that your MySQL server is running
  2. Ensure that your MQTT server is running
    • If you are using Mosquitto, open another terminal session and run the start_mqtt_broker.sh script
    • If you wish to change the port, you must change it in both mqtt_config.txt and .env files

Start server

To start the server, execute the run.sh script

Architecture

Architecture