By the way - if you can't shut the door to the electrical cords - maybe some strategically placed vicks vapour rub would make them less attractive. Or crib stop or aloe vera - all taste Yuk to a dog (super bitter). Note - chilli does not work for long - the dog just acquires the taste for it.
Personally I think a (big) crate is more humane and safe for the dog than tying it up to a tree. My dog's crate kept her safe from a small child that wanted to say hello. And kept all the bugs and ants off too (one of those soft sided ones). Child got to say hello later with adult supervision. And no neck problems from lunging at passing bicycles or teenagers on skate boards.