Code Monkey home page Code Monkey logo

Comments (56)

nVuln avatar nVuln commented on August 11, 2024 1

Good news, I just checked notification list again and found message code for finished event, I'll look into it and refactor "button finished" 🤩

from homebridge-lg-thinq.

nVuln avatar nVuln commented on August 11, 2024 1

The remaining time updates every 2-3 minutes. Thats too less. Remaining time doent even get near 1 minute before the washer is finished. So no automation possible related to the remaining time.

Or I want to be notified 5min before finished.

Why is it not possible to update the remaining time every 10 sec?

you can config refresh interval time in config, default is 60s

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024 1

Tested two programs. Until now it works like it should. No more alerts until its done. Will test one or two more programs but as of right now it works. 👍🏻

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024 1

Testet it with some more programs (shorter one etc.) and it works. 1.2.8 b2

from homebridge-lg-thinq.

nVuln avatar nVuln commented on August 11, 2024

button will pressed when remain duration down to 0, but look like it's not working correctly, I don't know why
LG don't provide any solution to catch if washer is finished, maybe I'll remove this trigger due it's not working

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

LG App sends out notifications. Can you catch this and use it as a trigger?

from homebridge-lg-thinq.

nVuln avatar nVuln commented on August 11, 2024

LG App send a lot of notification in different language (user language based), it's hard to detect which notification is washer finished

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

hmmm. Isnt there any "code" or # for a notification regardless of any language?
e.g. code108 for program finished, code345 for I dont know issue detected?

from homebridge-lg-thinq.

nVuln avatar nVuln commented on August 11, 2024

no hope, I checked it before 😩

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

Do you have a list of any notification?
Maybe all of us can help you out to generate interactions based of the translated notifications?

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

But I guess if LG decides to change wording in the notifications it wont work anymore...

from homebridge-lg-thinq.

nVuln avatar nVuln commented on August 11, 2024

But I guess if LG decides to change wording in the notifications it wont work anymore...

yup, you right, not a good solution

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

Ok, so I have to stick to the remaining time for an automation.
Can you do me a favor?
Is it possible to make a timer refresh when the remaining time is at 15, 10 or 5 sec? So maybe then, if the washer decides to elongate the time, it can get the correct time again and do not start the automation (at remaining 1 or 0 sec.) more than once.

My automation starts at remaining 1 sec because the HomePod needs 1-2 sec before starts playing sound.

from homebridge-lg-thinq.

nVuln avatar nVuln commented on August 11, 2024

I already published v1.0.3-test.1 if you wanna test it

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

I dont know github so good but you have to put it in the releases section as a beta or prerelease. I cant see it (I am using HOOBS and I do not want to install plugins via terminal because HOOBS has different homebridge instances and I do not know right now how to install plugins via terminal to the correct bridge instance).

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

Can you do this?

from homebridge-lg-thinq.

nVuln avatar nVuln commented on August 11, 2024

still not tested yet, pls wait a few day when I have a chance to test on my washer

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

But you say I can test it?
But I can test it only if you put it in the releas section. Not as a final release, as beta/prerelease. This doesnt affect the actual 1.0.2

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

I have a full load for my washer right now ;)

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

Is 1.0.4 included this?

from homebridge-lg-thinq.

nVuln avatar nVuln commented on August 11, 2024

not yet, v1.0.5 is included, sorry I'm still not tested this feature, please help me test if it's worked for you

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

I will but you have to put it in the release section as beta! Otherwise I cant test it and I really would!

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

I see it! ;)

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

Remaining time does not show up in HK anymore.
17:41:53LG ThinQ BridgeFEHLER[LG ThinQ Bridge 8502@Waschmaschine@Waschmaschine@Remaining Duration] characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

IMG_53654E616E19-1

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

And even the button does not work.
I set it to do something if the button is pushed once. Noting.

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

This error I see in the log:
17:41:53LG ThinQ BridgeFEHLER[LG ThinQ Bridge 8502@Waschmaschine@Waschmaschine@Remaining Duration] characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics

from homebridge-lg-thinq.

