openenergymonitor / EmonLib

Electricity monitoring library - install in Arduino IDE's libraries folder then restart the IDE
openenergymonitor.org
GNU Affero General Public License v3.0
584 stars 418 forks source link

total power real power consumption #32

Closed ahmedtayeh closed 7 years ago

ahmedtayeh commented 7 years ago

I am wondering how can i calculate the total real power consumption lets say for one whole month? any suggestion for the modification i need to do. thanks

glynhudson commented 7 years ago

This can be done in emoncms input processing.

On 8 Dec 2016 18:07, "ahmedtayeh" notifications@github.com wrote:

I am wondering how can i calculate the total real power consumption lets say for one whole month? any suggestion for the modification i need to do. thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/openenergymonitor/EmonLib/issues/32, or mute the thread https://github.com/notifications/unsubscribe-auth/AAuUPOIMEtGor65SvS2OP58GeOKwf9z8ks5rGEdbgaJpZM4LIHWA .

ahmedtayeh commented 7 years ago

great but if i had an internet disconnection, i will lose the data in this case right ?

glynhudson commented 7 years ago

Correct, you should use a wh accumulator sketch to keep a record of wh elapsed on online device:

https://github.com/openenergymonitor/emonTxFirmware/tree/master/emonTxV2/emonTx_continuous_watthours

On 9 Dec 2016 18:12, "ahmedtayeh" notifications@github.com wrote:

great but if i had an internet disconnection, i will lose the data in this case right ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/openenergymonitor/EmonLib/issues/32#issuecomment-266082135, or mute the thread https://github.com/notifications/unsubscribe-auth/AAuUPOGI1N7SHJ76DTBQDZivIfNEHY51ks5rGZoZgaJpZM4LIHWA .