smart home module using unix socket