IoT Hub is an end-to-end solution for creating and managing custom IoT devices over WiFi & Internet
- 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
- NodeJS installed on your system
- MQTT server
- If you don't have one, install Mosquitto
- MySQL server
- If you dont have one, install MariaDB
Although this application should work on any platform that supports NodeJS, it was only tested on Ubuntu and WSL
- Go to the Releases page and download the latest version of the
iothub_vX.X.zip
- Extract the file and open the
iothub
folder - 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
- Open the
- Install server dependencies
cd iothub/server
npm install
- Ensure that your MySQL server is running
- 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
- If you are using Mosquitto, open another terminal session and run the
To start the server, execute the run.sh
script
- If you are running the server locally, open http://localhost:8080 in your browser