nVuln avatar nVuln commented on August 11, 2024

I'll revert this, I'll test it when I have time

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

Ok, remaining time is back. 13 min. until finished. Stay tuned.

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

No error so far in homebridge log. :)

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

The remaining time is much poorly calculated than before. With 1.0.0 it was much better. Now it needs way more action (close Home App, reopen it etc. - not once, even 4 times) until I got the correct time from washer.

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

IMG_0857
IMG_0858

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

And no Button press action. Seriously, that button will not press automatically!
Its a button! Do a sensor not a button! That will not work, does it for you? Cant imagine.

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

The remaining time updates every 2-3 minutes. Thats too less. Remaining time doent even get near 1 minute before the washer is finished. So no automation possible related to the remaining time.

Or I want to be notified 5min before finished.

Why is it not possible to update the remaining time every 10 sec?

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

Im testing the trigger right now ;)

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

Right in the process of testing the trigger washer finished...
Each single step e.g. Adding softener, starting dryer makes the trigger go off. Thats not what it for.

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

Washer finished trigger: Dos not trigger anymore. (1.22/1.23)

from homebridge-lg-thinq.

nVuln avatar nVuln commented on August 11, 2024

is this worked on latest version ?

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

Like I sad. No.
Whether the trigger nor an automation based on the remaining time works because:

The trigger and the time are going off (time down to 0:00) when the washer switches states. Meaning:

You start the washer, the washer is calculating the weight of the clothes. After that trigger goes off and time 0.

Washer is running and went to drying mode. Same thing trigger goes off and time 0.

Wahser finished trigger goes off time 0.

So I get at least 3 times a automation to run.

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

So I get a notification from my homepod at the beginning that the washer is finished, in the middle and at the end. So it is useless for me until it triggers just right at the end.

from homebridge-lg-thinq.

nVuln avatar nVuln commented on August 11, 2024

in debug logging, you may received all mqtt message of your washer, you should upload it all
I don't know how your device status changed from start to end, it may show up in debug log

everything still worked on my model, nothing wrong

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

Ok, I think tonight the washer will run again and I can provide you all mqtt loggs :)

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

Its running now ;) So in a coupe of hours you will receive the loggs but it a bunch!

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

At the beginning I wasnt spend a lot of attention when the trigger went off but now:

