Code Monkey home page Code Monkey logo

Comments (21)

JasonGoldenDDT avatar JasonGoldenDDT commented on August 11, 2024

Quick update, ran over night and here's LQ Apps energy use report that shows where the AC didn't power on as expected.

For some reason the homebridge log was truncated, excluding overnight activity. For some reason the "Plug-in Log" view for this plugin is blank:

Screenshot 2024-04-07 at 8 03 44 AM

Screenshot 2024-04-07 at 7 59 50 AM
Screenshot 2024-04-07 at 7 59 46 AM

In each event, HomeKit reports the AC as on. LG app when refreshed will show the appliance as off.

from homebridge-lg-thinq.

JasonGoldenDDT avatar JasonGoldenDDT commented on August 11, 2024

Quick update, I continue to find that HomeKit falls out of sync with Device. I have adjusted the "ping" value to 30 seconds from 600 to further troubleshoot the issue.

Testing this morning found HomeKit reported the device as on when it was off . This breaks automation triggered by AC status and keeps temperature triggers from firing as they see the state of the device incorrectly.

please let me know what info I can share here to help narrow this issue down. It's unclear if it's a breakdown between HomeKit, homebridge, or LG server.

from homebridge-lg-thinq.

JasonGoldenDDT avatar JasonGoldenDDT commented on August 11, 2024

Quick update, I continue to have issues with the AC falling out of sync with HomeKit. It's about 80% accurate I think, hard to monitor as I only use this setup when sleeping.

Over the last 3 days I've moved the plugin to its own child bridge and I've streamlined my HomeKit automation.

The expected action is this:

AC turns ON when Hue Temp Sensor rises above 75 F. This triggers a UV light and Booster fan.

AC should turn OFF when the Hue Temp Sensor falls below 75 F. This triggers the UV Light and Booster Fan to remain on for 3 minutes to extract remaining cold air from AC.

Generally this works 80% of the time now with the plug in configured as a Child Bridge and the poll interval set to 30 seconds.

However I still run into situations where HomeKit and LG fall out of sync. Either the AC will continue to run while HomeKit thinks it's off (thus not triggering automation), or it thinks it's OFF when it's actually on.

I have several Hubs, and I've restarted them all multiple times to troubleshoot this issue.
Screenshot 2024-04-12 at 8 16 52 AM

All devices and software are running current versions. Let me know what further detail I can provide to assist.

from homebridge-lg-thinq.

JasonGoldenDDT avatar JasonGoldenDDT commented on August 11, 2024

I'm troubleshooting this issue today and noticed this value come across in the debug log:

airState.energy.onCurrent":1030

This occurred after I power cycled the AC using the LG app as I was trying to determine possible causes for HomeKit falling out of sink.

Is this value used by the plug in to report device status?

[4/16/2024, 10:27:34 AM] [homebridge-lg-thinq] [Air Conditioner] Received snapshot: {"airState.windStrength":6,"airState.bellSound.control":1,"fwUpgradeInfo":{"upgSched":{"upgUtc":"0","cmd":"none"}},"static":{"deviceType":"401","countryCode":"US"},"airState.tempState.current":26,"airState.diagCode":0,"airState.lightingState.displayControl":1,"airState.wDir.hStep":0,"mid":72394897,"airState.energy.onCurrent":1030,"airState.reservation.sleepTime":0,"airState.quality.sensorMon":0,"airState.tempState.target":16,"airState.DR.northAmerica":0,"airState.operation":1,"airState.reservation.targetTimeToStart":0,"meta":{"allDeviceInfoUpdate":false,"messageId":"oen04ZnQT3iKQdrDaVagIw"},"online":true,"airState.opMode":0,"airState.reservation.targetTimeToStop":0,"airState.filterMngStates.maxTime":250,"airState.filterMngStates.useTime":125,"timestamp":1713299232435}

from homebridge-lg-thinq.

nVuln avatar nVuln commented on August 11, 2024

Is this value used by the plug in to report device status?

no, plugin only use airState.operation to report device status ON/OFF

when AC fall of sync, any mqtt message appear is homebridge debug log?

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.