Code Monkey home page Code Monkey logo

Comments (145)

ollo69 avatar ollo69 commented on May 27, 2024 10

I'm thinking about it, I will do but I need some additional free time, currently I'm very busy.
The point is that controlling is really more complex than monitoring because I need to avoid unwanted command and combine send command with monitored values.
Probably in the near future I will start introducing some command for the supported device, that is the starting point to control also AC.
For sure I will come back here because during dev I'll need some support, unfortunately I don't have a LG AC.

from ha-smartthinq-sensors.

psnlk avatar psnlk commented on May 27, 2024 6

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024 5

All,

just release a beta version with AC support. It should work for both V1 and V2 device, but not having an AC device I need tester. For the moment I do not implement swing controls, this will be in next steps

Wait for your feed-back...

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024 4

It's winter here, climate not required :)
Just joking, but this last months I was really busy with my job, I hope that I will have some time to dedicate on Christmas holidays...

from ha-smartthinq-sensors.

woocashd avatar woocashd commented on May 27, 2024 2

I got 3 indoor AC units which can be controlled via Smarthinq APP.
I would love to got it integrated in HA.

If you need some help with testing, please let us know.
I think that all the users of those appliances will be happy to buy you a coffee! :)

Thank you in advance!

from ha-smartthinq-sensors.

hros avatar hros commented on May 27, 2024 2

joining the long list of requests for a/c support
the repo mentioned (hass-smarttinq) does not seem to work
but perhaps joining forces, and using the work on a/c in climate.py together with recent work on v2 wideq would reduce the effort needed
I'd be happy to help

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024 2

Just released beta2, hope this fix issue in devices control.

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024 1

Real problem is not monitoring but control it, exspecially for devices based on APIv2.
I will think about this...

from ha-smartthinq-sensors.

ddellspe avatar ddellspe commented on May 27, 2024 1

I've been looking through some states (snapshots) of my new Portable AC and it looks like monitoring is possible. I'm happy to help in any way that i can to see if there's a way to also incorporate control. It looks like it's only available on the v2 api, unfortunately.

from ha-smartthinq-sensors.

wagnerfontes2 avatar wagnerfontes2 commented on May 27, 2024 1

If you can make it work for air conditioners it would be great (coffees intended). Probably much simpler for me than buying/configuring IR blasters.
In case you need a tester in Brazil, count me in!
Thanks in advance!

from ha-smartthinq-sensors.

igorsantos07 avatar igorsantos07 commented on May 27, 2024 1

Another Brazilian looking to help out testing and maybe implementing something for this integration to work for AC units (got two similar models which can be controlled via Google Assistant, if that helps). I'm new to Hass and Python, but I'm a seasoned developer so I might be of some help, if I get free time on covid weekends? :)

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024 1

To start working on this, I need to collect the JSON Info because normally there are different models with different options and the JSON info should describe them.
In HA log during startup, you should find a line like this:

INFO (MainThread) [custom_components.smartthinq_sensors] Found unsupported LGE Device. Name: MYAC - Type: AC - InfoUrl: https://......

If you don't see this line probably it is because your logger level is set to warning. In this case update your configuration.yaml logger settings in this way:

logger:
  default: warning
  logs:
    custom_component.smartthinq_sensors: info

and restart HA.

You should open in the browser the InfoUrl provided there, this should automatically start the download of a file.
Take the file and attach in this thread, providing also the information of your AC model.

from ha-smartthinq-sensors.

jacekpaszkowski avatar jacekpaszkowski commented on May 27, 2024 1

Hi ollo69, i have a LC AC too. in API V2
I have this :
2021-04-15 15:16:58 INFO (MainThread) [custom_components.smartthinq_sensors] SmartThinQ client connected
2021-04-15 15:16:58 INFO (MainThread) [custom_components.smartthinq_sensors] Starting LGE ThinQ devices...
2021-04-15 15:16:58 INFO (MainThread) [custom_components.smartthinq_sensors] Found unsupported LGE Device. Name: Salon - Type: AC - InfoUrl: https://objectcontent.lgthinq.com/dcb49be3-3b40-40xxxxxxxxxxxxx
2021-04-15 15:16:58 INFO (MainThread) [custom_components.smartthinq_sensors] Founds 1 LGE device(s)

This is my file :

dcb49be3-3b40-4072-b5f6-c6e20a309909.txt

@g4seb you can download JSON by the link from log

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024 1

@davewatson91,

any suggestion or help is welcome, also because I do not have an AC device so implementing this without a device to use for test is more complex. I took a quick look to that fork, it seems a mix of implementation coming from different site, for sure the config flow management totally come from here.
The greatest complexity in LG devices, based on my experience on what is managed in this integration, is that LG provide many models and the available functionality must be read from the definition file. In many case the solutions implemented work only for a specific model and with a single API version and this is not my objective. But it is also possible that AC functionality are more standard and implementation will be simple, I will check this using the files shared by you on this thread.

from ha-smartthinq-sensors.

almperez avatar almperez commented on May 27, 2024 1

got it, will collect it and send to you.... you can delete the e-mail address if you want to

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024 1

Good to know that till now seems working both V1 and V2. I'll be far from home all next week, I wait for additional feedback and I'll be back on next w.e to fine tune the integration.

from ha-smartthinq-sensors.

mokshmridul avatar mokshmridul commented on May 27, 2024 1

lease share your JSN definition file as expl

Thanks. This is what I get in the logs when the AC is on Eco Mode (using the remote control).

2021-05-17 14:46:11 INFO (MainThread) [custom_components.smartthinq_sensors] ThinQ client connected
2021-05-17 14:46:11 INFO (MainThread) [custom_components.smartthinq_sensors] Starting LGE ThinQ devices...
2021-05-17 14:46:11 INFO (SyncWorker_10) [custom_components.smartthinq_sensors.wideq.core_v2] Loading model info for AC. Model: WIN_056905_WW, Url: https://objectcontent.lgthinq.com/xxxxxxxxxxxxxxxxxxxxxx
2021-05-17 14:46:12 INFO (MainThread) [custom_components.smartthinq_sensors] LGE Device added. Name: AC - Type: AC - Model: WIN_056905_WW - ID: 7b551264-fc0f-1b3b-9d82-f8b95a0da806
2021-05-17 14:46:12 INFO (MainThread) [custom_components.smartthinq_sensors] Founds 1 LGE device(s)

