1. Introduction
SwitchLink lets you connect, monitor, and control your own customized IoT devices directly from your smartphone. It works as a flexible mobile dashboard that communicates with your cloud database in real time, giving you full control over your devices and your data.
Unlike many IoT platforms that depend on proprietary servers, SwitchLink is built around a user-owned architecture. Your devices connect directly to your Firebase Realtime Database, while the mobile app reads and writes data to the same database. This allows you to build scalable IoT systems without relying on centralized vendor specific platforms.
The app automatically detects compatible devices and generates a control interface based on the structure of your database. This means you can add new devices without redesigning the mobile interface.
This manual explains a simple, flexible IoT setup that works with almost any microcontroller (ESP32, ESP8266, Raspberry Pi, STM32, etc.) as long as it can connect to the Internet and read/write data.
With this framework:
- Your IoT device connects directly to your Firebase Realtime Database.
- The SwitchLink mobile app becomes your ready-made dashboard to monitor sensors and control appliances.
- You retain full ownership of your device and your data (no central server, no proprietary cloud in the middle).
1.1 How it works (in one idea)
- Your device reads sensors and updates Firebase in real time.
- The SwitchLink app reads the same Firebase paths and sends control commands back.
- The app automatically adapts to your device based on a simple naming/structure convention defined by SwitchLink.
1.2 What you will learn in this manual
- Set up the hardware (ESP32 is used as an example)
- Create and configure a Firebase Realtime Database
- Enable authentication and define the correct database structure for devices
- Update and upload the demo firmware
- Connect the SwitchLink app to your Firebase project
- Monitor sensor values and control outputs in real time
1.3 After completing this guide, you will have
- A device that securely connects to the cloud
- Control buttons in the app that work instantly
- Sensor values that update live
- A mobile app that detects your device automatically (no hardcoding UI per device)
1.4 Where can you use it?
You can use it in a wide range of applications, including home automation, smart farming, research prototypes, industrial control systems, and scalable IoT deployments.
1.5 Hardware note
You can use any compatible IoT chip for your project. The only requirement is that your firmware follows the database naming and structure conventions when reading and writing data in Firebase. In this manual, we use the ESP32 because it is affordable, widely used, and well supported.