30.9.2021, 15:16:26LG ThinQ BridgeLGThinQ[Waschmaschine] Received snapshot: {"meta":{"allDeviceInfoUpdate":false,"messageId":"oYqr4ipjS-CiP3FAQhlIBA"},"mid":5547913,"online":true,"static":{"countryCode":"DE","deviceType":"201"},"timestamp":1633007786008,"washerDryer":{"currentTimeMinute":28,"preState":"RINSING","remainTimeMinute":114,"state":"SOFTENING"}}
30.9.2021, 15:16:26LG ThinQ BridgeLGThinQmqtt message received: {"data":{"state":{"reported":{"meta":{"allDeviceInfoUpdate":false,"messageId":"oYqr4ipjS-CiP3FAQhlIBA"},"mid":5547913,"online":true,"static":{"countryCode":"DE","deviceType":"201"},"timestamp":1633007786008,"washerDryer":{"currentTimeMinute":28,"preState":"RINSING","remainTimeMinute":114,"state":"SOFTENING"}}}},"deviceId":"xxx","type":"monitoring"}
30.9.2021, 15:16:39LG ThinQ BridgeLGThinQ[Waschmaschine] Received snapshot: {"meta":{"allDeviceInfoUpdate":false,"messageId":"YRxrVjA0SCCWAWu9gtEYoQ"},"mid":5560794,"online":true,"static":{"countryCode":"DE","deviceType":"201"},"timestamp":1633007798833,"washerDryer":{"remainTimeMinute":113}}
30.9.2021, 15:16:39LG ThinQ BridgeLGThinQmqtt message received: {"data":{"state":{"reported":{"meta":{"allDeviceInfoUpdate":false,"messageId":"YRxrVjA0SCCWAWu9gtEYoQ"},"mid":5560794,"online":true,"static":{"countryCode":"DE","deviceType":"201"},"timestamp":1633007798833,"washerDryer":{"remainTimeMinute":113}}}},"deviceId":"xxx","type":"monitoring"}
30.9.2021, 15:16:42LG ThinQ BridgeLGThinQ[Waschmaschine] Received snapshot: {"meta":{"allDeviceInfoUpdate":false,"messageId":"BDsoT4JRTzyTF_r_Evrivg"},"mid":5563713,"online":true,"static":{"countryCode":"DE","deviceType":"201"},"timestamp":1633007801924,"washerDryer":{"courseSpendWater":2}}
30.9.2021, 15:16:42LG ThinQ BridgeLGThinQmqtt message received: {"data":{"state":{"reported":{"meta":{"allDeviceInfoUpdate":false,"messageId":"BDsoT4JRTzyTF_r_Evrivg"},"mid":5563713,"online":true,"static":{"countryCode":"DE","deviceType":"201"},"timestamp":1633007801924,"washerDryer":{"courseSpendWater":2}}}},"deviceId":"xxx","type":"monitoring"}
30.9.2021, 15:16:50LG ThinQ BridgeLGThinQ[Waschmaschine] Received snapshot: {"meta":{"allDeviceInfoUpdate":false,"messageId":"YKaPc_AGRQmpMSF7MMuSoQ"},"mid":5571711,"online":true,"static":{"countryCode":"DE","deviceType":"201"},"timestamp":1633007809897,"washerDryer":{"preState":"SOFTENING","state":"DISPENSING"}}
30.9.2021, 15:16:50LG ThinQ BridgeLGThinQmqtt message received: {"data":{"state":{"reported":{"meta":{"allDeviceInfoUpdate":false,"messageId":"YKaPc_AGRQmpMSF7MMuSoQ"},"mid":5571711,"online":true,"static":{"countryCode":"DE","deviceType":"201"},"timestamp":1633007809897,"washerDryer":{"preState":"SOFTENING","state":"DISPENSING"}}}},"deviceId":"xxx","type":"monitoring"}
30.9.2021, 15:16:50LG ThinQ BridgeLGThinQ[Waschmaschine] Received snapshot: {"meta":{"allDeviceInfoUpdate":false,"messageId":"sOAgu8vPRHuE2Nq2-e1CHw"},"mid":5572121,"online":true,"static":{"countryCode":"DE","deviceType":"201"},"timestamp":1633007810221,"washerDryer":{"courseSpendSoftener":1}}

on preState: RINSING state: SOFTENING or
preState: DISPENSING state: RINSING

one or the other.

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

And now at the end there are the states:

  • SPINNING
  • DETECTING
  • DRYING

At these states there was no trigger action.

Now its drying and I wait until finished.

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

In this program there are these states:

(Between two of these states below there is the first trigger action):

  • DETECTING
  • DETERGENT AMOUNT
  • DISPENSING
  • RUNNING
  • RINSING

(Between these two states below there is the second trigger action):

  • SOFTENING
  • DISPENSING

  • RINSING
  • SPINNING
  • DETECTING
  • DRYING
    Waiting for the FINISHED state.

Can provide you the whole log when finished as txt file.

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

Question:
Cant you just import the states in an sitch or something so that based on the stats its possible to make automations?

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

And the END:

