home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.87k stars 28.97k forks source link

Philips 55OLED808 Ambilight Control #108299

Open killtux opened 5 months ago

killtux commented 5 months ago

The problem

Hello!

I added a Philips 55OLED808 TV (2023) via the Philips Core Integration. It shows the Ambilight Control but somehow its not working right: When you turn it on, it doesnt react to any Light Settings (Color, Brightness). You can choose a permanent color over the effect dropdown menu like "follow color: hot lava" and then the TV switches to orange. but some seconds later the switch automatically switches itself to off againi (even if the ambilight is still on and orange) - but you cant control color or anything.

image

I have a second, two years older Philips 58PUS8506 set up at my parents house where i can control ambilight when the TV is on, off, set brightness & color and see the correct status in the dashboard.

Because the Philips 55OLED808 TV is still very new maybe there are some changes in the api that have to get adopted? they even removed the ambilight+hue in 2023 models, so maybe they changed something else. for example i can set some audio-strobe effect for the Amblight - this isn't even an option in the TV menu itself. 😅

What version of Home Assistant Core has the issue?

2024.1.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

philips_js

Link to integration documentation on our website

Philips JS

Diagnostics information

config_entry-philips_js.json.txt { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2024.1.3", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.6", "docker": true, "arch": "x86_64", "timezone": "Europe/Vienna", "os_name": "Linux", "os_version": "6.1.71-haos", "supervisor": "2023.12.1", "host_os": "Home Assistant OS 11.4", "docker_version": "24.0.7", "chassis": "vm", "run_as_root": true }, "custom_components": { "ui_lovelace_minimalist": { "version": "v1.3.9", "requirements": [ "aiofiles==0.8.0", "aiogithubapi>=22.2.4" ] }, "generic_hygrostat": { "version": "0.8.0", "requirements": [] }, "nuki_ng": { "version": "0.2.1", "requirements": [] }, "spotcast": { "version": "v3.6.30", "requirements": [] }, "chime_tts": { "version": "v0.12.0", "requirements": [ "pydub" ] }, "alexa_media": { "version": "4.9.0", "requirements": [ "alexapy==1.27.10", "packaging>=20.3", "wrapt>=1.14.0" ] }, "pirateweather": { "version": "1.4.0", "requirements": [ "python-forecastio==1.4.0" ] }, "sonos_cloud": { "version": "0.3.5", "requirements": [] }, "media_player_template": { "version": "1.0.0", "requirements": [] }, "hacs": { "version": "1.33.0", "requirements": [ "aiogithubapi>=22.10.1" ] }, "huesyncbox": { "version": "2.0.1", "requirements": [ "aiohuesyncbox==0.0.26" ] }, "browser_mod": { "version": "2.3.0", "requirements": [] } }, "integration_manifest": { "domain": "philips_js", "name": "Philips TV", "codeowners": [ "@elupus" ], "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/philips_js", "iot_class": "local_polling", "loggers": [ "haphilipsjs" ], "requirements": [ "ha-philipsjs==3.1.1" ], "is_built_in": true }, "data": { "entry": { "entry_id": "17c967d0790d98a23537bcb24e1380a8", "version": 1, "minor_version": 1, "domain": "philips_js", "title": "**REDACTED**", "data": { "host": "192.168.1.189", "api_version": 6, "system": { "notifyChange": "http", "menulanguage": "German", "name": "55OLED808/12", "country": "Austria", "serialnumber": "**REDACTED**", "softwareversion": "TPM231WW_R.001.001.162.022", "model": "55OLED808/12", "deviceid": "**REDACTED**", "nettvversion": "", "epgsource": "no_epg", "api_version": { "Major": 6, "Minor": 1, "Patch": 0 }, "featuring": { "jsonfeatures": { "editfavorites": [ "TVChannels", "SatChannels" ], "recordings": [ "List", "Schedule", "Manage" ], "ambilight": [ "LoungeLight", "Ambilight" ], "menuitems": [ "Setup_Menu" ], "textentry": [ "not_available" ], "applications": [ "TV_Apps", "TV_Games", "TV_Settings" ], "pointer": [ "not_available" ], "inputkey": [ "key" ], "activities": [ "intent" ], "channels": [ "preset_string" ], "mappings": [ "server_mapping" ], "aurora": [ "available" ] }, "systemfeatures": { "tvtype": "consumer", "content": [ "dmr", "pvr" ], "tvsearch": "intent", "pairing_type": "digest_auth_pairing", "secured_transport": "true", "companion_screen": "true" } }, "os_type": "MSAF_2019_P" }, "username": "**REDACTED**", "password": "**REDACTED**" }, "options": {}, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "user", "unique_id": "**REDACTED**", "disabled_by": null }, "data": { "system": { "notifyChange": "http", "menulanguage": "German", "name": "55OLED808/12", "country": "Austria", "serialnumber": "**REDACTED**", "softwareversion": "TPM231WW_R.001.001.162.022", "model": "55OLED808/12", "deviceid": "**REDACTED**", "nettvversion": "", "epgsource": "no_epg", "api_version": { "Major": 6, "Minor": 1, "Patch": 0 }, "featuring": { "jsonfeatures": { "editfavorites": [ "TVChannels", "SatChannels" ], "recordings": [ "List", "Schedule", "Manage" ], "ambilight": [ "LoungeLight", "Ambilight" ], "menuitems": [ "Setup_Menu" ], "textentry": [ "not_available" ], "applications": [ "TV_Apps", "TV_Games", "TV_Settings" ], "pointer": [ "not_available" ], "inputkey": [ "key" ], "activities": [ "intent" ], "channels": [ "preset_string" ], "mappings": [ "server_mapping" ], "aurora": [ "available" ] }, "systemfeatures": { "tvtype": "consumer", "content": [ "dmr", "pvr" ], "tvsearch": "intent", "pairing_type": "digest_auth_pairing", "secured_transport": "true", "companion_screen": "true" } }, "os_type": "MSAF_2019_P" }, "powerstate": "Standby", "context": { "level1": "NA", "level2": "NA", "level3": "NA", "data": "NA" }, "application": { "component": { "packageName": "NA", "className": "NA" } }, "applications": { "com.google.android.finsky.tvmainactivity.TvMainActivity-com.android.vending": { "label": "Play Store", "intent": { "component": { "packageName": "com.android.vending", "className": "com.google.android.finsky.tvmainactivity.TvMainActivity" }, "action": "android.intent.action.MAIN" }, "order": 0, "id": "com.google.android.finsky.tvmainactivity.TvMainActivity-com.android.vending", "type": "app" }, "org.droidtv.channels.ChannelsLauncherActivity-org.droidtv.channels": { "label": "TV-Guide", "intent": { "component": { "packageName": "org.droidtv.channels", "className": "org.droidtv.channels.ChannelsLauncherActivity" }, "action": "android.intent.action.MAIN" }, "order": 0, "id": "org.droidtv.channels.ChannelsLauncherActivity-org.droidtv.channels", "type": "app" }, "org.droidtv.contentexplorer.MainActivity-org.droidtv.contentexplorer": { "label": "Medien", "intent": { "component": { "packageName": "org.droidtv.contentexplorer", "className": "org.droidtv.contentexplorer.MainActivity" }, "action": "empty" }, "order": 0, "id": "org.droidtv.contentexplorer.MainActivity-org.droidtv.contentexplorer", "type": "app" }, "org.droidtv.demome.DemoMeOptionsActivity-org.droidtv.demome": { "label": "Demo-Men\u00fc", "intent": { "component": { "packageName": "org.droidtv.demome", "className": "org.droidtv.demome.DemoMeOptionsActivity" }, "action": "empty" }, "order": 0, "id": "org.droidtv.demome.DemoMeOptionsActivity-org.droidtv.demome", "type": "app" }, "org.droidtv.playtv.PlayTvActivity-org.droidtv.playtv": { "label": "Fernsehen", "intent": { "component": { "packageName": "org.droidtv.playtv", "className": "org.droidtv.playtv.PlayTvActivity" }, "action": "android.intent.action.MAIN" }, "order": 0, "id": "org.droidtv.playtv.PlayTvActivity-org.droidtv.playtv", "type": "app" } }, "source_id": null, "sources": { "content://android.media.tv/channel": { "name": "Watch TV" }, "content://android.media.tv/passthrough/com.mediatek.tvinput%2F.hdmi.HDMIInputService%2FHW5": { "name": "HDMI 1" }, "content://android.media.tv/passthrough/com.mediatek.tvinput%2F.hdmi.HDMIInputService%2FHW6": { "name": "HDMI 2" }, "content://android.media.tv/passthrough/com.mediatek.tvinput%2F.hdmi.HDMIInputService%2FHW7": { "name": "HDMI 3" }, "content://android.media.tv/passthrough/com.mediatek.tvinput%2F.hdmi.HDMIInputService%2FHW8": { "name": "HDMI 4" } }, "ambilight_styles": { "OFF": { "styleName": "OFF" }, "FOLLOW_VIDEO": { "styleName": "FOLLOW_VIDEO", "menuSettings": [ "STANDARD", "VIVID", "IMMERSIVE", "NATURAL", "GAME" ] }, "FOLLOW_AUDIO": { "styleName": "FOLLOW_AUDIO", "algorithms": [ "ENERGY_ADAPTIVE_BRIGHTNESS", "ENERGY_ADAPTIVE_COLORS", "VU_METER", "SPECTRUM_ANALYZER", "KNIGHT_RIDER_CLOCKWISE", "KNIGHT_RIDER_ALTERNATING", "RANDOM_PIXEL_FLASH", "STROBO", "PARTY" ], "maxTuning": 2, "menuSettings": [ "ENERGY_ADAPTIVE_BRIGHTNESS", "VU_METER", "RANDOM_PIXEL_FLASH" ] }, "FOLLOW_COLOR": { "styleName": "FOLLOW_COLOR", "algorithms": [ "MANUAL_HUE", "AUTOMATIC_HUE" ], "maxSpeed": 255, "menuSettings": [ "HOT_LAVA", "DEEP_WATER", "FRESH_NATURE", "ISF", "CUSTOM_COLOR" ] }, "LOUNGE": { "styleName": "LOUNGE" }, "MANUAL": { "styleName": "MANUAL" }, "EXPERT": { "styleName": "EXPERT" }, "GRID": { "styleName": "GRID" }, "FLAG": { "styleName": "FLAG" }, "APP": { "styleName": "APP" }, "GAMEBAR_STYLE_1": { "styleName": "GAMEBAR_STYLE_1" }, "GAMEBAR_STYLE_2": { "styleName": "GAMEBAR_STYLE_2" }, "GAMEBAR_STYLE_3": { "styleName": "GAMEBAR_STYLE_3" }, "GAMEBAR_STYLE_4": { "styleName": "GAMEBAR_STYLE_4" }, "GAMEBAR_STYLE_5": { "styleName": "GAMEBAR_STYLE_5" } }, "ambilight_topology": null, "ambilight_current_configuration": { "styleName": "OFF", "isExpert": false }, "ambilight_mode_raw": "internal", "ambilight_modes": [ "internal", "manual", "expert", "lounge" ], "ambilight_power_raw": { "power": "Off" }, "ambilight_power": "Off", "ambilight_cached": { "layer1": { "left": { "0": { "r": 0, "g": 0, "b": 0 }, "1": { "r": 0, "g": 0, "b": 0 }, "2": { "r": 0, "g": 0, "b": 0 }, "3": { "r": 0, "g": 0, "b": 0 }, "4": { "r": 0, "g": 0, "b": 0 }, "5": { "r": 0, "g": 0, "b": 0 }, "6": { "r": 0, "g": 0, "b": 0 } }, "top": { "0": { "r": 0, "g": 0, "b": 0 }, "1": { "r": 0, "g": 0, "b": 0 }, "2": { "r": 0, "g": 0, "b": 0 }, "3": { "r": 0, "g": 0, "b": 0 }, "4": { "r": 0, "g": 0, "b": 0 }, "5": { "r": 0, "g": 0, "b": 0 }, "6": { "r": 0, "g": 0, "b": 0 }, "7": { "r": 0, "g": 0, "b": 0 }, "8": { "r": 0, "g": 0, "b": 0 }, "9": { "r": 0, "g": 0, "b": 0 }, "10": { "r": 0, "g": 0, "b": 0 }, "11": { "r": 0, "g": 0, "b": 0 }, "12": { "r": 0, "g": 0, "b": 0 }, "13": { "r": 0, "g": 0, "b": 0 }, "14": { "r": 0, "g": 0, "b": 0 }, "15": { "r": 0, "g": 0, "b": 0 }, "16": { "r": 0, "g": 0, "b": 0 }, "17": { "r": 0, "g": 0, "b": 0 }, "18": { "r": 0, "g": 0, "b": 0 }, "19": { "r": 0, "g": 0, "b": 0 }, "20": { "r": 0, "g": 0, "b": 0 }, "21": { "r": 0, "g": 0, "b": 0 }, "22": { "r": 0, "g": 0, "b": 0 } }, "right": { "0": { "r": 0, "g": 0, "b": 0 }, "1": { "r": 0, "g": 0, "b": 0 }, "2": { "r": 0, "g": 0, "b": 0 }, "3": { "r": 0, "g": 0, "b": 0 }, "4": { "r": 0, "g": 0, "b": 0 }, "5": { "r": 0, "g": 0, "b": 0 }, "6": { "r": 0, "g": 0, "b": 0 } } } }, "ambilight_measured": null, "ambilight_processed": null, "screenstate": null, "on": true, "channel": null, "channels": {}, "channel_lists": { "all": { "version": "0_0_0", "id": "all", "listType": "MixedSources", "medium": "mixed", "operator": "None", "installCountry": "Austria", "Channel": [] }, "allanalog": { "version": "0_0_0", "id": "allanalog", "listType": "TV", "medium": "none", "operator": "None", "installCountry": "Austria", "Channel": [] } }, "favorite_lists": { "1": { "version": "3", "id": "1", "type": "MixedSources", "medium": "mixed", "name": "Favourites 1", "channels": [] }, "2": { "version": "3", "id": "2", "type": "MixedSources", "medium": "mixed", "name": "Favourites 2", "channels": [] }, "3": { "version": "3", "id": "3", "type": "MixedSources", "medium": "mixed", "name": "Favourites 3", "channels": [] }, "4": { "version": "3", "id": "4", "type": "MixedSources", "medium": "mixed", "name": "Favourites 4", "channels": [] }, "5": { "version": "3", "id": "5", "type": "MixedSources", "medium": "mixed", "name": "Favourites 5", "channels": [] }, "6": { "version": "3", "id": "6", "type": "MixedSources", "medium": "mixed", "name": "Favourites 6", "channels": [] }, "7": { "version": "3", "id": "7", "type": "MixedSources", "medium": "mixed", "name": "Favourites 7", "channels": [] }, "8": { "version": "3", "id": "8", "type": "MixedSources", "medium": "mixed", "name": "Favourites 8", "channels": [] } } } } }

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 5 months ago

Hey there @elupus, mind taking a look at this issue as it has been labeled with an integration (philips_js) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `philips_js` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign philips_js` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


philips_js documentation philips_js source (message by IssueLinks)

thehijacker commented 4 months ago

I have same problem with PML9008. It uses latest Titan OS. How can we help to debug?

elupus commented 4 months ago

The tv`s are really buggy. For example you select one effect, it will layer report the next one in the list (off by one bug in the firmware). You cant always turn off and so on.

But the best way to play around and debug is to use the haphilipsjs python library directly and speak to the tv.

aegjoyce commented 2 months ago

After a lot of trial and error I have written a custom component that is designed to work around the various bugs with ambilight in the jointspace api - you could see if this works? Install via HACS - https://github.com/aegjoyce/custom-ambilight

Happy to talk through what I've found with you @elupus if you're thinking about tweaking the integration - have only been able to test on my tv though (55OLED804)