Hacker
Jayesh Sharma
@shader_on
Projects
Synk Field Test: feature flags that save water
Flagsmith Experimentation HackathonNov 2026
I built Synk Field Test: a real smart irrigation controller (Synk Core) and a 120-device fleet, all controlled by Flagsmith feature flags. The problem: most small farmers and gardeners water on a fixed timer. A timer gives every pot the same amount, so it is set for the hottest day and wastes water everywhere else. But changing how thousands of devices water is risky: if the new logic is wrong, plants die. The solution: Synk waters from a soil-moisture sensor, and Flagsmith lets us prove and roll out that change safely. - A Flagsmith A/B experiment on 120 devices showed soil-moisture watering uses 25% less water than a timer (95% interval -33% to -17%, >99% chance to be best). The winner was rolled out to everyone. - A pump_enabled kill switch stops every pump within seconds. - A Claude Code agent skill runs experiments end to end with the Flagsmith CLI. When an "eco" mode saved 15% water but hurt plant health by 80%, the agent paused the test on its own and kept the safe option. - A real ESP32 device (soil sensor, temperature probe, relay, pump, LED) runs on the same flags and shows its live readings on the Synk website. In short: farmers save water, and every change to the devices is tested and can be switched off instantly.