HomeIoT & Smart CitySmart Home Rule Conflicts: Flapping & Debounce Simulator

Smart Home Rule Conflicts: Flapping & Debounce Simulator

Interactive 3D smart-home automation engine: a geofence rule and a dusk-to-dawn schedule rule fight over one light. Tune GPS jitter, hysteresis debounce and conflict priority to watch — or stop — automation flapping.

IoT & Smart City3DModerate60 FPS📱 Mobile-adapted
mobile-smart-home-iot ↗ Open standalone

Mobile smart-home apps let you stack automations — a geofence rule that turns a light on when you get home, a dusk-to-dawn schedule that turns it on at night — and real automation engines (HomeKit, SmartThings, IFTTT) have to decide what happens when two independently-authored rules disagree about the same device at the same moment. This simulator renders one house, one light and a phone whose GPS position jitters near a geofence boundary while a fast simulated clock cycles day into night. Watch how an unprotected "last write wins" engine flaps the light on and off dozens of times as noisy location fixes cross the fence, then fix it two different real ways: pick which rule has priority, or add a hysteresis debounce timer that requires a candidate state to hold steady before it's committed — the same trade-off every consumer automation platform ships with.

⚙ Under the hood

Interactive 3D smart-home automation engine: a geofence rule and a dusk-to-dawn schedule rule fight over one light. Tune GPS jitter, hysteresis debounce and conflict priority to watch — or stop — automation flapping.

smart homeiotautomationgeofencingstate machinedebounce

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)