Git Product home page Git Product logo

creativepsyco / ha-sengledapi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jfarmer08/ha-sengledapi

0.0 1.0 0.0 139 KB

Home Assistant Integration for Sengled Bulbs. This is a custom component to allow control of Sengled Bulbs in Homeassistant using the unofficial Sengled API. Please note this mimics the Sengled app and therefore Sengled may cut off access at anytime.

License: Apache License 2.0

Python 100.00%

ha-sengledapi's Introduction

Home Assistant - Sengled Bulb Integration

This is a custom component to allow control of Sengled Bulbs in Homeassistant using the unofficial Sengled API. Please note this mimics the Sengled app and therefore Sengled may cut off access at anytime.

Supported Bulbs from Sengled

You can find Supported Products here. If you have other bulbs that are not on this list and they do work, you can create a pull request to have the wiki updated.

**The goal is to support all Sengled Bulbs so feel free to buy me coffee.

Donate

Highlights of what SengledApi can do

  • Control Sengled Bulbs as lights through HA
  • Control Sengled Light Switch through HA

Potential Downsides

** Wifi bulbs are supported by adding wifi: true to your configuration. All functions should be supported.

Installation (HACS) - Highly Recommended

  1. Have HACS installed, this will allow you to easily update
  2. Add https://github.com/jfarmer08/ha-sengledapi as a custom repository as Type: Integration
  3. Click install under "Sengled Bulb Integration" in the Integration tab
  4. Restart HA

Installation (Manual)

**Note: "requirements": ["paho-mqtt==1.5.0"]

  1. Download this repository as a ZIP (green button, top right) and unzip the archive
  2. Copy /custom_components/sengledapi to your <config_dir>/ directory
    • On Hassio the final location will be /config/custom_components/sengledapi
    • On Hassbian the final location will be /home/homeassistant/.homeassistant/custom_components/sengledapi
  3. Restart HA

SengledApi NOTE: Configuration Changed Please update.

Country Code example:

  • country: us
  • country: au
  • country: it
  • country: eu

Configuration

Add the following to your configuration file configuration.yaml. Update with your own information.

sengledapi:
  username: [email protected]
  password: sengledPassword
  country: us
  wifi: true

Usage

  • Restart HA

  • Entities will show up as light.<friendly name>, switch.<friendly name> for example (light.livingroom_lamp).

Reporting an Issue

  1. Setup your logger to print debug messages for this component by adding this to your configuration.yaml:
    logger:
      default: warning
      logs:
        custom_components.sengledapi: debug
  2. Restart HA
  3. Verify you're still having the issue
  4. File an issue in this Github Repository

ha-sengledapi's People

Contributors

jfarmer08 avatar seperis avatar dlangerm avatar creativepsyco avatar rpowel avatar samblooms avatar

Watchers

James Cloos 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.