Catalog
36 controls · 95 sensors · 74 quantities
Every widget and sensor RisalDash is built from — controls and sensor presets across air quality, power & energy, motion & IMU, light & UV, gas safety, weather, water and health. One line of dash.sensor() drops the right gauges, charts and metrics with the correct units and ranges.
live render — every widget, in the device UI
Controls · input tools
dash.toggle("Pump", &pump, [](bool v){...}) dash.button("Restart", [](){ ESP.restart(); }) dash.slider("Brightness", &pwm, 0, 255) dash.number("Setpoint", &target, 0, 100) dash.text("SSID", &ssid) dash.textarea("Notes", ¬es) dash.password("WiFi pass", &pass) dash.select("Mode", &mode, {"Auto","Manual","Off"}) dash.radio("Fan", &lvl, {"Low","Mid","High"}) dash.color("LED color", &rgb) dash.time("Alarm", &alarmTime) dash.pad("Drive", [](int dir){...}) dash.joystick("Move", [](int x,int y){...}) dash.stepper("Count", &n, 1) dash.ota("Firmware") dash.terminal("Shell", handleCmd) dash.radioBrowser("Stations", &listText, [](const String& v){ playFirst(v); }) Display · display widgets
dash.metric("CPU", &cpu, "%") dash.gauge("Voltage", &v, 0, 14, "V") dash.chart("Temp", &t, "°C").history(60) dash.badge("State", &st) dash.label("Status", &statusStr) dash.led("Link", &linkUp) dash.face("Mood", &mood) dash.cube("Orientation", &pitch, &roll, &yaw) dash.heatmap("Thermal", 32, 24) dash.progress("Upload", &pct) dash.table("System").row("uptime",&up) dash.log("Events", 5).print("...") dash.image("Cam", "/snapshot.jpg") dash.ai("Light turns off at 23:00") dash.map("Track", &lat, &lon) Layout · sections, tabs, width
dash.group("Power") dash.tab("Sensors") dash.separator("Settings") widget.span(2) quantity / unit map to Home Assistant device_class
Environment · 21
Air · 13
Gas · 7
Light · 7
Motion · 15
Power · 9
Agro · 9
Misc · 13
Bio · 1
Each template pairs a sensor preset with its matching fake, so it runs with no hardware. Copy one from examples/04_Templates and flash.
CO₂ · VOC · PM2.5 · NOx
dash.sensor("sen55", …); Voltage · current · power · kWh
dash.sensor("pzem004t", …); Wind · gust · rain · UV
dash.sensor("weather", …); Pitch · roll · yaw · compass
dash.sensor("bno055", …); Load-cell weight
dash.sensor("hx711", …); TDS · EC · pH · turbidity
dash.sensor("tds", …); Flow rate · total litres
dash.sensor("flow", …); SoC · pack V · current · temp
dash.sensor("bms", …); Heart rate · SpO₂
dash.sensor("max30102", …); Smoke / LPG / CO alarm
dash.sensor("mq2", …); Every preset ships with a matching fake — you can build the whole dashboard with no hardware. See the fake-sensor library →