The unit "Kilowatt per hour" doesn't make a lot of sense (perhaps you mean kilowatt-hours?), but putting that aside, usually you record (in the database) either the amount of energy used during the archive period (typically 5 minutes), or you record an "accumulated energy" since the last reset of the monitor.
If the former, you end up with tags such as $month.*delta_energy*.sum, if the latter, $month.*accumulated_energy*.diff. Either way, the units are energy, typically watt-seconds, watt-hours, or kilowatt-hours. We'd need more information to get more specific. In particular, you didn't say who built the monitor. -tk On Tue, Sep 6, 2022 at 6:07 PM Mks Mk <[email protected]> wrote: > we want to expand the use of weewx to include energy consumption and cost > calculation but we are not sure how to do that. > our setup consists of: > 1-weewx on raspberry pi 4 > 2-SDR dongle > 3-energy monitor device kit with RF transmitter and display > > we are capturing the signal of acurite weather station and the energy > transmitter and weewx reading is matching what the energy display reading > in kilowatt per hour and the reading gets updated every 20 seconds. > > we need weewx to calculate the consumption of energy during 24 hours and > the total consumption for the month (30 days) but we are sure if weewx can > do this task and we are not sure how to do this. > any thoughts or suggestions to accomplish the task > > thank you > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/2fd95946-f1e0-48cb-b95d-3ece52a6e512n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/2fd95946-f1e0-48cb-b95d-3ece52a6e512n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEDr8OeuakFRkauEkVAvt%2BWQccjV9pzhwUfUAkRXThrxow%40mail.gmail.com.
