Erlang-controlled relay (raspberry pi side)