The file URL is masked here, but the actual file downloaded is attached.
6b484cb7-8bdb-47ae-999f-4c7c9bf7bf11.zip

from ha-smartthinq-sensors.

psnlk avatar psnlk commented on May 27, 2024

Yeah - I just got installed 3 of WiFi AC's today and would be nice to control with Hassio

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024

If your AC is based on APIv2 it will be very hard. May be you will be able to monitor and integrate control with some device like broadlink---

from ha-smartthinq-sensors.

fabro21 avatar fabro21 commented on May 27, 2024

Hi!, thanks a lot for your work, looking forward to getting control of my 2 ACs.

from ha-smartthinq-sensors.

spaya1 avatar spaya1 commented on May 27, 2024

Would be great if this could be integrated, I got 3 split units, 2 based on api1 and 1 based off api2. Thanks for the hard work!

from ha-smartthinq-sensors.

Tomek985 avatar Tomek985 commented on May 27, 2024

I got window AC, it must be on new api2:
Found unsupported LGE Device. Name: Air Conditioner - Type: AC

Let me know how can I help to get it integrated, can help with debugging

from ha-smartthinq-sensors.

Lennypit avatar Lennypit commented on May 27, 2024

wideq from https://github.com/gladhorn/wideq/tree/api2_merged find my LG PC12SQ AC (APIv2). Other Versions from wideq dont find all LG ThinQ Devices. An AC integration would be great. Thanks for your Integration

from ha-smartthinq-sensors.

ChefkeGremmen avatar ChefkeGremmen commented on May 27, 2024

I also have an LG AC, let me know if I can test anything.

from ha-smartthinq-sensors.

karsie1994 avatar karsie1994 commented on May 27, 2024

Same for me, I have two LG AC's and would love to have them in HA!

from ha-smartthinq-sensors.

spaya1 avatar spaya1 commented on May 27, 2024

Count me in!

from ha-smartthinq-sensors.

ChefkeGremmen avatar ChefkeGremmen commented on May 27, 2024

Does anybody already have a 'monitoring' example? Fir eaxmple: I would like to have the current room temperature available.

from ha-smartthinq-sensors.

keiranharris avatar keiranharris commented on May 27, 2024

Hi all. Just to chime in...

ive been using sampsyo’s repo (the original author of wideQ i believe) on my LG ducted aircon (model numbers below) for two years now - it works flawlessly for me for control (....but the last time i checked on his repo, power monitoring was still a work in progress). I guess that might mean my setup is using v1 of the API? (Q: how to tell?)

In any case, maybe it will help some of you also >>
https://github.com/sampsyo/hass-smartthinq
AND
https://github.com/sampsyo/wideq

It looks like this repo here might have a bit more active dev going on (and perhaps easier integration with hass) so ill watch this issue carefully to see if its better for me to switch over! Thanks for your efforts @ollo69 !

Keiran

BTW- My LG aircon specs are:
Outside-Unit Model: B55AWY U3G6
In-Roof Model: B55AWY N7G5A
In-Roof WiFi Dongle: PWFMDD201 (model LCW-005)
Indoor Control Panel: PREMTB001 / PREMTBB01

from ha-smartthinq-sensors.

davewatson91 avatar davewatson91 commented on May 27, 2024

Hi @ollo69 - also flagging my desire to help with this where I can - this is high on my priority list to get going.

I'm far from a professional, but can certainly dabble with code & getting things going.

from ha-smartthinq-sensors.

marcoevcom avatar marcoevcom commented on May 27, 2024

Count me in to help testing or even sniffing data from the AC's. I've got 2 of them working fine in the ThinQ app also integrated to Alexa. But having all this in HA would be very nice.

from ha-smartthinq-sensors.

wishie avatar wishie commented on May 27, 2024

I've just ordered this unit and happy to try and help once I get it installed. I am chasing the Wi-Fi module at the moment.

from ha-smartthinq-sensors.

viniciuscordeiro avatar viniciuscordeiro commented on May 27, 2024

I'm here available to test this integration also. I've just installed smarthinq-sensors and received log below.

I've 2 AC units and both are APIv2 and I'm using wideq from https://github.com/no2chem/wideq and I can get all information and send to HA through MQTT, but still can't control them.

2020-11-23 09:41:53 INFO (MainThread) [homeassistant.setup] Setting up smartthinq_sensors
2020-11-23 09:41:53 INFO (MainThread) [homeassistant.setup] Setup of domain smartthinq_sensors took 0.0 seconds
2020-11-23 09:41:53 INFO (MainThread) [custom_components.smartthinq_sensors] 
-------------------------------------------------------------------
smartthinq_sensors
Version: 0.5.10
This is a custom component
If you have any issues with this you need to open an issue here:
https://github.com/ollo69/ha-smartthinq-sensors/issues
-------------------------------------------------------------------
2020-11-23 09:41:53 INFO (MainThread) [custom_components.smartthinq_sensors] Initializing SmartThinQ platform with region: BR - language: pt-BR
2020-11-23 09:41:57 INFO (MainThread) [custom_components.smartthinq_sensors] SmartThinQ client connected
2020-11-23 09:41:57 INFO (MainThread) [custom_components.smartthinq_sensors] Starting LGE ThinQ devices...
2020-11-23 09:41:57 INFO (MainThread) [custom_components.smartthinq_sensors] Found unsupported LGE Device. Name: Ar Escritorio - Type: AC
2020-11-23 09:41:57 INFO (MainThread) [custom_components.smartthinq_sensors] Found unsupported LGE Device. Name: Ar Suite - Type: AC
2020-11-23 09:41:57 INFO (MainThread) [custom_components.smartthinq_sensors] Founds 2 LGE device(s)
2020-11-23 09:41:57 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.smartthinq_sensors
2020-11-23 09:41:57 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.smartthinq_sensors
2020-11-23 09:41:57 INFO (MainThread) [custom_components.smartthinq_sensors.sensor] Starting LGE ThinQ sensors...

