arraylabs / myq Goto Github PK
View Code? Open in Web Editor NEWmyq custom component for Home Assistant
myq custom component for Home Assistant
Not sure what is going on.
I just did a fresh isntall and copied over my old yaml files, so nothing has changed.
Now, Im getting this error:
17-02-10 18:49:27 homeassistant.loader: Unable to find component cover.myq
17-02-10 18:49:27 homeassistant.bootstrap: Unable to find platform cover.myq
This is my config:
cover:
- platform: myq
username: !secret cover_username
password: !secret cover_password
brand: liftmaster
Started getting the error below out of nowhere. Not sure what the issue is, my myq wont load anymore. Any ideas?
17-02-14 19:08:47 ERROR (MainThread) [homeassistant.components.cover] Error while setting up platform myq
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 151, in _async_setup_platform
entity_platform.add_entities, discovery_info
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/.homeassistant/custom_components/cover/myq.py", line 64, in setup_platform
add_devices(MyQCoverDevice(myq, door) for door in myq.get_garage_doors())
File "/home/homeassistant/.homeassistant/custom_components/cover/myq.py", line 144, in get_garage_doors
devices = self.get_devices()
File "/home/homeassistant/.homeassistant/custom_components/cover/myq.py", line 122, in get_devices
self._logged_in = self.login()
File "/home/homeassistant/.homeassistant/custom_components/cover/myq.py", line 113, in login
auth = login.json()
File "/srv/homeassistant/lib/python3.4/site-packages/requests/models.py", line 866, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.4/json/__init__.py", line 318, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.4/json/decoder.py", line 343, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.4/json/decoder.py", line 361, in raw_decode
raise ValueError(errmsg("Expecting value", s, err.value)) from None
ValueError: Expecting value: line 1 column 1 (char 0)
Hey folks,
I know this repo's been dormant for a while but nonetheless it looks like y'all put a lot of work in to it. I'm trying to utilize the general flow seen here but am having no luck from the endpoints I see in the code. I keep getting back an HTTP 200 but w/ content:
<html>
<head>
<title>Request Rejected</title>
</head>
<body>Your request has been denied.
<br>
<br>[13495076365845689385]
</body>
</html>
Anything I can do to help?
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.