Giter VIP home page Giter VIP logo

Comments (26)

overbog avatar overbog commented on August 22, 2024 1

from homebridge-webos-tv.

overbog avatar overbog commented on August 22, 2024 1

from homebridge-webos-tv.

merdok avatar merdok commented on August 22, 2024

I noticed that too. Sometimes it happens but i am not yet sure why. But as far as i know it doesn't affect the functionality of the plugin, just the response sometimes comes...
Anyway i will keep an eye on this and see if i can fix that in the future.

from homebridge-webos-tv.

overbog avatar overbog commented on August 22, 2024

The broadcast address is not provided to wol. This is required when there are multiple network interfaces. In these situations, the device can not be switched on.

from homebridge-webos-tv.

merdok avatar merdok commented on August 22, 2024

@overbog could you give me some more details about it? What do you mean with broadcast address? By multiple network interfaces you mean when the TV is connected through LAN and WiFI at the same time?

from homebridge-webos-tv.

asm09fsu avatar asm09fsu commented on August 22, 2024

@overbog That's quite interesting. When I get home tonight I'll see if I am connected via both WiFi and LAN (I'm pretty sure I am, actually).

from homebridge-webos-tv.

overbog avatar overbog commented on August 22, 2024

from homebridge-webos-tv.

asm09fsu avatar asm09fsu commented on August 22, 2024

@merdok since this seems to be a package issue, should we look at a different WOL package? Seems like the one you use is a few years old

from homebridge-webos-tv.

overbog avatar overbog commented on August 22, 2024

from homebridge-webos-tv.

asm09fsu avatar asm09fsu commented on August 22, 2024

@overbog I understand, however your changes were changes for the node-wake-on-lan package, which is a sub-package of this package

from homebridge-webos-tv.

merdok avatar merdok commented on August 22, 2024

As far i as i understand it, it is an issue related to the node-wake-on-lan package which is a dependency. If there is another WOL package which supports that functionality then i can gladly include it.

from homebridge-webos-tv.

asm09fsu avatar asm09fsu commented on August 22, 2024

@overbog can you submit your fix as a PR?

from homebridge-webos-tv.

merdok avatar merdok commented on August 22, 2024

@overbog I am still not sure what it has to do with this issue and for what use cases does it help?
As far as i know understood it, it helps people who connected their TV using both WiFi and LAN at the same time?

from homebridge-webos-tv.

overbog avatar overbog commented on August 22, 2024

from homebridge-webos-tv.

overbog avatar overbog commented on August 22, 2024

from homebridge-webos-tv.

asm09fsu avatar asm09fsu commented on August 22, 2024

I am currently connected via LAN and am seeing this issue.

from homebridge-webos-tv.

merdok avatar merdok commented on August 22, 2024

@overbog The TV WiFi doesn't disconnect when you turn off the TV as long as you have the "Mobile TV on" option enabled. At least the WiFi still listens for the WOL package when the TV is off. This could maybe be different on older WebOS TVs.

@asm09fsu only via LAN? I think if you are only connected via LAN then you should not have the issue...

from homebridge-webos-tv.

merdok avatar merdok commented on August 22, 2024

Well i have the same firmware version and everything works fine, WiFi doesn't shutdown.

from homebridge-webos-tv.

asm09fsu avatar asm09fsu commented on August 22, 2024

@merdok What iOS version do you have running on your Apple TV / HomePod? I've got a non-4k Apple TV running 11.3 beta, and the home pod running 11.2.6 (or whatever is in production). Trying to see if this is an overall Homebridge issue

from homebridge-webos-tv.

overbog avatar overbog commented on August 22, 2024

First:
Let's ignore my wifi off issue since it can be a model/country specific behavior. And has nothing to do with this plugin.

Then:
My apple tv 4th generation version is 11.2.6.

Now:
It's clear that we are talking about two or more different issues here:
1: My case
Multihomed homebridge (pi or whatever device is running on): My patch solved the problem for me.
2: asm09fsu case
Failures when trying to power On/0ff Since it manifests in both cases we exclude a WOL issue.
There are some questions here.

  • It happens all the time? @merdok says he noticed that behavior sometimes...
  • Is this reproducible using Home app? Siri may fail to identify the right service and try to use mute switch.
  • What about other apps. I've noticed that sometimes my Home app gets out off sync with accessories states with my other plugins too. I'm using Elgato Eve in those cases because it has an accessory view that can be refreshed on demand.

from homebridge-webos-tv.

merdok avatar merdok commented on August 22, 2024

@asm09fsu I don't have an Apple TV nor a HomePod. I use an iPad as my Home hub.

@overbog what do you mean by "Multihomed homebridge"? You have more then 1 homebridge server running?

The WOL magic packet is only relevant for turning ON the TV, for turning off internal TV commands are used.

I sometimes noticed the behavior that the TV doesn't respond when asking Siri about the status, but the TV turning ON always works for me.

from homebridge-webos-tv.

asm09fsu avatar asm09fsu commented on August 22, 2024

I have the issue when turning on the TV about 90% of the time.

from homebridge-webos-tv.

overbog avatar overbog commented on August 22, 2024

@merdok Multihoming
Multihomed homebridge was a bad choice. The device that runs homebridge is multihomed.
Ex: In my case (for energy efficiency) homebridge is running on a Mini PC Intel® NUC connected to many networks as it serve multiple other purposes: router, web/database server, NVR, NAS, etc and it's shared with one of my neighbors soo it's connected to multiple networks.
And yes it runs 2 homebridge instances each on different network but this is not so relevant. Once you have more than 1 one interfaces WOL needs to know where to send the request.

About Siri. Is not available in my language. Works fine for me (when recognize my accent), turning the TV on or off each time.

I've noticed an unexpected behavior:
Hey Siri!
TV status
---"Checking around the house"
--Toggles TV power state.
---"Sorry, I didn't hear back from your devices"

Hey Siri!
TV status?
---Tell me the status (as expected).

So if does not that there is a question, tries to do something(no idea what) and fails... .
Here is the log for "Hey Siri/TV status" with the TV off:
TV os powered on then...
[2018-3-4 10:16:12] [TV] webOS - connected to TV
[2018-3-4 10:16:12] [TV] webOS - current appId: com.webos.app.livetv
[2018-3-4 10:16:12] [TV] webOS - TV muted: No
[2018-3-4 10:16:16] [TV] webOS - Error: Sec-WebSocket-Accept header from server didn't match expected value of xb7ZU4jezIuRvVVXZNbFi8t9Zgc=

from homebridge-webos-tv.

overbog avatar overbog commented on August 22, 2024

@asm09fsu I have the issue when turning on the TV about 90% of the time.
With Siri or Home app?

from homebridge-webos-tv.

merdok avatar merdok commented on August 22, 2024

Ok, so there are 2 things which we are talking about here. Multiple WOL interfaces which are not part of this issue, and the "device not responding issue" when using Siri which is part of this issue.

I think the issue with the WOL is so rare that it can be ignored for now, i guess not many people run the multiply interfaces on device...

There other issue, which i can confirm by myself, definitely exists and more people are affected by it. I currently don't know from what it comes but i sometimes experience it by myself.
@asm09fsu i don't think that your issue that you cannot turn on the TV in 90% of the time is related to this plugin, but more to your network or hardware.

from homebridge-webos-tv.

asm09fsu avatar asm09fsu commented on August 22, 2024

I will close this since we don’t want to attempt to find a resolution. If the WOL issue is still present, please open another issue.

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.