Coder Social home page Coder Social logo

pelado-mat / hass-sip Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sbruggeman/hass-sip

0.0 2.0 0.0 4 KB

switch and sensor integration between home asssistant and SIP opensprinkler python port (https://github.com/Dan-in-CA/SIP)

Python 100.00%

hass-sip's Introduction

Synopsis

HomeAssistant switch and sensor integration for the SIP Python port of Opensprinkler by Dan-in-CA (https://github.com/Dan-in-CA/SIP).

This will NOT work for the original Arduino version of Opensprinkler as the APIs are completely different.

Switches will turn corresponding zones in SIP on and off. Sensors will show current state of SIP zone. Both switches and sensors include additional attributes for program name, reason for zone status, remaining run time, and station number.

SWITCHES ONLY WORK IF MANUAL MODE IS ENABLED IN SIP

A future platform that contains switches and sensors for automatic/manual mode, rain delay, run program, etc.

SIP versions prior to May 2017 will not work as the API was modified to include station names.

Code Example

In your configuration.yaml:

switch:
  - platform: sip
    url: http://sip.example.com
    password: !secret sip_password

switch:
  - platform: sip
    url: http://sip.example.com
    password: !secret sip_password

Installation

move sip.py for switch and sensor components to hass home directory /custom_components/switch and /sensor accordingly.

hass-sip's People

Watchers

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