Virgin Media Integration for TV 360

Ive recently just moved back to Virgin Media and have a (new??) TV 360 box.

I can see that @Bertbert has a component for Tivo boxes, but are these totally different to the TV 360

Anyone have any news on an integration for the TV 360

UPDATE: The Ziggonext integration on HACS has been updated to include support for Virgin Media. Many thanks to @sholofly for making this work for us here in the UK.

Thank you

1 Like

The Virgin V6 and Tivo run the same software and both work with the component.

Amazing. I tried a few weeks ago but couldn’t get it working. Now I know it should work, I’ll try again!! Thank you

Im struggling to get past

Note: Ensure you have enabled Network Remote Control on your Tivo box

I cant seem to find this setting in the TV V6 box?

Also, I have tried to download and use the VM TV Control App but get a message saying “No compatible Virgin TV Boxes were foun on this account”. Unsure if this uses the same protocol as a network remote would do?

Would you have any suggestions please @Bertbert?

Ive just realised why im struggling. Its a TV 360 box that I have that they ship with now. Are these compatible?

Thank you

That would be a definite “no”. The new TV360 boxes don’t run the Tivo software so won’t be controllable via the Tivo published telnet API. I don’t have one of these and can’t find any documentation on an interface that can be used to control it.

If someone comes up with a way of controlling it over the network, I can have a look at whether the component can be made compatible.

Thank you for confirming.

Looks like similar Liberty Global boxes in other regions do have a way of being controlled. But nothing for the UK version yet. Could be just that they are so new, nobody has got around to it yet rather than the UK ones being more locked down. Not something that I can investigate without having a box. It’s a very different beast with different capabilities so probably would be a ground-up rewrite. Or maybe just a change to one of the other implementations. E.g.

1 Like

Hi Bert,
I think VM only started shipping these boxes in December? So hopefully something will follow.

Even at https://virgintvgo.virginmedia.com/en.html I only have the most basic info. It doesnt pick up the channels playing and the “remote” will only do up, down, left, right, okay, menu, on/off!

I have inspected the pages being used on the app and they come back with info from dmtgo.upc.biz such as

OK(BF)|activeGateTimestamp=1613416123932|activeGateId=617xxxx44|dtCookie=17%248128369CDB8BD00D353A144E0B931A2C%7C0b0f35947cfb4345%7C1|name=ruxitagent|config=app%3D0b0f35947cfb4345%7Ccors%3D1%7CfeatureHash%3DICA27SVfhjqrux%7Cvcv%3D2%7CreportUrl%3Dhttps%3A%2F%2Fdmtgo.upc.biz%3A443%2Fbf%2F367fef8e-4e50-4d71-9029-c4e067198777%7Crdnt%3D1%7Cuxrgce%3D1%7Ccuc%3Do7pf9fu4%7Cdpvc%3D1%7Cmd%3Dmdcc1%3Dbs.pageName%7ClastModification%3D1613118852921%7CdtVersion%3D10205201218101503%7Ctp%3D500%2C50%2C0%2C1%7Cuxdcw%3D1500%7Cvs%3D2%7Cbs%3D1%7Capp%3D0b0f35947cfb4345%7CagentUri%3Dhttps%3A%2F%2Fdmtgo.upc.biz%3A443%2Fjstag%2Fmanaged%2Fruxitagent_ICA27SVfhjqrux_10205201218101503.js|featureHash=ICA27SVfhjqrux|buildNumber=10205201218101503|lastModification=1613118852921

Not sure if ruxitagent means anything?

Kind regards

I have had a look around some of the ZiggoNext forks and https://github.com/ashmodai6/Ziggo_Mediabox_Next has a fork to work for a Swizerland version. I can see in their code they are using;

API_URL_SESSION = “https://web-api-prod-obo.horizon.tv/oesp/v3/CH/eng/web/session

These URLs are very similar to the VM addresses who also use oesp too and the VM equivalent at https://prod.oesp.virginmedia.com/oesp/v3/CH/eng/web/session returns me the same result.

However, im unsure if the Ziggo_Mediabox_Next is an older version of the current version that @sholofly has written, and in the ZiggoNext i can not see where I would change the URLs to Virgin Medias addresses

Not really sure where I go from here as im no developer!

There’s also possible support for Virgin Media Ireland in the latest release. Please contact me if you are able to test this.

2 Likes

I can - Irish TV 360 box

Hi Ian,

Thanks for your cooperation.

You should be able to use the component. Have you already tried to set it up? Did you get any errors in the log messages?

Tried it , but getting errors:

2021-06-23 21:25:33 ERROR (MainThread) [homeassistant.setup] Error during setup of component ziggonext

Traceback (most recent call last):

File “/usr/src/homeassistant/homeassistant/setup.py”, line 248, in _async_setup_component

result = await task

File “/usr/local/lib/python3.8/concurrent/futures/thread.py”, line 57, in run

result = self.fn(*self.args, **self.kwargs)

File “/config/custom_components/ziggonext/init.py”, line 32, in setup

api.connect()

File “/usr/local/lib/python3.8/site-packages/ziggonext/ziggonext.py”, line 277, in connect

self._api_url_settop_boxes = self.country_config[“personalization_url_format”].format(household_id=self.session.householdId)

KeyError: ‘householdId’

Blockquote

Any ideas on this ?
I have been dying to try this out for over 12 months since i got the box installed.

@sholofly did you get any further with this?

No further answer on this - I’ve had a look at the python code and the api, and not sure where the issue is.
Have changed my password on VM to a one using non-special characters to rule out any issues.
Still not working.
is this confirmed as working in IE?

Hey guys before I dig too far into this, is this actually working ?

Im getting the following errors -

2022-04-23 09:25:08 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140231610729424] Received {‘type’: ‘call_service’, ‘domain’: ‘arris_dcx960’, ‘service’: ‘remote_key_press’, ‘service_data’: {}, ‘id’: 115}

2022-04-23 09:25:08 DEBUG (MainThread) [homeassistant.core] Invalid data for service call arris_dcx960.remote_key_press: {}

2022-04-23 09:25:08 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140231610729424] Sending {“id”:115,“type”:“result”,“success”:false,“error”:{“code”:“invalid_format”,“message”:“required key not provided @ data[‘remote_key’]”}}

Example of one of the buttons -

type: custom:button-card
icon: mdi:arrow-left-thick
styles:
  name:
    - font-size: 20px
    - padding: 10px 0px
    - height: 25px
color_type: card
color: >-
  linear-gradient(90deg, rgba(0,0,0,1) 22%, rgba(222,222,222,1) 47%,
  rgba(0,0,0,1) 73%)
tap_action:
  action: call-service
  service: arris_dcx960.remote_key_press
  service_data: null
  entity_id: media_player.virgin_lounge
  remote_key: ArrowLeft

I have the older version of the Virgin Tivo, so can’t test this directly, but I suspect the problem is just with how you’ve indented your code:

tap_action:
  action: call-service
  service: arris_dcx960.remote_key_press
  service_data:
    entity_id: media_player.virgin_lounge
    remote_key: ArrowLeft

I removed the null after service_data as well as it makes no real sense being there.

Thanks @reste_narquois ….the null on service data and indents were indeed the problem…all up and running now!