fhem
fhempy is a FHEM binding to write modules in Python language
Python FHEM (home automation server) API