Code Monkey home page Code Monkey logo

Comments (2)

gjr80 avatar gjr80 commented on August 26, 2024

Thanks. I initially put this extension together to simplify any re-installations I may have to do and thought I might as well put it out there for others to use as they see fit. Clearly I did not test very thoroughly!

In any case I have removed the hard coded weeWX-WD bindings. The extension now looks for weeWX-WD bindings for appTemp and insolation. If they exist they are used, if not the extension looks for a user specified apptemp_binding and insolation_binding in the [[Highcharts]] stanza under [StdReport] in weewx.conf. If no bindings are found then the appTemp and insolation data is omitted from the week and year JSON files.

This proved a little more complex than just amending the report templates as the javascript needed work as well to handle that case where there is no appTemp and/or insolation data - it looked odd having no data display but still have 'Apparent Temperature' or 'Theoretical Max Solar radiation' on the legend.

I have released v0.2.0 that appears to be well behaved on a VM running simulator with no weeWX-WD.

I will update the wiki User's Guide in due course.

from weewx-highcharts.

gjr80 avatar gjr80 commented on August 26, 2024

Found one more WeeWX-WD dependency. They should all be gone in v0.3.2.

from weewx-highcharts.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.