from ha-smartthinq-sensors.

jacekpaszkowski avatar jacekpaszkowski commented on May 27, 2024

Hi, any progress with v2 API AC?

from ha-smartthinq-sensors.

THH1986 avatar THH1986 commented on May 27, 2024

Hello! I'm really confused about how to get my LG AC working with HA...

My system information:

Host Operating System | Home Assistant OS 5.10 Update Channel | stable Supervisor Version | 2020.12.7 Docker Version | 19.03.13 Disk Total | 57.8 GB Disk Used | 3.9 GB Healthy | true Supported | true Board | rpi4-64 Supervisor API | ok Version API | ok

What I did until now:

  1. Installed https://github.com/sampsyo/hass-smartthinq
  2. Created folder wideq and cloned https://github.com/sampsyo/wideq to the folder
  3. Added the following text to my config.yaml
    smartthinq: token: mytokencode region: DE language: de-DE

However, I dont get any entities, nor something else.

Perhaps I'm just missing something important... is there a reliable step by step guide how to proceed?

from ha-smartthinq-sensors.

KTibow avatar KTibow commented on May 27, 2024

@THH1986 Wrong place for support. Did you correctly replace the token? Any log errors?

from ha-smartthinq-sensors.

gergogyerek avatar gergogyerek commented on May 27, 2024

