Giter Club home page Giter Club logo

homeassistant-magicblue's People

Contributors

xiaohuim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

homeassistant-magicblue's Issues

Doesn't work with HASS.IO - Official Component?

So I installed Hass.io and this component doesn't load. Can it be made official so this problem doesn't happen?

017-08-03 01:06:37 ERROR (SyncWorker_6) [homeassistant.util.package] Unable to install package magicblue==0.4.3: Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-mhr74ky0/bluepy/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-98pxt0j5-record/install-record.txt --single-version-externally-managed --prefix --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-mhr74ky0/bluepy/
2017-08-03 01:06:37 ERROR (MainThread) [homeassistant.setup] Not initializing light.magicbluelight because could not install dependency magicblue==0.4.3

[FIXED] Configuration invalid: 'mapping values are not allowed here'

Magicblueshell runs fine. I copied magicbluelight.py to <CONFIG_DIR>/custom_components/light/magicbluelight.py

This is the corresponding part of my configuration.yaml:

light:
  platform: magicbluelight
    name: 'Living Room'
    address: c9:b1:90:af:19:c9
    version: 8

However this is what 'Configuration Validation' in Home Assistant shows:
(line 73, column 9 is between 'name' and ':'.)

Configuration invalid.CHECK CONFIG

Testing configuration at /home/homeassistant/.homeassistant
2018-01-24 06:08:35 ERROR (MainThread) [homeassistant.bootstrap] Unable to setup error log /home/homeassistant/.homeassistant/home-assistant.log (access denied)
2018-01-24 06:08:35 ERROR (Thread-1) [homeassistant.util.yaml] mapping values are not allowed here
in "/home/homeassistant/.homeassistant/configuration.yaml", line 73, column 9
2018-01-24 06:08:35 ERROR (MainThread) [homeassistant.bootstrap] Error loading /home/homeassistant/.homeassistant/configuration.yaml: mapping values are not allowed here
in "/home/homeassistant/.homeassistant/configuration.yaml", line 73, column 9

Edit:
Fixed by adding a hyphen before 'platform' (It's missing under configuration instructions), so now it looks like this:

light:
  - platform: magicbluelight
    name: 'Living Room'
    address: c9:b1:90:af:19:c9
    version: 8

Sorry, I'm new to YAML

V10 Bulbs not responding with latest HASS (BTle broken pipe error exception)

Hi guys,

Is it just me with this problem? V10 bulbs are just not responding after minutes of uptime in HASS (0.57 onwards). V8 bulbs are working just fine. V10 are functioning fine via the shell.

Something to do with asyncio? I'm on HASSbian stretch. When I stop HASS, the bulbs suddenly become responsive again and go through the queued commands, it looks like.

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.