● ONLINE
Demo hardware unit featuring DHT22, Soil Moisture, LDR, Dual Relays & PWM Dimmer.
Token:
vn_demo_7f8a9b2c3d4e5f6a7b8c
Water Pump
IDLE / POWER OFF
Actuator Channel
vinsia/.../read/V4
Exhaust Fan
ACTIVE / POWER ON
Actuator Channel
vinsia/.../read/V5
Temperature
27.8
°C
Range: 0 - 80
REALTIME
Air Humidity
68.2
%
Range: 0 - 100
REALTIME
Grow Light Dimmer
PWM Duty / Level:
80%
Actuator Slider
vinsia/.../read/V6
Solar Illuminance
1420
Lux
Stream Type: Telemetry
SYNCED
Realtime Temperature Trend
V0
LIVE FEED
Datastream: V0
Current: 27.8 °C
Device Serial / Event Stream
[09:10:28]
[BOOT] VinsiaIoT Core v1.0.0 initialized on ESP32-WROOM-32
[09:11:28]
[WiFi] Connected to SSID: VINSIA_OFFICE_5G | IP: 192.168.1.105
[09:11:28]
[MQTT] Broker connected: iot.vinsia.web.id:1883 | QoS: 0 | Session: Clean
[09:15:28]
[SENSORS] DHT22 calibrated. LDR ambient reading: 1420 Lux
Virtual ESP32 Microcontroller Simulator Zero Hardware Needed
Test real-time two-way MQTT & REST API communication directly from your browser.
Board LED (V4):
1. Simulate Sensor Telemetry (Hardware -> Cloud)
Temperature Sensor (V0)
28.4 °C
Humidity Sensor (V1)
68.0 %
2. ESP32 Serial Monitor (115200 Baud)
[SYSTEM] ESP32 Virtual Core initialized. MAC: 30:AE:A4:01:22:8C
[WiFi] Connected to VINSIA Virtual Gateway.
[MQTT] Connected to iot.vinsia.web.id:1883
[VINSIA] Subscribed to vinsia/vn_demo_7f8a9b2c3d4e5f6a7b8c/read/#
VINSIA IoT Platform — Complete Developer Documentation
Lightweight, self-hosted IoT architecture inspired by Blynk, powered by Mosquitto C-Broker & Laravel REST Engine.
Blynk vs VINSIA IoT Comparison Cheat Sheet
| Feature | Blynk Legacy / Blynk IoT | VINSIA IoT (Self-Hosted) |
|---|---|---|
| Virtual Pins | V0 to V255 | V0 to V31 (Zero latency) |
| Hardware Protocol | Custom Proprietary TCP / SSL | Standard MQTT (Port 1883) + REST API |
| HTTP Update Endpoint | /external/api/update?token=... | /api/v1/update?token=...&pin=...&value=... |
| Broker Memory Footprint | ~800MB (Java Server) | < 15MB (Mosquitto C-Native in Docker) |
| Web Realtime Tech | Proprietary Websocket / Polling | MQTT over WebSocket (wss://iot.vinsia.web.id/mqtt) |
Interactive REST API Endpoints
GET / POST
/api/v1/update
— Update Virtual Pin (Blynk-Style URL)
curl -s "https://iot.vinsia.web.id/api/v1/update?token=vn_demo_7f8a9b2c3d4e5f6a7b8c&pin=V0&value=29.5"
GET
/api/v1/get
— Read Pin Value
curl -s "https://iot.vinsia.web.id/api/v1/get?token=vn_demo_7f8a9b2c3d4e5f6a7b8c&pin=V0"
MQTT
vinsia/{token}/write/{pin}
— Realtime Telemetry Broadcast
mosquitto_pub -h iot.vinsia.web.id -p 1883 -t "vinsia/vn_demo_7f8a9b2c3d4e5f6a7b8c/write/V0" -m "32.4"
Live API Response
200 OK
Official Hardware Client Libraries
Ready-to-flash C++ library for Arduino IDE / PlatformIO, and Python module for Raspberry Pi.
VinsiaIoT (Arduino / ESP32)
C++ Header
Supports ESP32, ESP8266, and Arduino WiFi. Includes automatic reconnect, Virtual Pin handlers, and MQTT/HTTP dual mode.
vinsia_iot.py (Python / MicroPython)
Python 3
Zero-dependency lightweight Python client for Raspberry Pi, MicroPython boards, Orange Pi, and PC automation scripts.
Arduino IDE ESP32 Sketch Example
ESP32_DHT22_Relay.ino
#include <WiFi.h>
#include <VinsiaIoT.h>
const char* ssid = "YOUR_WIFI_SSID";
const char* pass = "YOUR_WIFI_PASSWORD";
const char* token = "vn_demo_7f8a9b2c3d4e5f6a7b8c";
// Actuator Callback: Triggered whenever user toggles V4 in Web Dashboard
void handleRelay(const char* val) {
int state = atoi(val);
digitalWrite(23, state ? HIGH : LOW);
Vinsia.log(state ? "Relay 1 ON" : "Relay 1 OFF");
}
void setup() {
Serial.begin(115200);
pinMode(23, OUTPUT);
Vinsia.connectWiFi(ssid, pass);
Vinsia.onWrite("V4", handleRelay); // Bind Virtual Pin V4
Vinsia.begin(token);
}
void loop() {
Vinsia.run(); // Keepalive & MQTT processor
static unsigned long lastSend = 0;
if (millis() - lastSend > 3000) {
lastSend = millis();
float temp = 28.5; // read from sensor
Vinsia.virtualWrite("V0", temp); // Publish to V0
}
}