30.9.2021, 17:41:15LG ThinQ BridgeLGThinQ[Waschmaschine] Received snapshot: {"meta":{"allDeviceInfoUpdate":false,"messageId":"VTgVMc1mSq-p9FCeX0H_WQ"},"mid":14237219,"online":true,"static":{"countryCode":"DE","deviceType":"201"},"timestamp":1633016475298,"washerDryer":{"TCLCount":5,"preState":"DRYING","remainTimeMinute":0,"state":"END"}}
30.9.2021, 17:41:15LG ThinQ BridgeLGThinQmqtt message received: {"data":{"state":{"reported":{"meta":{"allDeviceInfoUpdate":false,"messageId":"VTgVMc1mSq-p9FCeX0H_WQ"},"mid":14237219,"online":true,"static":{"countryCode":"DE","deviceType":"201"},"timestamp":1633016475298,"washerDryer":{"TCLCount":5,"preState":"DRYING","remainTimeMinute":0,"state":"END"}}}},"deviceId":"xxx","type":"monitoring"}
30.9.2021, 17:41:25LG ThinQ BridgeLGThinQ[Waschmaschine] Received snapshot: {"meta":{"allDeviceInfoUpdate":false,"messageId":"QzOxTpscRWiO4DQZI7R9UA"},"mid":14247552,"online":true,"static":{"countryCode":"DE","deviceType":"201"},"timestamp":1633016485659,"washerDryer":{"currentTimeMinute":53}}
30.9.2021, 17:41:25LG ThinQ BridgeLGThinQmqtt message received: {"data":{"state":{"reported":{"meta":{"allDeviceInfoUpdate":false,"messageId":"QzOxTpscRWiO4DQZI7R9UA"},"mid":14247552,"online":true,"static":{"countryCode":"DE","deviceType":"201"},"timestamp":1633016485659,"washerDryer":{"currentTimeMinute":53}}}},"deviceId":"xxx","type":"monitoring"}
30.9.2021, 17:42:14LG ThinQ BridgeLGThinQ[request] get https://eic-service.lgthinq.com:46030/v1/service/homes/xxx
30.9.2021, 17:42:25LG ThinQ BridgeLGThinQ[Waschmaschine] Received snapshot: {"meta":{"allDeviceInfoUpdate":false,"messageId":"MBWgaGuARZSuAyw2qafjcA"},"mid":14307522,"online":true,"static":{"countryCode":"DE","deviceType":"201"},"timestamp":1633016545751,"washerDryer":{"currentTimeMinute":54,"preState":"END","state":"COOLDOWN"}}
30.9.2021, 17:42:25LG ThinQ BridgeLGThinQmqtt message received: {"data":{"state":{"reported":{"meta":{"allDeviceInfoUpdate":false,"messageId":"MBWgaGuARZSuAyw2qafjcA"},"mid":14307522,"online":true,"static":{"countryCode":"DE","deviceType":"201"},"timestamp":1633016545751,"washerDryer":{"currentTimeMinute":54,"preState":"END","state":"COOLDOWN"}}}},"deviceId":"xxx","type":"monitoring"}

The trigger should only trigger if the state is "END".

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

Here the entire log:
Log.txt

from homebridge-lg-thinq.

nVuln avatar nVuln commented on August 11, 2024

Question:

Cant you just import the states in an sitch or something so that based on the stats its possible to make automations?

Not understand, you mean finished state should be configurable in plugin config?

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

It is probably limited to HK but like a security system with diferent states. e.g. Home, Away, Off etc.
Just with END, RUNNING, DRYING etc. with all the states that are specific to each washer.

Or inside the Washer (Valve in HK). So that you do not have to struggle with the trigger and everybody can select if the "state" is equal to "END" than do something.

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

And now with the state "COOLDOWN" the trigger is constantly on.

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

The washer turns itself off after a while but the trigger is still on even the washer is off.

from homebridge-lg-thinq.

nVuln avatar nVuln commented on August 11, 2024

So that you do not have to struggle with the trigger and everybody can select if the "state" is equal to "END" than do something.

my model state is always POWEROFF, when washer finished, state is END in a few second and went to POWEROFF after that, so I think this solution is not worked for me (and some other people like me)

I'm published test version 1.2.8-test.1, if you wanna test please download this version and see if it's worked now

from homebridge-lg-thinq.

Christian-CFP avatar Christian-CFP commented on August 11, 2024

Will try it.
If this will not work for you keep the sensor as it is but add in addition the states to the Valve in HK. Than I can decide whether to use the finished sensor or animation based on the actual state.

from homebridge-lg-thinq.

nVuln avatar nVuln commented on August 11, 2024

Testet it with some more programs (shorter one etc.) and it works. 1.2.8 b2

thank you so much, I'll release new version soon

from homebridge-lg-thinq.

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.