Custom code for managing cottage heat circuits using RPi and Arduino