The UniPi interface board is designed to create Automation system with Rapsberry-Pi.
Using it with a MicroPython based MCU is really great.
https://github.com/mchobby/pyboard-driv ... Automation
The driver is almost complete (RTC and 1Wire master support to finish). Adapter board currently under development