hass-smartthinq icon indicating copy to clipboard operation
hass-smartthinq copied to clipboard

Problems with version 0.72.1 / Not detecting wideq package

Open Pharizna opened this issue 7 years ago • 6 comments

Hi

It seems the token is right because It found my two ACs

https://es.m.lgaccount.com/login/sign_in?country=ES&division=ha&svcCode=SVC202&a uthSvr=oauth2&language=es-ES&client_id=LGAO221A02&grant_type=password Then paste the URL where the browser is redirected: https://es.m.lgaccount.com/login/iabClose?access_token=000000000000000000000000000 c97dee2e1fb4c74e309a9156d55cf88602e84157fed96aa0469f29e62f55c983d65e9c4&refresh token=000000000000000000000000000000000000000000000000000000000000000000000 b833dfbd04c9b6cf206155&oauth2_backend_url=https://gb.lgeapi.com/ d27af0a0-7149-11d3-80aa-a06faaa40bdd: AIRE Vero (AC RAC_056905_ES) d27b65d0-7149-11d3-80ad-a06faa97d668: AIRE Txema (AC RAC_056905_ES)__

but it doesn't work in HA and it appears a problem :

Unable to prepare setup for platform climate.smartthinq: Could not install all requirements. 20:20 setup.py (ERROR) Not initializing climate.smartthinq because could not install requirement wideq 20:20 requirements.py (ERROR) Unable to install package wideq: Could not find a version that satisfies the requirement wideq (from versions: ) No matching distribution found for wideq_

Does work this interesting platform in the 0.72.1 HA version?

Help me, please!

Thank you in advance

Pharizna avatar Jun 26 '18 18:06 Pharizna

Home Assistant is telling you that you need to install the wideq module in a location where it can find it.

sampsyo avatar Jun 26 '18 18:06 sampsyo

I installed it in /wideq

$ git clone https://github.com/sampsyo/wideq.git $ cd wideq $ pip3 install -e .

I'm using RASPBIAN

Where would be the right location?

Pharizna avatar Jun 26 '18 18:06 Pharizna

Something like that! But the details are really up to your system and Home Assistant itself. This is the kind of procedure that I used, but vagaries of the specific Python setup could interfere. Maybe scouring the HA documentation regarding manual installation of Python dependencies would help?

sampsyo avatar Jun 26 '18 18:06 sampsyo

It's a pity because I am a newbie in Python and HA :(

Installed it in /home/homeassistant/.homeassistant folder or in /home/homeassistant/.homeassistant/custom_components or in /home/homeassistant/.homeassistant/deps ... but doesn't work neither :(

Pharizna avatar Jun 26 '18 18:06 Pharizna

I've just found that the problem it's the same as in #1 but now in Raspbian too :(

Pharizna avatar Jun 27 '18 17:06 Pharizna

Not any news about this interesting topic ? :(

Pharizna avatar Jul 05 '18 17:07 Pharizna