Local building codes are not something that I can approve but this has been used for primary heat in lots of homes. Please check with your local county or city office for their requirements and regulations.