Closed PaulWebster closed 3 years ago
You can take a look at the XML at https://github.com/alexmohr/sonyapilib/blob/master/tests/data/ircc.xml
Making progress. I think that the data that it wants is in dmr.xml - and the code allows for that by checking to see if the Ircc port is the same as the dmr port if self.ircc_port == self.dmr_port:
However, the call to this is from HASS via sony/media_player.py ... so I think this means that media_player.py needs to allow the IRCC port to be specified and then this needs to be passed through from there to here. I'll create a new issue over there and reference this one.
Update ... it looked like ircc_port was not being taken from the configuration.yaml file However, I think that this was happening because the device was configured prior to the field being available. So - I removed the sony.conf file to force a new config flow and then it was picked up ... at least I think that is what happened (lots of moving parts).
Update ... it looked like ircc_port was not being taken from the configuration.yaml file However, I think that this was happening because the device was configured prior to the field being available. So - I removed the sony.conf file to force a new config flow and then it was picked up ... at least I think that is what happened (lots of moving parts).
Hi, I have the same problem as yours. What steps did you take to resolve this issue? Thanks
I did exactly as I wrote earlier. Note though that the code has had a few updates since this ticket so make sure you are using the latest.
I did exactly as I wrote earlier. Note though that the code has had a few updates since this ticket so make sure you are using the latest.
I didn’t see the sony.conf file in the code source. Perhaps it has been removed since this ticket?
The sony.conf files does not belong to this repository. It will be generated by the home assistant component as soon as the device configuration is done.
@PaulWebster @hongphuc95 Is this issue still relevant to you or where you able to solve this issue?
Not an issue for me.
Closing this due to inactivity
I am trying to get an old Sony TV integrated. However, it is not getting through the early phases because the request to fetch from /Ircc.xml fails.
I am digging around to try to see if the info is hiding somewhere else or if I can bypass the call. Can you post what would normally be returned from that URL so that I can see if equivalent info is available via a different URL/port?