configure HEM, read data from HEM