Wireless sensors for permanent monitoring of heritage buildings