A method for counting electricity consumption, which is applicable to count electricity consumption for a plurality of electronic devices by using a smart electricity meter, each of smart switches being respectively connected with one or more of the plurality of electronic devices, and each of the smart switches being connected with the smart electricity meter, characterized in that, the method comprises the steps of: sampling (101) readings of the smart electricity meter and statuses of the smart switches at a set sampling time interval to obtain a plurality of groups of electricity parameters, each of the plurality of groups of the electricity parameters including a reading of the smart electricity meter and the statuses of the smart switches; determining (102) an average power of each smart switch according to a part or all of the plurality of groups of electricity parameters; determining (103) working hours of each smart switch in a set statistical time period; and determining (104) an electricity consumption of each smart switch in the statistical time period according to the working hours and the average power of each smart switch.
展开▼