Kenny, Did you ever get this worked out? I am seeing the exact same issues you are. I added lightning to my belchertown skin for station observations and I am seeing the 0.00000 for it until MQTT updates (but I get an undefined sometinmes). Trying to figure out how to not display the 0.00000 and just show the number.
Sean On Sunday, 29 March 2020 14:37:26 UTC-5, Kenny Stier wrote: > > My [SDR] config where I defined the delta is in my original message, and I > have restarted since putting it in. > My Belchertown skin.conf is where I configured Belchertown to display the > number of lightning strikes. (in first message as well) > > On my site https://wx.millhousen.com/ > <https://www.google.com/url?q=https%3A%2F%2Flink.getmailspring.com%2Flink%2F1A2109AD-9A99-4F95-B6E4-528A21D8C1A2%40getmailspring.com%2F0%3Fredirect%3Dhttps%253A%252F%252Fwx.millhousen.com%252F%26recipient%3Dd2Vld3gtdXNlckBnb29nbGVncm91cHMuY29t&sa=D&sntz=1&usg=AFQjCNGQKJ_cSdO4QLMrFmuCZR5lpZ1XDg>, > > Lightning Strikes show as "0.000000" until MQTT provides an update and > changes it to 62 (which should be lightning_strikes_total). > The rtl433 output I posted earlier was during a thunderstorm, as are these > entries in the weewx.sdb > > > On Mar 29 2020, at 1:31 am, Andrew Milner <andrew....@gmail.com > <javascript:>> wrote: > > How did you tell it to display the delta value? > > Did you stop/restart weewx after editing weewx.conf to put in the delta? > > > > On Sunday, 29 March 2020 07:44:01 UTC+3, Kenny Stier wrote: > > The sensor appears to be sending sane data. > https://pastebin.ubuntu.com/p/PX9mfmkjBg/ > <https://link.getmailspring.com/link/1a2109ad-9a99-4f95-b6e4-528a21d8c...@getmailspring.com/1?redirect=https%3A%2F%2Fpastebin.ubuntu.com%2Fp%2FPX9mfmkjBg%2F&recipient=d2Vld3gtdXNlckBnb29nbGVncm91cHMuY29t> > https://pastebin.ubuntu.com/p/8hTzx3ypNH/ > <https://link.getmailspring.com/link/1a2109ad-9a99-4f95-b6e4-528a21d8c...@getmailspring.com/2?redirect=https%3A%2F%2Fpastebin.ubuntu.com%2Fp%2F8hTzx3ypNH%2F&recipient=d2Vld3gtdXNlckBnb29nbGVncm91cHMuY29t> > > For some reason the site says Lightning Strikes 62 even though I told it > to display the delta value lightning_strikes and not lightning_strikes_total > > On Tuesday, March 3, 2020 at 6:35:17 PM UTC-5, mwall wrote: > > > > On Sunday, March 1, 2020 at 7:17:01 PM UTC-5, Kenny Stier wrote: > > I am working on including my lightning detector data on my homepage but am > having some issues. > I am using an Acurite 06045M over SDR on Belchertown. > https://wx.millhousen.com/ > <https://link.getmailspring.com/link/1a2109ad-9a99-4f95-b6e4-528a21d8c...@getmailspring.com/3?redirect=https%3A%2F%2Fwx.millhousen.com%2F&recipient=d2Vld3gtdXNlckBnb29nbGVncm91cHMuY29t> > > 1. For some reason, the Lightning Distance is shown on the graph as being > 24 consistently, but it hasn't stormed in many months. > > > as greg suggested, please check the raw output from rtl_433 to where the > 24 is coming from. > > > > 2. Also, the number of strikes has many trailing zeros and is changed by > MQTT to say 120. The database shows the 0.00000 number. > > > its been awhile, but i'm pretty sure the 06045M reports a cumulative value > for strikes. i'm not sure when it wraps/resets. > > the weewx-sdr driver will do delta calculations to convert a cumulative > value (count since last reset/wraparound) to a delta value (count since > last packet). the build-in definition looks like this: > > [[deltas]] > rain: rain_total > strikes: strikes_total > > so if you have this mapping: > > [SDR] > ... > [[sensor_map]] > ... > strikes_total = strikes_total.00E7.AcuriteLightningPacket > > then the observation 'strikes' will have the delta value and > 'strikes_total' will have the cumulative value. > > or you can do this: > > [SDR] > ... > [[deltas]] > lightning_strikes = lightning_strikes_total > > if you prefer to use the name 'lightning_strikes' instead of 'strikes' > > of course, all of that assumes the sensor is sending sane data, and that > rtl_433 is not doing any other manipulations. > > m > > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "weewx-user" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/weewx-user/fwn_yn3yXKc/unsubscribe > <https://link.getmailspring.com/link/1a2109ad-9a99-4f95-b6e4-528a21d8c...@getmailspring.com/4?redirect=https%3A%2F%2Fgroups.google.com%2Fd%2Ftopic%2Fweewx-user%2Ffwn_yn3yXKc%2Funsubscribe&recipient=d2Vld3gtdXNlckBnb29nbGVncm91cHMuY29t> > . > To unsubscribe from this group and all its topics, send an email to > weewx-user+unsubscr...@googlegroups.com > <https://link.getmailspring.com/link/1a2109ad-9a99-4f95-b6e4-528a21d8c...@getmailspring.com/5?redirect=mailto%3Aweewx-user%2Bunsubscribe%40googlegroups.com&recipient=d2Vld3gtdXNlckBnb29nbGVncm91cHMuY29t> > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/15c64885-665c-4ddb-9230-7b07bf9fb66d%40googlegroups.com > > <https://link.getmailspring.com/link/1a2109ad-9a99-4f95-b6e4-528a21d8c...@getmailspring.com/6?redirect=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fweewx-user%2F15c64885-665c-4ddb-9230-7b07bf9fb66d%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&recipient=d2Vld3gtdXNlckBnb29nbGVncm91cHMuY29t> > . > > [image: Sent from Mailspring] -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/0485db00-1b24-40bf-8de6-b1ff703e2cc9o%40googlegroups.com.