just sent you 2 coffees, to make the ac integration project move forward :) thanks in advance
(i'm happy to send couple more coffees :) )

from ha-smartthinq-sensors.

SerpentDrago avatar SerpentDrago commented on May 27, 2024

Just got one of those new LG dual inverter units , add me to the list requesting support . I'm free to help test to .

from ha-smartthinq-sensors.

wowtah avatar wowtah commented on May 27, 2024

I also got two LG dual inverter AC units. The LG app works fine. For HA, I tried sampsyo/hass-smartthinq, but it seems that this uses APIv1, as it doesn't show my devices. I do see my devices if I try the wideq fork from pneumaticdeath/wideq (api2_rebased branch). So I assume my devices are only on APIv2.

This project looks really promising; it would be really great to have a good LG AC integration for HA.

If there is anything I can do to help/test, let me know.

from ha-smartthinq-sensors.

spaya1 avatar spaya1 commented on May 27, 2024

Hi @ollo69,

I have adjusted the configuration and restarted HA but don't seem to find the line you mention.

logger:
default: warning
logs:
homeassistant.components.mqtt: debug
custom_component.smartthinq_sensors: info

My other devices (on api v1 are being detected).

The only thing I see after the change of logging is this:

2021-04-11 16:39:11 WARNING (MainThread) [homeassistant.loader] You are using a custom integration smartthinq_sensors which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024

Are configuration lines correctly indented? Indentation is important in yaml file.

from ha-smartthinq-sensors.

spaya1 avatar spaya1 commented on May 27, 2024

yeah, sure, otherwise it wouldn't compile the config file.

I also downloaded the home-assistant.log and searched there, but no info.

to confirm this is how I see it:

image

Also example from the Mqtt component that has debug logging, showing the INFO line.

2021-04-11 16:39:23 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: sensor 2F7876_ENERGY_TotalStartTime

Also confirmed that the name of the component is correct:

/usr/share/hassio/homeassistant/custom_components/smartthinq_sensors

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024

Try just setting this:

logger:
  default: info

and remove or comment all the other lines.
You should find a lot of information, also related to your api_v1 working devices.

from ha-smartthinq-sensors.

spaya1 avatar spaya1 commented on May 27, 2024

Try just setting this:

logger:
  default: info

and remove or comment all the other lines.
You should find a lot of information, also related to your api_v1 working devices.

you blocked my Hassio for a bit, but all good now 👍

LG PC09SQ

v2 airco bedroom.zip

But INFO is not correct, they all say not supported...

2021-04-11 17:06:24 INFO (MainThread) [custom_components.smartthinq_sensors] Found unsupported LGE Device. Name: Living Room - Type: AC - InfoUrl:
2021-04-11 17:06:24 INFO (MainThread) [custom_components.smartthinq_sensors] Found unsupported LGE Device. Name: Office - Type: AC - InfoUrl:
2021-04-11 17:06:24 INFO (MainThread) [custom_components.smartthinq_sensors] Found unsupported LGE Device. Name: Bedroom - Type: AC - InfoUrl:

However the website is different.

Unsuported v2: https://objectcontent.lgthinq.com/...
Unsuported v1 (in reality supported): InfoUrl: https://eic.lgthinq.com:46030/api/webContents/..

from ha-smartthinq-sensors.

ridizy avatar ridizy commented on May 27, 2024

To start working on this, I need to collect the JSON Info because normally there are different models with different options and the JSON info should describe them.

Here is the file for my LG LP1419IVSM - 14000 BTU Dual Inverter Smart Wi-Fi Portable Air Conditioner:
6679db43-8ec1-4d5b-b215-eeb4a6e975b6.zip

Thank you!

from ha-smartthinq-sensors.

realny avatar realny commented on May 27, 2024

Hi.

First, let me thank you for your effort. Much appreciated!

If it would be of any help, my setup consists of LG DUALCOOL DELUXE INVERTER 2.5kW and LG DUALCOOL DELUXE INVERTER 5.5kW. I attach JSON files retrieved from infoUri's: lg-dualcool-deluxe-inverter.tar.gz
When setting log level to debug I can see also JSON object with all devices, they are all visible as:
"modelName": "RAC_056905_WW",
"deviceType": 401,
"deviceCode": "AI01"

Regards,
Piotr

from ha-smartthinq-sensors.

wowtah avatar wowtah commented on May 27, 2024

Hi. Great that you are working on this!

I have 2 units:

  • LG PC12SQ NSJ (3.5kW)
  • LG PC09SQ NSJ (2.5kW)

I have downloaded the JSON files for the 2 units and put them here: https://www.dropbox.com/sh/9wo25h5z5za6o1v/AAB47xCZ9sET0Hcr9Iw7Ju0Da?dl=0

Let me know if I can do anything else to support this.

from ha-smartthinq-sensors.

jacekpaszkowski avatar jacekpaszkowski commented on May 27, 2024

Hi,
i have same devices as @realny. Installed last year so they use V2 API. I'm looking forward for working solution.
Thank you all for the effort!

from ha-smartthinq-sensors.

blakito avatar blakito commented on May 27, 2024

from ha-smartthinq-sensors.

keiranharris avatar keiranharris commented on May 27, 2024

Hey @ollo69 - im a (mostly) happily working user on sampsyo code. So the working theory is this might mean im on v1 of the API (also, im in Australia if that matters, if its the LG region dictating the API version?).... in saying that, is there benefit me also getting you my device json so your update can be all encompassing?

from ha-smartthinq-sensors.

davewatson91 avatar davewatson91 commented on May 27, 2024

Hey @ollo69 - im a (mostly) happily working user on sampsyo code. So the working theory is this might mean im on v1 of the API (also, im in Australia if that matters, if its the LG region dictating the API version?).... in saying that, is there benefit me also getting you my device json so your update can be all encompassing?

It appears it is unrelated to region, as I'm in Aus, and have a V2 ducted unit. It appears to be more related to date of manufacture, someone may be able to provide more input though.

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024

I also thinks is more related manufacturing date, or most probably to model project date. Newest model are probably based on API_v2, oldest on API_v1.
Fortunately here we are able to support both API, so it could be good if we can collect some json_info for device that still use API_v1.

from ha-smartthinq-sensors.

smackywolf avatar smackywolf commented on May 27, 2024

I've attached the json for both of my units, one is a V1 (which I had working with an older integration) and one is V2 which i've never been able to get sorted out.
lgeaircon.zip

(drive link just in case) https://drive.google.com/file/d/1mLF-LLi4GzLOq3CAYApRVuHU_X7w53EN/view?usp=sharing

from ha-smartthinq-sensors.

jacekpaszkowski avatar jacekpaszkowski commented on May 27, 2024

Hello,

i have 3 LG devices (2 different models). Please see HA logs and attached files, but none of this is availabe in HA.
I pretty sure that all of my devices use API_v2.

-------------------------------------------------------------------
smartthinq_sensors
Version: 0.6.7
This is a custom component
If you have any issues with this you need to open an issue here:
https://github.com/ollo69/ha-smartthinq-sensors/issues
-------------------------------------------------------------------

2021-04-12 10:07:02 INFO (MainThread) [custom_components.smartthinq_sensors] Initializing SmartThinQ platform with region: PL - language: pl-PL
2021-04-12 10:07:03 INFO (MainThread) [custom_components.smartthinq_sensors] SmartThinQ client connected
2021-04-12 10:07:03 INFO (MainThread) [custom_components.smartthinq_sensors] Starting LGE ThinQ devices...
2021-04-12 10:07:03 INFO (MainThread) [custom_components.smartthinq_sensors] Found unsupported LGE Device. Name: Sypialnia - Type: AC - InfoUrl: https://objectcontent.lgthinq.com/eaf981d1-8ed9-4489-8cee-a9c8688d2bd1?hdnts=exp=1675895129~hmac=e4a343c068ad6704352246e9dad3327c0e28a9df0560c19934a38a91d322f456
2021-04-12 10:07:03 INFO (MainThread) [custom_components.smartthinq_sensors] Found unsupported LGE Device. Name: Salon - Type: AC - InfoUrl: https://objectcontent.lgthinq.com/f0720774-1d2d-48df-9fc7-7e0388f48c88?hdnts=exp=1675895129~hmac=c7dc98567688df18750db37eb0533dc54ac04e7f6408a1a7471cf57e2debbaab
2021-04-12 10:07:03 INFO (MainThread) [custom_components.smartthinq_sensors] Found unsupported LGE Device. Name: Pokój - Type: AC - InfoUrl: https://objectcontent.lgthinq.com/adb19eba-0632-4da8-bc53-fd35f48b01c8?hdnts=exp=1675895129~hmac=cdf00eb77c28d3699865393a5ca5c1551bc7cf096e74b8dbd6554f9f29881c3c
2021-04-12 10:07:03 INFO (MainThread) [custom_components.smartthinq_sensors] Founds 3 LGE device(s)
2021-04-12 10:07:03 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.smartthinq_sensors
2021-04-12 10:07:03 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.smartthinq_sensors
2021-04-12 10:07:03 INFO (MainThread) [custom_components.smartthinq_sensors.sensor] Starting LGE ThinQ sensors...

DM07RP.NSJ

adb19eba-0632-4da8-bc53-fd35f48b01c8.zip
eaf981d1-8ed9-4489-8cee-a9c8688d2bd1.zip

DM12RP.NSJ
f0720774-1d2d-48df-9fc7-7e0388f48c88.zip

Hope this will help.

from ha-smartthinq-sensors.

inorhan avatar inorhan commented on May 27, 2024

Hello,
Thanks for the effort @ollo69 !

5 x LG PC09SQ
acs.zip

from ha-smartthinq-sensors.

almperez avatar almperez commented on May 27, 2024

Hi @ollo69,

Thank you so much for this project. This is my 24000 BTUs from Brazil. Hope this helps.

Cheers,

Andre
5547eef2-cce3-4d0c-83aa-53f8d24f931a.txt

from ha-smartthinq-sensors.

SerpentDrago avatar SerpentDrago commented on May 27, 2024

Hey ollo69,

Thank you so much for your work . Here is my info/json file , *.txt so it could be uploaded to github

LG Electronics 800-sq ft Window Air Conditioner (115-Volt; 14000-BTU) ENERGY STAR
Model #LW1517IVSM

2021-04-14 19:17:12 INFO (MainThread) [custom_components.smartthinq_sensors] Found unsupported LGE Device. Name: Window AC - Type: AC - InfoUrl: https://objectcontent.lgthinq.com/xxxxxxxxxxxxxxxxxxxxxxxxxxx

70187583-14bb-4c69-a27d-dfd0428edb02.txt

Please contact me / @ me if you need any help testing , I'm an experienced tester / computer user and have worked with plenty of devs in the past on Advanced kodi addons and skins . I dont' code , but i can do near anything else .

from ha-smartthinq-sensors.

g4seb avatar g4seb commented on May 27, 2024

Hi ollo69, i have a LC AC too. in API V2
I have this :
2021-04-15 15:16:58 INFO (MainThread) [custom_components.smartthinq_sensors] SmartThinQ client connected
2021-04-15 15:16:58 INFO (MainThread) [custom_components.smartthinq_sensors] Starting LGE ThinQ devices...
2021-04-15 15:16:58 INFO (MainThread) [custom_components.smartthinq_sensors] Found unsupported LGE Device. Name: Salon - Type: AC - InfoUrl: https://objectcontent.lgthinq.com/dcb49be3-3b40-40xxxxxxxxxxxxx
2021-04-15 15:16:58 INFO (MainThread) [custom_components.smartthinq_sensors] Founds 1 LGE device(s)

This is my file :

dcb49be3-3b40-4072-b5f6-c6e20a309909.txt

from ha-smartthinq-sensors.

wagnerfontes2 avatar wagnerfontes2 commented on May 27, 2024

from ha-smartthinq-sensors.

SerpentDrago avatar SerpentDrago commented on May 27, 2024

Hi ollo69, Thank you for your effort! Here are the files for my 3 air conditioners in Brazil: 2021-04-17 17:32:38 INFO (MainThread) [custom_components.smartthinq_sensors] Found unsupported LGE Device. Name: sala-janela - Type: AC - InfoUrl: https://objectcontent.lgthinq.com/19036529-6cd3-43fa-b8cc-a739b6b9fdf5?hdnts=exp=1681760951~hmac=720edb0ebf032f51b584f3135a085d21a4a6b5a62d082213ddea5c9284f013d9 2021-04-17 17:32:38 INFO (MainThread) [custom_components.smartthinq_sensors] Found unsupported LGE Device. Name: sala-tv - Type: AC - InfoUrl: https://objectcontent.lgthinq.com/c1788011-4341-478d-8530-304176920498?hdnts=exp=1681760775~hmac=3d19db62c63436bbe606b1f20090ced72449ed36520987d3c40e41a8bf24620a 2021-04-17 17:32:38 INFO (MainThread) [custom_components.smartthinq_sensors] Found unsupported LGE Device. Name: escritorio - Type: AC - InfoUrl: https://objectcontent.lgthinq.com/5e3b4bad-1ae1-4c4e-ae6c-2d46133075dc?hdnts=exp=1681760524~hmac=442d18f87c29b7496b2bffcf74003f9913cd34a73fb3aba5c9340a2a92419303 2021-04-17 17:32:38 INFO (MainThread) [custom_components.smartthinq_sensors] Founds 3 LGE device(s) Model numbers: sala-janela: S4NQ18KL31A sala-tv: S4NQ18KL31A escritorio: S4NQ09WA51A

On Thu, Apr 15, 2021 at 10:58 AM jacekpaszkowski @.***> wrote: Hi ollo69, i have a LC AC too. in API V2 I have this : 2021-04-15 15:16:58 INFO (MainThread) [custom_components.smartthinq_sensors] SmartThinQ client connected 2021-04-15 15:16:58 INFO (MainThread) [custom_components.smartthinq_sensors] Starting LGE ThinQ devices... 2021-04-15 15:16:58 INFO (MainThread) [custom_components.smartthinq_sensors] Found unsupported LGE Device. Name: Salon - Type: AC - InfoUrl: https://objectcontent.lgthinq.com/dcb49be3-3b40-40xxxxxxxxxxxxx 2021-04-15 15:16:58 INFO (MainThread) [custom_components.smartthinq_sensors] Founds 1 LGE device(s) This is my file : dcb49be3-3b40-4072-b5f6-c6e20a309909.txt https://github.com/ollo69/ha-smartthinq-sensors/files/6318389/dcb49be3-3b40-4072-b5f6-c6e20a309909.txt @g4seb https://github.com/g4seb you can download JSON by the link from log — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#37 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHPEMBUSS7MQVYGRCZCX4ITTI3WI7ANCNFSM4M6BYZ5Q .
-- ************************************************************ Wagner Fontes MD, PhD Full Professor at the Protein Chemistry and Biochemistry Lab University of Brasilia ************************************************************

Don't post your full URL , download it and upload the file , and ** out thelast digits . thats your api key , its very bad practice to share it

from ha-smartthinq-sensors.

lemojack avatar lemojack commented on May 27, 2024

Hi @ollo69,

Thank you so much for this project.

My unit DM09RP.NSJ DELUXE

DM09RP.zip

from ha-smartthinq-sensors.

davewatson91 avatar davewatson91 commented on May 27, 2024

Just for everyone on this thread, there is another fork which has moved significantly further along (i.e. it works, but took a couple of changes for myself, PR in to fix one of those on the other fork).

from ha-smartthinq-sensors.

KTibow avatar KTibow commented on May 27, 2024

@davewatson91 That is incorrect. It is a fork, but not a fork of this repository.

from ha-smartthinq-sensors.

davewatson91 avatar davewatson91 commented on May 27, 2024

@davewatson91 That is incorrect. It is a fork, but not a fork of this repository.

Sorry, yes - different line of work, but same outcome of accessing ThinQ v2 devices using the API. All of these are somewhat intertwined with the original devs mostly crediting parts of each other’s works with either inspiration or direct assistance. Having followed a number of threads, I figure it’s best not to reinvent the wheel if a solution is already mostly developed...

from ha-smartthinq-sensors.

KTibow avatar KTibow commented on May 27, 2024

I figure it’s best not to reinvent the wheel if a solution is already mostly developed...

Yes, but they aren't intercompatible.

from ha-smartthinq-sensors.

davewatson91 avatar davewatson91 commented on May 27, 2024

Yes, but they aren't intercompatible.

Of course not, but one is working to control ThinQ v2 devices, and one is not. I wasn't raising it here to force anyone to do anything - feel free to ignore it. My intent was just to let people know that there is a working alternative to control v2 devices now, be it to model code from, or to use.

from ha-smartthinq-sensors.

spaya1 avatar spaya1 commented on May 27, 2024

Just for everyone on this thread, there is another fork which has moved significantly further along (i.e. it works, but took a couple of changes for myself, PR in to fix one of those on the other fork).

Good morning. I tried loading that fork (v2) together with this component (v1). The result is that my v2 device is reachable, but my v1 devices are not.

I tried removing the component twice and adding it again, removing the wideq folder, restarting the process, but nothing.

any advice? I dont mind having both components as long as I can control my V1 and V2 devices :)

