Hi All, Given that the Australian forecast and warnings feature of the Responsive skin is gaining popularity I will work towards localizing various aspects so it is easier to set for your location in Australia.
First up I have done the easy task of localizing the warnings. You will need to head to https://github.com/dcapslock/weewx-responsive-skin and grab the latest aussearch.py, skin.conf and index.html.tmpl. The relevant portion, shown below, will let you get an idea of how this localization works. [[xml_files]] # Find your forecast at BOM # aussearch extension then makes XML available for cheetah NSWMETRO = ftp://ftp.bom.gov.au/anon/gen/fwo/IDN11060.xml SYDNEY = ftp://ftp.bom.gov.au/anon/gen/fwo/IDN10064.xml NSW_WARNINGS = http://www.bom.gov.au/fwo/IDZ00054.warnings_nsw.xml VIC_WARNINGS = http://www.bom.gov.au/fwo/IDZ00059.warnings_vic.xml QLD_WARNINGS = http://www.bom.gov.au/fwo/IDZ00056.warnings_qld.xml WA_WARNINGS = http://www.bom.gov.au/fwo/IDZ00060.warnings_wa.xml SA_WARNINGS = http://www.bom.gov.au/fwo/IDZ00057.warnings_sa.xml TAS_WARNINGS = http://www.bom.gov.au/fwo/IDZ00058.warnings_tas.xml ACT_WARNINGS = http://www.bom.gov.au/fwo/IDZ00054.warnings_nsw.xml NT_WARNINGS = http://www.bom.gov.au/fwo/IDZ00055.warnings_nt.xml [[local]] #Set warning file WARNINGS = NSW_WARNINGS Darryn -- 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.
