What if each appliance posted a bounty for providing in real time the amount of electricity it needed to function. The bounty would first be attempted by the house itself and if the house did not have any spare electricity in its batteries then it would post a bounty out for that electricity. The first to supply the needed electricity would win the bounty. Would not limit it to only the power stations supplying the electricity. Could be houses nearby that could provide the electricity. By using a bounty hunting system and using a first to supply mechanism or something similar it would be essentially like the cloud robotics except instead of putting a bounty out for the servo positions we are putting a bounty out to receive electricity!