Multiple Distributed Smart Microgrids with a Self-Autonomous, Energy Harvesting Wireless Sensor Network