Automation for pellet boilers