From home energy management systems to energy communities: methods and data | Synapse