Logger: homeassistant.setup
Source: custom_components/smartthinq/init.py:69
First occurred: April 21, 2021, 6:42:06 PM (1 occurrences)
Last logged: April 21, 2021, 6:42:06 PM

Error during setup of component smartthinq
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 242, in _async_setup_component
result = await task
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/smartthinq/init.py", line 69, in setup
client = wideq.Client.from_token(refresh_token, region, language)
File "/usr/local/lib/python3.8/site-packages/wideq/client.py", line 240, in from_token
raise UnsupportedOperation("User number required in v2")
io.UnsupportedOperation: User number required in v2

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024

Good morning. I tried loading that fork (v2) together with this component (v1). The result is that my v2 device is reachable, but my v1 devices are not.

Just to clarify, this component is non limited to v1 but implement both v1 and v2 API (just still not manage AC devices).
But please do not use this thread for this kind of issue. It is normal that the 2 components create conflict, and I will not be able to manage this because one of this component is implemented by another person. For this kind of discussion you should move to the HA forum thread.

from ha-smartthinq-sensors.

spaya1 avatar spaya1 commented on May 27, 2024

Clear, thx!

from ha-smartthinq-sensors.

kzagatti avatar kzagatti commented on May 27, 2024

To start working on this, I need to collect the JSON Info because normally there are different models with different options and the JSON info should describe them.
In HA log during startup, you should find a line like this:

