Salsalove
(Salsalove)
April 4, 2020, 12:45pm
1
Hi…How can I see my LG TV in the Home app? I integrated the TV into HA with the new configuration, but I don’t know how to view it with homekit:
configuration.yaml
webostv:
host: 192.168.1.215 # match with IP address of your TV
name: LG TV
turn_on_action:
service: wake_on_lan.send_magic_packet
data:
mac: "XX:XX:XX:XX:XX:XX"
customize:
sources:
- livetv
- Youtube
- Apple TV
- Netflix
123
(Taras)
April 7, 2020, 5:46pm
2
If you check Developer Tools > States, is the TV represented as a media_player?
When you configured the Homekit integration, did you list media_player in include_domains
? Or list the specific media_player in include_entities
?
Salsalove
(Salsalove)
April 8, 2020, 10:17am
3
I have not specified any entities or domains. So they are all visible
subzero79
(Subzero79)
April 8, 2020, 11:01am
4
At the end of my homekit yaml file
entity_config:
media_player.lounge_tv:
name: TV
feature_list:
- feature: on_off
- feature: play_pause
- feature: play_stop
- feature: toggle_mute
Then should appear as Apple TV remote in control center
Salsalove
(Salsalove)
April 8, 2020, 11:12am
5
Yes, but I need to see my TV in home app, not only as remote control in control center. Do u can see your tv in home app?
subzero79
(Subzero79)
April 8, 2020, 10:46pm
6
Yes it appears in the home app.
Salsalove
(Salsalove)
April 9, 2020, 9:38am
7
Ok…did it appears as TV or Switch in Home App? Can u share your configuration, HA version, etc? Thanks @subzero79
subzero79
(Subzero79)
April 15, 2020, 11:53pm
8
As a tv showing, on//off and source selection
homekit: !include homekit.yaml
filter:
include_domains:
- media_player
exclude_entities:
- media_player.bedroom_tv
- media_player.kodi_bedroom
- media_player.kodi_lounge
include_entities:
- light.masterbedroom
- light.lounge
- light.toilet
- light.dining_table
- light.front_entrance
- light.living_room
- light.ricardo_bed_light
- switch.fish_pond
- light.patio
- light.garden
- light.bathroom
- switch.bathroom
- light.desktop_fan
- light.desktop_light
- sensor.bathroom_temperature
- sensor.masterbedroom_temperature
- binary_sensor.bathroom_door
- light.kitchen_lights
- fan.masterbedroom
- light.kitchen_fan
- switch.lounge_side_table
entity_config:
media_player.lounge_tv:
name: TV
feature_list:
- feature: on_off
- feature: play_pause
- feature: play_stop
- feature: toggle_mute
Salsalove
(Salsalove)
April 16, 2020, 12:19am
9
Ok, thx…but in configuration.yaml?
subzero79
(Subzero79)
April 16, 2020, 12:20am
10
?
that is configuration.yaml but splitted
homekit: !include homekit.yaml
Salsalove
(Salsalove)
April 16, 2020, 12:22am
11
You don’t have webostv:
in configuration.yaml?
subzero79
(Subzero79)
April 16, 2020, 12:24am
12
Yes but we are talking about homekit. webos doesn’t do homekit
webostv:
host: 10.10.0.17
name: Lounge TV
customize:
sources:
- livetv
- youtube
- netflix
- kodi
turn_on_action:
service: wake_on_lan.send_magic_packet
data:
mac: "14:c9:13:32:67:a9"
Salsalove
(Salsalove)
April 16, 2020, 12:25am
13
Ok…now i understand. Thx for your help!
Salsalove
(Salsalove)
April 16, 2020, 12:29am
14
So in configuration.yaml I should have:
Media_player:
Homekit: #with your configuration
Webostv: (for HA)
subzero79
(Subzero79)
April 16, 2020, 12:30am
15
sure, try that but lowercase
Salsalove
(Salsalove)
April 16, 2020, 12:56am
17
unfortunately, I see TV as a switch
subzero79
(Subzero79)
April 16, 2020, 2:16am
18
Do you have sources in your media player ? I only have sources And power button I don’t have mute button.
Salsalove
(Salsalove)
April 16, 2020, 2:30am
19
I have (configuration.yaml)
media_player: #empty
homekit:
filter:
include_domains:
- media_player
- sensor
- binary_sensor
- switch
- light
- climate
- fan
- device_tracker
- input_boolean
exclude_domains:
- automation
- scene
exclude_entities:
- binary_sensor.tvcamera
- binary_sensor.tvsoggiorno
- switch.learner1
- switch.learner
- light.led_tv
- device_tracker.ipad_pro_di_salsalove
entity_config:
media_player.tv:
name: TV
feature_list:
- feature: on_off
homeassistant:
customize: !include customize.yaml
webostv:
host: 192.168.1.215
name: tv
turn_on_action:
service: wake_on_lan.send_magic_packet
data:
mac: "74:40:be:0d:f2:c4"
customize:
sources:
- livetv
- youtube
- Apple TV
- netflix
And customize.yaml
media_player.tv:
friendly_name: tv
icon: mdi:television
device_class: tv
subzero79
(Subzero79)
April 16, 2020, 5:58am
20
Yes i think this might also be required. Forgot that but is documented