alessiodionisi / homebridge-lgtv2

LG webOS plugin for homebridge: https://github.com/nfarina/homebridge
MIT License
29 stars 7 forks source link

Fantastic App can we take it further #4

Open m11rphy opened 7 years ago

m11rphy commented 7 years ago

This app is fantastic, thank you so much for writing it, I was wondering if we could go a stage further and change HDMI channels or load apps like netflix, amazon and plex ? I believe it is possible in the LG iPhone app

alessiodionisi commented 7 years ago

Hello, thank you!

Change channels, set volume and open apps is possibile. But how can it be integrated into HomeKit?

m11rphy commented 7 years ago

I'm currently using this Sky Box plugin and if you use the elgato eve app you are able to change channels on the sky box and also see current channel being viewed and the show that's playing. Maybe someone similar would be possible from webOs. Chain hung HDMI input would be my number one

https://github.com/shauncampbell/homebridge-sky-plus-hd

alessiodionisi commented 7 years ago

The Eve app is really cool, I'il do something this weekend.

amitgandhinz commented 7 years ago

It could be possible to have each app appear as its own switch accessory in home kit. e.g. A "Netflix" switch which would turn on the tv and execute the Netflix app. To do this i think homebridge-lgtv2 would have to move from accessory to platform, and then expose multiple accessories for each app.

Volume control may be done by doing something similar to the homebridge-sonos plugin.

HDMI input again could be various switch accessories.

alessiodionisi commented 7 years ago

Changelogs

Version 1.3.0

😄

alessiodionisi commented 7 years ago

I have some trouble finding the command to switch channels in webOS API.

m11rphy commented 7 years ago

Can you advise me how to install the latest version of this ? Is it npm update -g homebridge-lgtv2

alessiodionisi commented 7 years ago

npm i -g homebridge-lgtv2 😁

m11rphy commented 7 years ago

Tried updating but now keep getting this error and can't load home bridge

[12/12/2016, 7:35:56 PM] [TV ] Initializing LGTv2 accessory... /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Service.js:71 throw new Error("Cannot add a Characteristic with the same UUID as another Characteristic in this Service: " + existing.UUID); ^

Error: Cannot add a Characteristic with the same UUID as another Characteristic in this Service: 0000006E-0000-1000-8000-0037BB765291 at Service.addCharacteristic (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Service.js:71:13) at new LGTv2 (/usr/local/lib/node_modules/homebridge-lgtv2/index.js:80:16) at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:264:29) at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:80:38) at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10) at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.runMain (module.js:604:10) at run (bootstrap_node.js:394:7) at startup (bootstrap_node.js:149:9) at bootstrap_node.js:509:3

alesoblak commented 7 years ago

Hi, can someone tell me how can I control volume or channel number? I dont see any option in Home app neither in Eve. I installed homebridge on OSMC and power on/off works fine. Great plugin!!! tnx

astrapowerrr commented 7 years ago

Same here. My HomeKit and eve app seems to see it like a light switch? What to do next? Reinstall?

alessiodionisi commented 7 years ago

@alesoblak For now this feature is disabled @astrapowerrr TV is seen as a switch as HomeKit does not have "TV characteristic"

SkyJohn commented 7 years ago

Any update on whether the other options can be enabled?

Being able to turn the TV on and do something like switch the sources or open an app would be super useful.

mikebronner commented 6 years ago

Does changing channels also allow you to change the input source? I would like to switch between my PS4 and ATV4 easily without using the remote. Thanks!