GithubHelp home page GithubHelp logo

owenvoke / hass-ohdear Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 36 KB

An Oh Dear sensor for Home Assistant

License: MIT License

Python 100.00%
home-assistant homeassistant integration monitoring ohdear python uptime-monitor

hass-ohdear's Introduction

HASS Oh Dear

Latest Version Software License Build Status Buy us a tree

An Oh Dear sensor for Home Assistant

Install

Via HACS

  1. Install the Home Assistant Community Store (HACS)
  2. Add Oh Dear as a custom repository. See the HACS FAQs and add https://github.com/owenvoke/hass-ohdear
  3. Select integration as the category
  4. You should now be able to install Oh Dear via HACS
  5. Once installation is complete, restart Home Assistant
  6. In the HA UI, go to Configuration -> Integrations, click + and search for Oh Dear

Manual

  1. Using the tool of choice open the directory (folder) for your HA configuration (where you find configuration.yaml)
  2. If you do not have a custom_components directory there, you need to create it
  3. Add the ohdear directory and its contents from this repository to the custom_components directory in your Home Assistant configuration directory
  4. Restart Home Assistant
  5. In the HA UI, go to Configuration -> Integrations, click + and search for Oh Dear

Dependencies

This component relies on my ohdear-sdk Python package, an unofficial client for the Oh Dear API.

Usage

This can be configured fully via the Integrations interface. Click the following link to add a new Oh Dear site.

Add Integration

You'll need an API key from Oh Dear, you can generate one here. You'll also need to know the id of the site, you can do this by browsing to the sites page, selecting the site you want to monitor, and copying the id from the URL. Alternatively, this is shown at the bottom of the settings page under the API section.

The "Scan interval" can also be configured, this defaults to polling the API every 5 minutes.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Treeware

You're free to use this package, but if it makes it to your production environment please consider buying the world a tree.

It’s now common knowledge that one of the best tools to tackle the climate crisis and keep our temperatures from rising above 1.5C is to plant trees. If you support this package and contribute to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.

You can buy trees here.

Read more about Treeware at treeware.earth.

hass-ohdear's People

Contributors

owenvoke avatar

Watchers

 avatar  avatar

hass-ohdear's Issues

Retrieve available sites from API

This would simplify the process a lot, as it wouldn't require adding a new "device" per site. It would then only require the API token, and could pull a list of sites that the token has access to.

This would require a multi-step configuration flow. 👍🏻

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.