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.98k stars 29.06k forks source link

Panasonic Bluray Integration - Please add / correct integration to support last models #104452

Open Seexelas opened 7 months ago

Seexelas commented 7 months ago

The problem

Hi,

I would like to get the panasonic_bluray integration working with my UB820.

I added the configuration to my configuration.yaml but it's not working, i've put the log in debug, but I don't find any usefull information.

I'm available to troubleshoot, but it's not possible for me to code.

Many thanks, I would like to use my Remote 2 with the media player integration.

What version of Home Assistant Core has the issue?

core-2023.11.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

panasonic_bluray

Link to integration documentation on our website

https://www.home-assistant.io/integrations/panasonic_bluray/

Diagnostics information

home-assistant_2023-11-24T10-00-03.058Z.log

Example YAML snippet

#Pana Tst
  - platform: panasonic_bluray
    host: 192.168.1.12

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 7 months ago

panasonic_bluray documentation panasonic_bluray source

CTeillet commented 7 months ago

Hi, I am trying to integrate my UB820 and I have the same problem, I can see the entity in my entity list but the state is wrong and when I click on turn on, nothing happend.

Yasser commented 6 months ago

I also have an UB820 and a Remote Two. I have not had time to explore with my own device yet, but it looks like the Roomie Remote folks have had success by enabling Voice Control (which turns on the HTTP interface) and then adding sha256 authentication to each POST request. Obviously, not something that the current integration supports, but it may be possible for someone with access to the Roomie code to learn how they are handling authentication. Roomie is proprietary, so no public repos to glean from AFAIK.

There is also a patch available for the UB820/UB900 which removes the need for authentication, but that is obviously outside of the scope of the integration.

vikasgoyalgzs commented 6 months ago

I am in the same boat. I am happy to help with coding in any language.

Yasser commented 6 months ago

I'm also happy to help. I have a very rough start on a custom integration to add remote and media_player entities for the player, but have not branched from the API library used in the core integration.

There seems to be plenty of documentation out there to work from.

albaintor commented 5 months ago

I also have an UB820 and a Remote Two. I have not had time to explore with my own device yet, but it looks like the Roomie Remote folks have had success by enabling Voice Control (which turns on the HTTP interface) and then adding sha256 authentication to each POST request. Obviously, not something that the current integration supports, but it may be possible for someone with access to the Roomie code to learn how they are handling authentication. Roomie is proprietary, so no public repos to glean from AFAIK.

There is also a patch available for the UB820/UB900 which removes the need for authentication, but that is obviously outside of the scope of the integration.

Hi, I had success to make the integration work AFTER patching the bluray player, which is not an easy procedure. I also forked this integration to add full remote control support

vikasgoyalgzs commented 5 months ago

@albaintor, This is super cool! I will try it over the weekend. I downloaded the vm file (vmlubuntu.7z) from the avsforums for the patch, but it is password protected. Do you know what the password is?

Yasser commented 5 months ago

Password is "lulu"

CineMAC-HA commented 4 months ago

Is there hope and interest in a solution without interfering with the firmware. I have a Panasonic UB9004 and I would be happy if I could control it via Homeassisatnt.

Thanks and regards Frank

albaintor commented 4 months ago

Not that I am aware of, and the firmware upgrade is not a piece of cake....

vikasgoyalgzs commented 3 months ago

@albaintor I finally was able to patch my player over the weekend and installed your integration. The patch was nerve wrecking but worth it in the end. Thank you 🙏

vikasgoyalgzs commented 3 months ago

Hi @albaintor, Where can I find a complete list of available commands? I know you have provided a list in your repo, but I am not able to find FWD (forward). Can you share a link to the official documentation?

albaintor commented 3 months ago

Hi, the fast forward command is "CUE". It was missing indeed, I added it to the documentation. I took the commands from here : https://next.openhab.org/addons/bindings/panasonicbdp/

vikasgoyalgzs commented 3 months ago

Thanks, You are awesome!

kernelpanic85 commented 3 months ago

Good stuff guys. I was actually working on adding next/prev and fixing pause status, but you have taken it further with the custom integration. Have you thought about making a PR to just merge this work into the core integration?

respecreload commented 2 months ago

+1 for adding support for the newer blu-ray models (if it is possible). right now the problem seems to be the missing authentication, that these newer models need, right?

I am using a UB-824 here and I can add it via the yaml configuration, but you cannot control anything with it. There is also an error telling me that the media player entity has no unique ID.

not sure if this helps here, but someone on the forum has made some progress with adding more commands: https://community.home-assistant.io/t/solved-panasonic-bluray-integration-skiprev-skipfwd-and-op-cl-incorporated-cd-player-functionality/707761