Giter VIP home page Giter VIP logo

bom_mod's Introduction

Overview

Home Assistant BOM Weather Component Mod to include forcast data. Mashup of current BOM Component and BOM Forecast Sensor from https://github.com/bremor/bom_forecast

The `bomweather' weather platform uses the Australian Bureau of Meteorology (BOM) as a source for current observational and forecast meteorological data.

The configuration variables are the same as the existing BOM Component with the addtion of the forecast variables shown the example below.

# Example configuration.yaml entry
weather:
  - platform: bomweather
    station: IDN60901.94767
    forecast_product_id: IDN11060
    forecast_product_aac: NSW_PW005

Obtain the Product ID and Area Code for any BOM location using the following method:

  • Go to this website and find the Precis Forecast XML link for your state in the "Long form forecasts" table or see the Table below.
  • The Product ID (forecast_product_id) for your city is the name of the XML file and will look like "IDN11060"
  • To find the Area Code (forecast_product_aac), download the XML mentioned in the previous steps. Open the XMl file in any text editor and browse or search the file looking for your area name. The Area Code will be in the same line as the area name and look like "NSW_PW005"

Installation

To add the BOM Weather Mod Component to your installation, create this following folder structure in your config directory (if not already existing):

“custom_components/bom_mod”.

Then, drop the following files into that folder:

__init__.py
camera.py
manifest.json
sensor.py
weather.py

BOM State Precis Product ID's

State Value
NSW/ACT IDN11060
NT IDD10207
QLD IDQ11295
SA IDS10044
TAS IDT16710
VIC IDV10753
WA IDW14199

bom_mod's People

Contributors

bionicdonkey avatar

Watchers

 avatar

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.