bendavid / aiopylgtv

Library to control webOS based LG Tv devices
MIT License
143 stars 47 forks source link

Add support for setting PC mode for an HDMI input #35

Open chros73 opened 2 years ago

chros73 commented 2 years ago

Using this PR as an example:

aiopylgtvcommand 192.168.1.18 set_other_settings "{\"hdmiPcMode\": {\"hdmi2\": false}}"
aiopylgtvcommand 192.168.1.18 set_other_settings "{\"hdmiPcMode\": {\"hdmi2\": true}}"
aiopylgtvcommand 192.168.1.18 set_other_settings "{\"hdmiPcMode\": {\"hdmi2\": false, \"hdmi3\": true}}"

Note: it changes PC vs non-PC modes fine, but the Input manager (com.webos.app.inputmgr) app and the Input button on the remote don't reflect the change.

Relates to: https://github.com/bendavid/aiopylgtv/issues/30#issuecomment-870494677

chros73 commented 2 years ago

Maassoft found out the proper way to switch between PC and non-PC mode.