xiaohuim / homeassistant-magicblue Goto Github PK
View Code? Open in Web Editor NEWMagicBlue custom component for Home Assistant
MagicBlue custom component for Home Assistant
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
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
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.
When turning off full white bulb (brightness = 1) then on from home panel, the brightness is diminished and I have to manually increase it again.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.