brewster76 / fuzzy-archer

Graphical gauges and history table generators for Weewx
GNU General Public License v2.0
39 stars 31 forks source link

data of the type "count" not processed correctly in historygenerator? #52

Closed Stromer199 closed 1 year ago

Stromer199 commented 4 years ago

Hello Nick, thank you very much for the great weewx-skin. Especially the history generator is a nice tool. Lately I added a lightning detector to my raspberry and added the "AS3935 Service" to weewx. For each lightning a "lightning_distance" of the type distance and a "lightning_strike_count" of the type count is stored in the weewx-database. For example with the tag $month.lightning_strike_count.sum the number of observed lightning strikes are shown on the webpage. However when I try to add lightning_strike_count to the history-table only zeros are shown for each month (in skin.conf obs_type = lightning_strike_count; aggregate_type = sum). Even for the months before the lightning detector was added (only NULL-values are stored in the database for these months) the history-page shows zeros instead of "-". I'd like to help investigating this issue but I would need some guidance where to start and what to look for. Thank you!

mKainzbauer commented 1 year ago

edi-x fixed this with https://github.com/brewster76/fuzzy-archer/pull/65 There is a new release coming, hopefully I didn't break this fix. Check out the preview at https://github.com/brewster76/fuzzy-archer/tree/lang