Raspberry Pi, erlang and home that need some automation