Git Product home page Git Product logo

Comments (8)

mmende avatar mmende commented on August 16, 2024

Did you restart homebridge after the edits? Furthermore it should be required to remove the TV and then add it again since homekit sees stuff like input sources as static I guess. Also at the current version when restarting homebridge remember to keep your tv turned on because the plugin doesn't remember previously seen devices over restarts yet.

from homebridge-samsungtv-control2.

anonymous-tech-user avatar anonymous-tech-user commented on August 16, 2024

I removed the TV from the home app, and restarted Homebridge with edits while the TV was on and now I can't add the TV to HomeKit anymore, it simply doesn't find it. Although under the Homebridge logs, the TV has been initialized and configured and I can see it properly under the accessories page. It just won't be added to HomeKit now.
I tried restoring it to the way I had it yesterday when it was atleast working with the Home app but that restore still wouldn't let me add it to HomeKit.

from homebridge-samsungtv-control2.

mmende avatar mmende commented on August 16, 2024

You can try to remove the accessory file for the tv before restarting homebridge. That solved this kind of problem for me at least. In the homebridge ui click on the three dots in the upper right corner and then Terminal. Then get a list of accessory files in the persist folder ls persist/. This should list a bunch of files like AccessoryInfo.1B1DA7AF38C0.json. You can then have a look in to these files with more persist/AccessoryInfo.1B1DA7AF38C0.json. One of these files should contain the name of your tv {"displayName":"Home TV".... If you found this file just rename it like this mv persist/AccessoryInfo.1B1DA7AF38C0.json persist/AccessoryInfo.1B1DA7AF38C0.json.backup and restart homebridge.

from homebridge-samsungtv-control2.

anonymous-tech-user avatar anonymous-tech-user commented on August 16, 2024

Thank you, the custom inputs finally work, that trick to remove accessory file helped get it back in order. Only two things now, could you please show me how to remove that, “youttube” (YouTube) input? It doesn’t do anything and it is a little irritating. Secondly, you mentioned how the tv has to be on when homebridge restarts but even after homebridge has been set up and device info is mentioned (uuid, mac, ip) it does not update once the TV has been switched on after being turned off unless homebridge is restarted. Is there a way around that? Perhaps adding a ping response (or something like that, not sure what it’s called) to see the TV status is on or off every 30 seconds might help get around this?
Once again, thanks a lot, this plug in is really good

from homebridge-samsungtv-control2.

mmende avatar mmende commented on August 16, 2024

The rc library allows opening some apps (on some models) like youtube in a different way then sending keys to the tv. Currently some of them (e.g. youtube) will be added hardcoded for testing purposes mainly. I will publish a new release where you can configure which of these apps should appear in the inputs. The on / off state management is also in my todo list. For now it should be possible after turning the tv on manually to click the power toggle in the home app... afterwards the tv updated it's state in my home app and I could control it again

from homebridge-samsungtv-control2.

anonymous-tech-user avatar anonymous-tech-user commented on August 16, 2024

Oh I see, well thank you again. And as for the refreshing by turning on the TV manually and then clicking in the home app, that doesn't seem to work, the Home app only reports as the TV "updating" for a while before it just says no response- Clicking it doesn't do anything other than giving a haptic. Weird enough, when I first configured it, the Home app would refresh the status of the TV but after I removed it/added it and removed the accessory file, this did not go back to normal and now unless I restart Homebridge while the TV is on, it doesn't seem to work at all.

from homebridge-samsungtv-control2.

mmende avatar mmende commented on August 16, 2024

The on/off state should now be updated every 15s by pinging the tv. Let me know if this solved the problem for you. I am closing this issue since it is related to custom input's not working.

from homebridge-samsungtv-control2.

anonymous-tech-user avatar anonymous-tech-user commented on August 16, 2024

This did solve the problem for me! Thank you very much!

from homebridge-samsungtv-control2.

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.