Energy management based on iot

I am a beginner and I want creat a project for energy management for smart home with iot.
I need help for code and creat learning.

Give us a few more clues about exactly what you are planning, and if you have any specific hardware in mind, and we might be able to point you in the right direction.

Pete.