INFO (MainThread) [custom_components.smartthinq_sensors] Found unsupported LGE Device. Name: MYAC - Type: AC - InfoUrl: https://......

If you don't see this line probably it is because your logger level is set to warning. In this case update your configuration.yaml logger settings in this way:

logger:
  default: warning
  logs:
    custom_component.smartthinq_sensors: info

and restart HA.

You should open in the browser the InfoUrl provided there, this should automatically start the download of a file.
Take the file and attach in this thread, providing also the information of your AC model.

Here is my JSON: 3588e1b5-e086-48ff-8cd5-ae62c38f821c.txt

from ha-smartthinq-sensors.

coolriku avatar coolriku commented on May 27, 2024

To start working on this, I need to collect the JSON Info because normally there are different models with different options and the JSON info should describe them.
In HA log during startup, you should find a line like this:

INFO (MainThread) [custom_components.smartthinq_sensors] Found unsupported LGE Device. Name: MYAC - Type: AC - InfoUrl: https://......

If you don't see this line probably it is because your logger level is set to warning. In this case update your configuration.yaml logger settings in this way:

logger:
  default: warning
  logs:
    custom_component.smartthinq_sensors: info

and restart HA.

You should open in the browser the InfoUrl provided there, this should automatically start the download of a file.
Take the file and attach in this thread, providing also the information of your AC model.

LG PC18SQ

ed537644-c39a-458e-9ff9-80d077a56a8b.txt

from ha-smartthinq-sensors.

hros avatar hros commented on May 27, 2024

Hi
I see that people are sending a/c logs
I have quite a few lg a/cs, and would love to add them to home assistant
What data is needed to help debug the integration and do I access that data?

from ha-smartthinq-sensors.

KTibow avatar KTibow commented on May 27, 2024

@hros please see the original request comment.

from ha-smartthinq-sensors.

hros avatar hros commented on May 27, 2024

@hros please see the original request comment.

followed instructions (also changing the log-level), yet no INFO lines about new devices are displayed
the only messages I get from this integration are:

2021-05-02 14:13:55 WARNING (MainThread) [homeassistant.loader] You are using a custom integration smartthinq_sensors which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

I have v0.6.8 of the repo installed using HACS. Do I need to install a different version?

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024

You need to configure the integration, but if you don't have other LG device currently supported you will not be able to do. But don't worry, I collected enough definition file, I'm ok for now.

from ha-smartthinq-sensors.

ddellspe avatar ddellspe commented on May 27, 2024

I have an LG LP1419IVSM

4c633cd6-2e80-4944-bcab-6976111be481.txt

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024

All,

as next step I need to collect some payload from LG AC based on API V2.
NB: only user that have others LG device already supported by this integration can do this.

You should temporary enable DEBUG log in HA changing log settings in configuration.yaml in this way:

logger:
  default: info
  logs:
    custom_components.smartthinq_sensors: debug

reboot HA, leave it run at list 5 minutes and than provide me the log file generated. Log file should non contain any sensible information (as token), but if you prefer analyze it before posting you can.

Remember to set back the log level when you finish.

Thanks everybody.

from ha-smartthinq-sensors.

almperez avatar almperez commented on May 27, 2024

All,

as next step I need to collect some payload from LG AC based on API V2.
NB: only user that have others LG device already supported by this integration can do this.

You should temporary enable DEBUG log in HA changing log settings in configuration.yaml in this way:

logger:
  default: info
  logs:
    custom_components.smartthinq_sensors: debug

reboot HA, leave it run at list 5 minutes and than provide me the log file generated. Log file should non contain any sensible information (as token), but if you prefer analyze it before posting you can.

