INTERACTIVE AUTOMATION LAB
A little code.
A real reaction.
Connect a trigger to a useful action. Try it with a virtual light and display, then make the routine your own.
Everything here is simulated. No real devices are connected or controlled.
- 01Build something
Choose a template, use blocks or write a few lines.
- 02Arm your routine
Check the program and get the simulation ready.
- 03Give it a trigger
Send motion, a button press or a temperature reading.
Your automation.
See the code behind your blocks
One ON trigger, then one action per line. Use the reference below. Switching to blocks converts valid code into editable actions.
Choose your actions, then arm the automation.
Editing or loading another example stops the simulation. Reset keeps your program and restores the virtual devices.
Your virtual space.
Green0%
Build a routine and arm it to get started.
Set a reading, then send it to the routine.
- 01Virtual devices ready. Load or edit an example to begin.
A SMALL LANGUAGE. PLENTY TO TRY.
Make it
your own.
These are the only commands the lab runs. They change virtual devices inside this page.
Have a real-world idea?ON MOTIONStart when you send a motion event.ON BUTTONStart when you press the virtual button.ON TEMPERATURE >= 24Start when a sent temperature meets the threshold.LIGHT ON / LIGHT OFFUse either command to switch the light.BRIGHTNESS 60Set brightness from 0 to 100%. Zero turns it off.COLOR GREENChoose green, amber, blue, purple, red or white.DISPLAY "Welcome home"Show your message, up to 100 characters.WAIT 1Wait 0–3 seconds per action, up to 12 seconds total.Use one trigger followed by 1–12 actions. Commands are case-insensitive. Temperature thresholds can be −50 to 100°C. This is a learning language for the simulator; it is not Home Assistant YAML or device firmware.
A useful automation starts with a clear idea.
We can help turn yours into a working setup.