Smart fencing technologies