Remember to set back the log level when you finish.

Thanks everybody.

Hi! I believe I removed all sensible information, but please let me know if I had removed too much information.

Thanks
resultado.txt

from ha-smartthinq-sensors.

mdrobny avatar mdrobny commented on May 27, 2024

Hi!
@ollo69 great work! I am looking forward to see ACs working too 🥇

I have LG Artcool Mirror AC12BQ, here is my JSON Info:

lg-artcool-mirror-AC12BQ.txt

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024

Hi! I believe I removed all sensible information, but please let me know if I had removed too much information.

Looks like you removed a lot, anyway is quite useful. Which logic do you use to clean it up? Could you also report the state of AC device (target temp, current temp, operation mode, etc) so that I can perform a cross check?

from ha-smartthinq-sensors.

almperez avatar almperez commented on May 27, 2024

Hi! I believe I removed all sensible information, but please let me know if I had removed too much information.

Looks like you removed a lot, anyway is quite useful. Which logic do you use to clean it up? Could you also report the state of AC device (target temp, current temp, operation mode, etc) so that I can perform a cross check?

I had removed Serial Numbers, Mac Addresses, WiFi SSIDs, Hashes, HMAC and GUIDs. At that moment, the AC was off. Woud you like me to send you another file with my AC on, switching states (heat, temp, fan speed)?

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024

I had removed Serial Numbers, Mac Addresses, WiFi SSIDs, Hashes, HMAC and GUIDs. At that moment, the AC was off. Woud you like me to send you another file with my AC on, switching states (heat, temp, fan speed)?

To perform test I need a complete log, because I need to have the various link and payload complete. If you are not comfortable posting the file here, I can give you a private e-mail where to send the file. If during log capture you will also perform some switch, this will be helpful. Remember that integration poll device state every 30 seconds.

from ha-smartthinq-sensors.

almperez avatar almperez commented on May 27, 2024

I had removed Serial Numbers, Mac Addresses, WiFi SSIDs, Hashes, HMAC and GUIDs. At that moment, the AC was off. Woud you like me to send you another file with my AC on, switching states (heat, temp, fan speed)?

To perform test I need a complete log, because I need to have the various link and payload complete. If you are not comfortable posting the file here, I can give you a private e-mail where to send the file. If during log capture you will also perform some switch, this will be helpful. Remember that integration poll device state every 30 seconds.

that would be good, can you please give me the e-mail address?

from ha-smartthinq-sensors.

gergogyerek avatar gergogyerek commented on May 27, 2024

hi, i just copied the beta files to HA, and I can confirm, that I can see the two AC units.
image
unfortunately I have to wait till tomorrow to test, kids are sleeping in those rooms, dont want to wake them up :)
thanks for all your efforts!!

from ha-smartthinq-sensors.

kzagatti avatar kzagatti commented on May 27, 2024

All,

just release a beta version with AC support. It should work for both V1 and V2 device, but not having an AC device I need tester. For the moment I do not implement swing controls, this will be in next steps

Wait for your feed-back...

Installed your beta version and it's almost there! It recognizes my AC unit, shows the temperature reading (as @gergogyerek comment above) but when I click on the actions to turn on/off the AC I have this error coming up:

