Giter Club home page Giter Club logo

hassio-addons's Introduction

HASS.IO addons repository

obihai2mqtt

Currently the only addon included in the repository.

Once installed, configure the addon with the required parameters in the HASS.IO configuration panel. See https://github.com/ohmer1/obihai2mqtt for more information about supported parameters.

Your phone line status will be published to your MQTT server. Simply add a new mqtt sensor into your Home Assistant configuration.

Sample sensor configuration:

sensor:
  - platform: mqtt
    name: home_phone
    # In this example, it uses the default "obihai" topic. 
    # If you also use line2 on your ATA, you'll need to also add a second sensor 
    # with the "obihai/state_line2" topic.
    state_topic: 'obihai/state_line1'
    # Ignore value after 120 seconds.
    # If the script crash, it will return status "unknown" instead of a stalled value.
    expire_after: 120

Sample automation : make kodi to pause when phone is ringing:

automation:
  - alias: Pause Kodi when phone is ringing
    trigger:
      platform: state
      entity_id: sensor.home_phone
      to: 'Ringing'
    condition:
      condition: and
      conditions:
        - condition: state
          entity_id: media_player.kodi
          state: playing
    action:
      service: media_player.media_pause
      entity_id: media_player.kodi

hassio-addons's People

Contributors

ohmer1 avatar simpat1zq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hassio-addons's Issues

Installer Error

While attempting to install on Hass.io (0.73), I get the following error:

/run.sh: line 16: php5: command not found

Restarting the add-on results in the same message.

installer not working

Hi,

i am trying to install the plugin but it i am not able to- installer not working?
i am using the hassio image
thanks

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.