Visual node-based smart home automation editor with a 24/7 backend engine - your automations run even when you close the browser!
Back in 2003, I got into home automation. Every app I found was menu-driven - you'd click through screens to set up rules, but you couldn't see the logic flow. As a visual effects artist running Nuke (a node-based compositing tool), I kept thinking: "Why can't I just connect device nodes, trigger nodes, and logic nodes together?"
Nothing like that existed, and I wasn't a programmer. Fast forward 20 years - LLMs changed everything. I could finally design the app I'd always wanted while AI handled the code.
T2AutoTron is that app. A visual-first automation editor where you see your automations flow in real-time.
| T2AutoTron | Node-RED | |
|---|---|---|
| Philosophy | See data flow live on nodes | Debug via text sidebar |
| Learning curve | Lower - no msg.payload | Steeper |
| Color tools | Built-in HSV, timelines, Oklab | Manual setup |
| Home Automation | Purpose-built for HA | General-purpose |
| Execution | 24/7 backend engine; browser only needed for editing | 24/7 Node.js runtime |
I'm sure there are others who'd appreciate a visual approach. But this is beta software - I need testers! Click the 🐛 Report Bug button in the app to help make it better.
- 🎨 Visual Node Editor - Drag-and-drop automation building with Rete.js
- ⚡ 24/7 Backend Engine - Automations keep running on the server when the browser is closed
- 🔄 Editor/Engine Handoff - The open editor controls devices; the backend takes over automatically about 30 seconds after the browser goes away
- 💾 Auto-Save & Sync-on-Close - Saves every 2 minutes and syncs when you switch tabs
- ⭐ Favorites Panel - Drag nodes to favorites for quick access
- 🎯 Group Navigation - Quick-jump buttons to zoom to Backdrop groups
- 🌦️ Forecast Panel - Live weather and 5-day forecast in °F with °C alongside
- 📅 Upcoming Events - See what your timers will do next
- 📷 Camera Panel - Live RTSP camera grid (1×1 to 4×4) via FFmpeg, with pop-out windows
- 🗣️ Chatterbox TTS - Optional local GPU text-to-speech for announcements, run on your desktop through the Local Agent
- 🧭 Automation Trace - Every device command with its source node, what was requested, and what Home Assistant confirmed. Filter by Completed, Waiting, or Observed, and click a source to jump to its node.
- 🗺️ Trace Map - Zoom to everything feeding a node, including dashed links for wireless Sender/Receiver channels
- 🩺 Graph Health - Flags common wiring problems (missing wireless senders, several nodes writing to one device, incompatible sockets, missing HA devices) and outlines the affected nodes
- 📜 Event Log - One entry per real device change, labeled as app-driven or external (physical switch, HA automation, and so on)
- 🏠 Home Assistant – Lights, switches, locks, climate, media players, sensors, and more
- 💡 Philips Hue – Direct bridge API, plus Hue and WiZ effect nodes (candle, fire, prism, sparkle, etc.) through Home Assistant
- 🔌 TP-Link Kasa – Direct local API (no cloud, no HA required)
- 🏠 Shelly – Via Home Assistant integration
- 🎨 All-in-One Color Control - One node for:
- Kelvin slider (2000K–10000K) for real-world light temperatures
- Color balance - Temperature (warm/cool) and Tint (green/magenta) sliders that round-trip exactly with the RGB sliders
- RGB, saturation, and brightness sliders kept in sync, with a live color preview and hex readout
- 🌈 Timeline Color - Time-based color gradients with custom spline curves
- 🔬 Oklab Interpolation - Perceptually uniform gradients (no muddy browns!)
- ✨ Hue/WiZ Effect Nodes - Trigger built-in light effects with multi-light selection
| Category | Nodes |
|---|---|
| Home Assistant | HA Generic Device, HA Device Automation, HA Device Field, HA Device State Display, HA Device State Output, HA Lock Control, HA Thermostat, Hue Effect, WiZ Effect |
| Timer/Event | Sunrise/Sunset Trigger, Time of Day, Delay (delay, debounce, throttle, retriggerable), Trigger, Inject, TTS Message Scheduler |
| Logic | AND Gate, OR Gate, XOR Gate, Logic Operations, Logic Condition, Comparison, Conditional Switch, Conditional Integer Output, Switch, Priority Encoder, Hysteresis, Edge Detector, Filter, State Machine, Watchdog, Time Range (Continuous), Day of Week Comparison, Date Comparison |
| Color | All-in-One Color Control, HSV Control, HSV Modifier, Timeline Color, Stepped Color Gradient |
| Inputs | Toggle, Integer Selector, Stock Price |
| Media | Audio Output, Event Announcer, Station Schedule, Station Selector |
| Weather | Weather Logic |
| Wireless | Sender, Receiver |
| Utility | Backdrop, Change, Combine, Counter, Debug, Display, Random, Smooth, Spline Value, String Concat, Text String, Sub-Graph |
| Direct Devices | Hue Lights, Kasa Lights, Kasa Plug Control |
- 🔍 Debug Dashboard - Compare engine state vs actual device state with color timeline
- 🐛 Report Bug Button - One-click GitHub issue with auto-filled debug info
- 📊 Device Timeline - Visual history showing what color each light was at any time
- 🔧 Hot Plugin Updates - Add new nodes without rebuilding
| Option | Best For | Install Time |
|---|---|---|
| 🏠 Home Assistant Add-on | HA users who want everything in one place | 5-10 min |
| 🖥️ Desktop App | Standalone use, development, non-HA users | 1-2 min |
Run T2AutoTron directly inside Home Assistant - no separate computer needed!
-
Add the repository to Home Assistant:
- Go to Settings → Add-ons → Add-on Store
- Click the ⋮ menu → Repositories
- Add:
https://github.com/gregtee2/home-assistant-addons
-
Find "T2AutoTron" in the add-on store and click Install
-
Wait for build (5-10 minutes on Raspberry Pi)
-
Start the add-on and click Open Web UI
That's it! Your automations now run 24/7 on your HA server.
Option A: ZIP Download (Easiest)
- Download: T2AutoTron-stable.zip
- Extract to a folder (e.g.,
C:\T2AutoTron)
Option B: Git Clone (For Developers)
git clone https://github.com/gregtee2/T2AutoTron.git
cd T2AutoTronWindows: Double-click install.bat
Mac/Linux:
chmod +x install.sh && ./install.sh⏱️ First install takes 1-2 minutes. Node.js is installed automatically if needed.
Windows: Double-click start_servers.bat (opens the Electron desktop window)
Mac/Linux:
./start.shThis starts the backend and frontend and opens http://localhost:5173 in your browser.
- Click the ⚙️ Settings gear icon
- Enter your Home Assistant URL (e.g.,
http://homeassistant.local:8123) - Enter your Home Assistant Token (How to get a token)
- Click Test Connection → should show green checkmark
- Click Save
Windows: Double-click update.bat
Mac/Linux:
./update.sh🔄 Works like ComfyUI - one click to update!
| File | Purpose |
|---|---|
install.bat / install.sh |
One-click installer (installs Node.js + dependencies) |
start_servers.bat |
Windows (recommended) - Launches backend + Electron app |
start.bat / start.sh |
Launches backend + frontend in the browser (start.sh is the Mac/Linux launcher) |
update.bat / update.sh |
One-click updater |
Build automations by connecting nodes visually - no coding required.
Create complex automations with visual flows connecting triggers, logic, and device control.
Group related nodes into zones for better organization.
Configure all your integrations in one place with connection testing.
┌─────────────────────────────────────────────────────────────────┐
│ SHARED LOGIC LAYER │
│ (pure calculation functions) │
│ TimeRange • LogicGates • Color/Oklab • Delay • Utility │
└─────────────────────────────────────────────────────────────────┘
↓ ↓
┌─────────────────────┐ ┌─────────────────────────────┐
│ FRONTEND (Browser) │ │ BACKEND ENGINE (24/7) │
│ Rete.js Editor │◄──────────►│ Node.js + Socket.IO │
│ React Components │ Sync │ Device Managers │
│ Visual Graph │ │ REST API │
└─────────────────────┘ └─────────────────────────────┘
- Rete.js v2 + React 19: Visual programming framework with React-rendered nodes
- 24/7 Backend Engine: Server-side execution of automation nodes (display-only nodes such as Display and Backdrop run in the editor only)
- Shared Logic Layer: Same math runs on frontend AND backend
- Vite 7 Build System: Fast development with HMR
- Plugin Architecture: Add new nodes without rebuilding
# Clone the repo
git clone https://github.com/gregtee2/T2AutoTron.git
cd T2AutoTron
# Install dependencies
cd v3_migration/backend && npm install
cd ../frontend && npm install
# Start servers (two terminals)
cd v3_migration/backend && npm start # Terminal 1: Backend on port 3000
cd v3_migration/frontend && npm run dev # Terminal 2: Frontend on port 5173
# Configure: open ⚙️ Settings in the app and enter your HA URL and token.
# Settings writes v3_migration/backend/.env for you.cd v3_migration/frontend
npm run build
# Copy dist/* to backend/frontend/Debug logging is disabled by default. To enable:
- Backend: Set
VERBOSE_LOGGING=trueinv3_migration/backend/.env - Frontend: Set
EDITOR_DEBUG = trueinEditor.jsx
- 📖 Getting Started Guide - Step-by-step tutorial
- 🔧 Node Development Guide - Create custom nodes
- 🧩 Plugin Architecture - Extend T2AutoTron
- 🏗️ Backend Engine Plan - Server-side execution
- Accurate sources - Automation Trace shows the real node behind each command, not "Manual control"
- Quieter Event Log - No duplicate reports from direct Kasa/Hue connections, startup snapshots, or room/group lights
- No startup flicker - Time of Day and Sunrise/Sunset nodes compute their state from the clock when a graph loads
- No endless "waiting" - Commands to devices already in the requested state confirm right away
- All-in-One Color redesign - Live preview, hex readout, and exact RGB ↔ color balance round-trips
- HSV Control - Connected HSV input now passes through
- HA Generic Device - Deleted nodes fully stop, and 0 ms transitions stay instant
- Forecast in °C - Shown alongside °F
- Automation Trace - Command → request → HA confirmation, with status filters
- Trace Map - Zoom to a node's upstream logic, including wireless links
- Graph Health - Wiring checks with affected nodes outlined
- v2.1.236 - HA Thermostat node
- v2.1.234 - Oklab color interpolation and the shared logic layer
- v2.1.212 - Debug Dashboard color timeline
- v2.1.207 - Hue/WiZ effects no longer turn lights on when they end
- v2.1.189 - Sync-on-close and heartbeat handoff
See CHANGELOG.md for full history.
- 60+ node types, with backend engine support for automation nodes
- 24/7 backend engine with frontend sync
- Visual color tools (HSV, Oklab, color balance, Kelvin)
- Automation Trace, Trace Map, and Graph Health
- Debug dashboard with device timeline
- Hue/WiZ effect nodes
- Live RTSP camera grid
- Plugin architecture with hot reload
- Settings UI with connection testing
- Mobile-responsive UI
- Additional direct device support (LIFX, WLED)
- Community node sharing
- Cloud backup option
- PWA/Mobile app
- HA Generic Device command contract: desired versus observed state, delivery confirmation, retries, ownership handoff, and overnight acceptance tests.
Built with:
- Rete.js v2 - Visual programming framework
- React - UI components
- Vite - Build system
- Home Assistant - Smart home platform
- Oklab - Perceptual color space
Keywords: home-automation node-editor smart-home home-assistant iot react retejs visual-programming automation philips-hue kasa color-grading




