An apparatus comprising: an energy sensor configured to measure an incremental energy value consumed by an electrical device comprising a variable speed device during an incremental time duration; a network interface configured to interface to a communications network; and a processor configured to: obtain the incremental energy value; accumulate an energy usage measurement in accordance with the incremental energy value; provide requested information about energy consumption of the electrical device in response to a request from a network controller through the network interface; and adjust the energy usage measurement in accordance with the requested information, characterized in that the apparatus further comprises: an array configured to provide at least one control signal to the variable speed device to control a speed of the variable speed device; a pulse width modulation controller configured to control a pulse width of the at least one control signal in accordance with a temperature difference and a feedback signal from the variable speed device, the feedback signal being indicative of a difference between a target device speed and an actual device speed. an energy sensor configured to measure an incremental energy value consumed by an electrical device comprising a variable speed device during an incremental time duration; a network interface configured to interface to a communications network; and a processor configured to: obtain the incremental energy value; accumulate an energy usage measurement in accordance with the incremental energy value; provide requested information about energy consumption of the electrical device in response to a request from a network controller through the network interface; and adjust the energy usage measurement in accordance with the requested information, characterized in that the apparatus further comprises: an array configured to provide at least one control signal to the variable speed device to control a speed of the variable speed device; a pulse width modulation controller configured to control a pulse width of the at least one control signal in accordance with a temperature difference and a feedback signal from the variable speed device, the feedback signal being indicative of a difference between a target device speed and an actual device speed. obtain the incremental energy value; accumulate an energy usage measurement in accordance with the incremental energy value; provide requested information about energy consumption of the electrical device in response to a request from a network controller through the network interface; and adjust the energy usage measurement in accordance with the requested information, characterized in that the apparatus further comprises: an array configured to provide at least one control signal to the variable speed device to control a speed of the variable speed device; a pulse width modulation controller configured to control a pulse width of the at least one control signal in accordance with a temperature difference and a feedback signal from the variable speed device, the feedback signal being indicative of a difference between a target device speed and an actual device speed. an array configured to provide at least one control signal to the variable speed device to control a speed of the variable speed device; a pulse width modulation controller configured to control a pulse width of the at least one control signal in accordance with a temperature difference and a feedback signal from the variable speed device, the feedback signal being indicative of a difference between a target device speed and an actual device speed.