Hi, The answer really depends on what you have done to integrate the 3935 data into weeWX and what you want to do.
Did you install the AS3935 extension <https://github.com/weewx/weewx/wiki/as3935>? If so you should have lightning_strikes and avg_distance fields in each archive record generated by weeWX. Note that this does not save the lightning data in your database, it merely makes the data available in each archive record. Provided you are using weeWX v3.7.x you will be able to use the $current.lightning_strikes and $current.avg_distance tags in a report to display the current values. If you want to display and historical data or aggregates (eg total number of stikes in a day, month or year) or plot the data, you will need to ensure that the lightning data is being saved in your database. The AS3935 extension readme mentions the need to do this here <https://github.com/weewx/weewx/wiki/as3935#configuration> and refers you to the Customization Guide. The relevant instructions are in the Adding a new type to the archive database <http://weewx.com/docs/customizing.htm#add_archive_type> section of the Customization Guide. Once you have done this you can use all of the available (and applicable) tags (eg $month.lightning_strikes.sum for the total number of detected strikes in the current month) in your reports. You may find some info by searching for 'AS3935' in the this forum and the development forum. There are quite a few hits in this forum and a couple in development. Gary On Monday, 26 June 2017 06:47:10 UTC+10, Francesco Scaramella wrote: > > I use WEEWK for a long time in my weather stations, for a few days I > installed, just to try, on one of the stations the sensor AS3935. The > installation on weewx of the sensor was not a problem, but it escapes me > as, once collected the data from the sensor, can add them to the skin that > allows us to publish the data of the weather station. Are there any > examples I can follow?? Grazie, Frencesco > -- 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]. For more options, visit https://groups.google.com/d/optout.