2021-05-09 16:57:45 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140134357748080] ('0002', '')
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 167, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1481, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1516, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 658, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 726, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 695, in _handle_entity_call
await result
File "/config/custom_components/smartthinq_sensors/climate.py", line 126, in async_set_hvac_mode
await self._device.power(True)
File "/config/custom_components/smartthinq_sensors/wideq/ac.py", line 198, in power
await self.async_set(key, op_value, AC_CTRL_BASIC)
File "/config/custom_components/smartthinq_sensors/wideq/device.py", line 814, in async_set
await loop.run_in_executor(None, self.set, key, value, ctrl_key, command)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/smartthinq_sensors/wideq/device.py", line 807, in set
self._set_control(key, value, ctrl_key, command)
File "/config/custom_components/smartthinq_sensors/wideq/device.py", line 800, in _set_control
self._client.session.set_device_v2_controls(
File "/config/custom_components/smartthinq_sensors/wideq/core_v2.py", line 580, in set_device_v2_controls
return self.post2(path, values)
File "/config/custom_components/smartthinq_sensors/wideq/core_v2.py", line 451, in post2
return lgedm2_post(
File "/config/custom_components/smartthinq_sensors/wideq/core_v2.py", line 198, in lgedm2_post
return manage_lge_result(out, is_api_v2)
File "/config/custom_components/smartthinq_sensors/wideq/core_v2.py", line 211, in manage_lge_result
raise exc.APIError(code, message)
custom_components.smartthinq_sensors.wideq.core_exceptions.APIError: ('0002', '')

Just for reference, please find attached my JSON file:
3588e1b5-e086-48ff-8cd5-ae62c38f821c.txt

from ha-smartthinq-sensors.

mdrobny avatar mdrobny commented on May 27, 2024

I've just tested v0.7.0b2 and it works 🎉 😮

I can:

  • turn on the AC to cool mode
  • change temperature up and down
  • change to fan only mode
  • turn off the AC

I didn't test other modes yet

The problem I noticed the most is delays, but it's probably because of the LG's cloud... Eg. after turning off the AC it took 15-20 seconds until this change was reflected in the UI

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024

The problem I noticed the most is delays, but it's probably because of the LG's cloud... Eg. after turning off the AC it took 15-20 seconds until this change was reflected in the UI

What do you mean? Delay is when you control the device not from HA (e.g. from remote) or when you use HA control? In first case it is normal because polling interval is 30 sec., second case I have to check.
Anyway seems that most part of work is done....

from ha-smartthinq-sensors.

kzagatti avatar kzagatti commented on May 27, 2024

@ollo69 working like a charm! Tested:

  • Turn on the AC to fan, cool and heat modes
  • Change temperature up and down
  • Turn off the AC

As stated by @mdrobny when I turned off the AC it took around 20 seconds for the AC to show up as off on HA (turn on or change temperature is immediate). Sending you a coffee/beer right now! Really appreciate your work :-)

from ha-smartthinq-sensors.

smackywolf avatar smackywolf commented on May 27, 2024

hi ollo! amazing work, my V1 and V2 aircons are now visible and controllable.
i've tested:
for both V1 and V2 device: turn on/off. Switch to "auto (heat/cool)", heat, cool, dry, fan only, and change temperature up and down and change fan speed on each mode. Works perfectly, only two slight weird things.

There's a delay in the entity being updated between modes when they are changed with HA, sounds like it may be related to the 30 sec polling interval. It is not a problem I don't believe, just something to be aware of. It can take up to 30 seconds for the mode to be updated on the entity.

the other thing (may not even be an issue, might be related how HA integrates climate devices) is that the entity seems to allow control of temperature on Fan and Dry modes. Again, not something that really matters, and may not be integration related. Also, "auto" fan mode in HA appears as "NATURE", this might vary between units but both of mine are meant to be Auto, and I don't think have the nature mode.

For V1, there can be a delay between sending the command and the API responding and setting the command on the unit. This doesn't happen with the V2 unit, and I suspect it might just be API related, rather than integration.

None of these things are really a problem, either. Just wanted to note what I'm seeing, rather than complain. :)

Exceptional work, Thank you for all your efforts.

from ha-smartthinq-sensors.

almperez avatar almperez commented on May 27, 2024

Good to know that till now seems working both V1 and V2. I'll be far from home all next week, I wait for additional feedback and I'll be back on next w.e to fine tune the integration.

Tested all modes (heat, cool, vent) and it is working flawlessly. This 30 seconds delay is not a problem. 😁

Please contact us if you need any additional logs.
Can I update the doc for the integration to add the hvac reference?

Congrats and many thanks for this! Will send you a coffee.

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024

Can I update the doc for the integration to add the hvac reference?

Yes, of course, any help is appreciated. I will merge PR with doc update when I will release final version.

from ha-smartthinq-sensors.

gergogyerek avatar gergogyerek commented on May 27, 2024

everything works as expected. there is a little delay 10-20s on the HA interface, but it is not important.
thank you for your efforts, good job!!

from ha-smartthinq-sensors.

mokshmridul avatar mokshmridul commented on May 27, 2024

This seems to work perfectly. I can turn on / off the AC, change the temperature and set it to Cool Mode and Dry mode.

However, I am unable to set it to "Eco" mode, which is the default on this AC. If I turn on the AC using the remote, the state of the AC is shown as "Unknown". Eco mode was working with the repository : https://github.com/marciogranzotto/hass-smartthinq

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024

However, I am unable to set it to "Eco" mode, which is the default on this AC.

Can you please share your JSN definition file as explained here . I filtered some state to avoid unsupported mode, but probable need some tuning.

from ha-smartthinq-sensors.

woocashd avatar woocashd commented on May 27, 2024

Works Perfectly!
Thank you!!!!

Buy this guy a coffee! He deserves it!
https://www.buymeacoffee.com/ollo69

from ha-smartthinq-sensors.

mokshmridul avatar mokshmridul commented on May 27, 2024

Its working fine after the 0.71 release. Thanks a ton :)

However, I am unable to set it to "Eco" mode, which is the default on this AC.

Can you please share your JSN definition file as explained here . I filtered some state to avoid unsupported mode, but probable need some tuning.

from ha-smartthinq-sensors.

keiranharris avatar keiranharris commented on May 27, 2024

Hey @ollo69 - thanks so much for your efforts. Slightly off topic but i was wondering if your code supports digesting the energy consumption data that the API spits out? This is inside the LG app for my APIv1 ducted air con. I was chatting ages ago with sampsyo (who wrote the v1 integration) about this but dev never got there. See sampsyo/hass-smartthinq#44

Would be handy!
3FB187FE-A159-43FA-8D3D-AF9032B894A2

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024

Slightly off topic but i was wondering if your code supports digesting the energy consumption data that the API spits out

Depend if this information is in the payload. You should enable debug and provide information as explained here so that I can analyze the content a check if is possible to extract this information and create related sensors.

from ha-smartthinq-sensors.

grfernandes54 avatar grfernandes54 commented on May 27, 2024

I'm thinking about it, I will do but I need some additional free time, currently I'm very busy.
The point is that controlling is really more complex than monitoring because I need to avoid unwanted command and combine send command with monitored values.
Probably in the near future I will start introducing some command for the supported device, that is the starting point to control also AC.
For sure I will come back here because during dev I'll need some support, unfortunately I don't have a LG AC.

I can help you with the LG Air equipment. If you want I can share my air conditioner with you at LG ThingQ application and also give to you access to my home assistant for you troubleshooting and dev. My air conditioner is located at my company and you can make afterhours. I'm located in Brazil and we can use the time zone difference to do things afterhours

from ha-smartthinq-sensors.

LongDono avatar LongDono commented on May 27, 2024

Great work! When I first updated and turned an AC unit on from HA, I checked the app, where that device was now in use by another user. I was not able to go into that device in the app. After about 5 minutes, I was able to access the device again in the app and it was no longer locked out. While in the device in the app, I was able to change the device settings with either the app or Home Assistant. I just tried to change the temp in the app and got kicked out of the device, as their API says another user is using it. We almost need a way to poll the device every so often (configurable) without remaining logged in, or accept that the app may be unusable when this integration is in use. I really appreciate the work done on this, as I always manually set the temperature lower at night.

from ha-smartthinq-sensors.

ollo69 avatar ollo69 commented on May 27, 2024

We almost need a way to poll the device every so often (configurable) without remaining logged in, or accept that the app may be unusable when this integration is in use. I really appreciate the work done on this, as I always manually set the temperature lower at night.

Do you now what API version is using your device (THINQ1 or THINQ2)? I think that this is an issue only related to old API.
I can add an option to adjust polling period, but I don't think this is really useful, I think that the problem occur only when a status is changed.

from ha-smartthinq-sensors.

Related Issues (20)

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.