The MilCandy could be the easiest controller to manipulate your physical world. It's an all-in-one design with cost and convenience in mind. It enables accomplishing simple AI tasks by plug-in sensor, actuator, and setting the triggering pattern via a few button clicks. Its Arduino based open source firmware could be updated for more complex logic.
Milcandy just compatible with Grove - Universal 4 Pin 20cm Cable (5 PCs Pack). If need other length of Grove cable, you should cut the buckle down.