GithubHelp home page GithubHelp logo

pcoombe / homebridge-bomgovau Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stevecohen/homebridge-bomgovau

0.0 1.0 0.0 15 KB

Makes BOM.gov.au data available in your Homebridge(Homekit) setup

JavaScript 100.00%

homebridge-bomgovau's Introduction

Homebridge-BOMgovau

Retrieves official weather data (temperature, humidity, air pressure) from the Australian Bureau of Meteorology.

Installation

Install using NPM

npm install -g homebridge-bomgovau

While that's running, you'll need to get the right URL for your chosen station...

Select your station.

Find the JSON data feed for your station's observations. This is listed at the bottom of the human-readable observations page. e.g. Latest Canberra observations in human readable format are at http://www.bom.gov.au/products/IDN60801/IDN60801.94926.shtml. At the bottom of this page is the JSON url: http://www.bom.gov.au/fwo/IDN60801/IDN60801.94926.json

Add configuration to Homebridge config.json

Configuration sample (uses Canberra Airport in this example)

"accessories": [
	{ "accessory":"BOMgovau",
	"name":"Canberra Airport",
	"stationURL":"http://reg.bom.gov.au/fwo/IDN60903/IDN60903.94926.json"
   }

Restart homebridge and the temperature and humidity sensors should appear in your Home app. Air pressure is not currently in the Home app, but can be viewed through third party apps (e.g. Elgato's Eve app). Data will refresh every 30 minutes, when BOM publishes new data to the web.

Optional: Disable measurements

By default, all sensors are enabled. You can disable selected sensors by adding a 'sensors' array to the config, and specifying true/false for whether a sensor is enabled. This is useful when your BOM site does not provide certain measurements.

Example:

"accessories": [
	{ "accessory":"BOMgovau",
	"name":"Canberra Airport",
	"stationURL":"http://reg.bom.gov.au/fwo/IDN60903/IDN60903.94926.json",
	"sensors":{
    	"humidity":false
	}
   }

Current sensors that can be listed are temperature,apparentTemp,humidity.

homebridge-bomgovau's People

Contributors

pcoombe avatar stevecohen 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.