Closed djrams10 closed 5 years ago
If you have type "tv", why do you want AutoOff? AutoOff is for switch/light/outlet.
because I can turn on my TV with the hdmi cec, which will be a problem because he does not know the state of my tv. I hope you understand me well. Do you think it's possible?
And has your TV ETH RJ45/WiFi?
ETH RJ45, why? it's a television of 2013. I use this plugin. https://github.com/gw-wiscon/homebridge-philipstv#readme . I can know the state, put it out, but I can not start it. That's why I need the broadlink plugin, but I would like it to be displayed as a tv.
The reason S474N asks is that this plugin uses pingIPAddress to monitor the TVs status. If you add this to your TV config with the host name or IP of your TV the status will update based on whether it’s on the network.
It would be really great !!! Could you give me an example of config.json to point me in the right direction? thank you in advance
What do you think?
"name": "Télévision", "type": "switch", "pingIPAddress": "192.168.86.123", "data": { "on": "260068001b1e1c1e391f1b1f1b1e1c1e1c1e1b1f1b3b1c1e38201b000b961b1f1b1f381f1b1f1b1f1b1f1b1f1b1f1b3b1b1f381f1b000b971b1e1c1e391f1b1f1b1e1c1e1c1e1b1f1b3b1c1e38201b000b961b1f1b1f381f1b1f1b1f1b1f1b1f1b1f1b3b1b1f381f1b000d05 " }
the pingIPAddress does not work with the "switchtv", it works with the "switch" but it turns on and off, until turn off the tv.
Try adding "pingIPAddressStateOnly": true, too.
thank you, it's done. All works with the switch, but can you confirm me, it does not work with type "TV". I tried and no reaction.
Type is "tv", not "TV".
I identified the problem. The pingadress check does not go back to the homekit directly. I am forced to open the home app to update and interop the ip. Could you help me solve this problem? Thank you
after a long search, I ended up reinstalling everything and it works. the status goes back to homekit. Thank you all
Hello, I set up a swtich tv and I would like to activate the function "enableAutoOff": true I need it to turn off quickly. Could you help me because it worked with the switch but not with tv. I show you my config file. Thanks