Git Product home page Git Product logo

Comments (11)

merdok avatar merdok commented on May 28, 2024

Hi, i am not quite sure if i understand your issue correctly, but did you should be able to do what you describe in HomeKit already. You trigger some actions or automations based on the TV status. Is there an issue with that?

from homebridge-webos-tv.

JasonGoldenDDT avatar JasonGoldenDDT commented on May 28, 2024

It a problem I have with other plugins on home bridge.

I'm not sure what the technical cause for this problem is. It expressed as repeated triggering of a "device controlled" automation in HomeKit.

If you turn on the tv, HomeKit reflects this instantly.

When the plug in polls the api, it seems like it tells HomeKit again the device is on, trigging the device is on automation again.

from homebridge-webos-tv.

merdok avatar merdok commented on May 28, 2024

What LG TV do you have?

from homebridge-webos-tv.

JasonGoldenDDT avatar JasonGoldenDDT commented on May 28, 2024

Model number 32LQ63BPUA, webOSTV 7.0(2.4.4), TV Firmware 4.40.91.

The TV powers on and off perfectly with HomeKit. It's the repeated automation triggers that makes it difficult to tie automation to its use.

from homebridge-webos-tv.

merdok avatar merdok commented on May 28, 2024

As far as i can see your TV does not use polling to get the status but rather listens to the TV events as it is a newer one. The TV only sends the events when something happens and as far as i know it only sends the turn on event once. What you could is to enable deepDebugLog start homebridge in debug mode and check the log when the situations which you find is not correct happens, you can then post the log here so i can have a look.

from homebridge-webos-tv.

JasonGoldenDDT avatar JasonGoldenDDT commented on May 28, 2024

I see this in the log.

Idk if this causes an update to HomeKit or not.

image

from homebridge-webos-tv.

merdok avatar merdok commented on May 28, 2024

That just states that the plugin is trying to connect to the tv, there might be something that causes it to disconnect, hence you need to enable the deepDebugLog so we can see the full log of what is happening.
https://github.com/merdok/homebridge-webos-tv?tab=readme-ov-file#troubleshooting

from homebridge-webos-tv.

JasonGoldenDDT avatar JasonGoldenDDT commented on May 28, 2024

okay, I added,

{ "name": "Display", "ip": "10.0.145.9", "mac": "4c:ba:d7:e5:02:ea", "broadcastAdr": "10.0.145.233", "hideTvService": false, "volumeLimit": 100, "volumeControl": "none", "channelControl": false, **"deepDebugLog": true** }

And after rebooting homebridge, I see this in the log:

[4/20/2024, 8:42:45 AM] [homebridge-webos-tv] [Display] Error - Error: connect ETIMEDOUT 10.0.145.9:3000 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1605:16) { errno: -110, code: 'ETIMEDOUT', syscall: 'connect', address: '10.0.145.9', port: 3000 } [4/20/2024, 8:42:50 AM] [homebridge-webos-tv] [Display] Connecting to TV [4/20/2024, 8:43:27 AM] [homebridge-webos-tv] [Display] Connecting to TV [4/20/2024, 8:44:04 AM] [homebridge-webos-tv] [Display] Connecting to TV [4/20/2024, 8:44:41 AM] [homebridge-webos-tv] [Display] Connecting to TV [4/20/2024, 8:45:18 AM] [homebridge-webos-tv] [Display] Connecting to TV [4/20/2024, 8:45:55 AM] [homebridge-webos-tv] [Display] Connecting to TV [4/20/2024, 8:46:31 AM] [homebridge-webos-tv] [Display] Connecting to TV

It's unclear how homebridge updates HomeKit. Automation I have tied to the TV's state repeat.

from homebridge-webos-tv.

merdok avatar merdok commented on May 28, 2024

But did you start homebridge in debug mode? This log only indicates that the plugin is trying to connect to your TV, based on that the plugin should not even work.

from homebridge-webos-tv.

JasonGoldenDDT avatar JasonGoldenDDT commented on May 28, 2024

Yep, I've had it turned on to troubleshoot multiple plugins that can't keep homekit in sync. I added the "deep debug" to this webos plug in and started homebridge. What you see is the result. Without interacting with the TV (which I don't usually do during the day), I just get repeated "Connecting messages."

Running 2.4.4 of the plugin.

Screenshot 2024-04-20 at 10 22 35 AM

from homebridge-webos-tv.

merdok avatar merdok commented on May 28, 2024

Yeah, well that is certainly not the complete log so i guess that you are missing something. I would need the complete log, as without that it is impossible for me to tell why your TV constantly re-connects.

from homebridge-webos-tv.

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.