telenet_telemeter
telenet_telemeter copied to clipboard
Telenet: multiple internet subscriptions (abonnementen) - the data of only 1 subscription is shown
When one has multiple subscriptions e.g. 1 modem at the main residence and 1 modem at a secondary residence, only the data of 1 internet subscription are available. The data of the mobile services on the other hand, are available for both subscriptions.
I don't have such account with multiple subscriptions. If you could share the (annonimzed) data shown within the attribute telemeter_json I can take a look to support this.
internetProductDetails = session.productSubscriptions("INTERNET")
internetProductDetails[0] = {'activationDate': 'xxxxxxxxxxxxxx', 'addressId': '9999999999999999999', 'identifier': '******', 'label': 'All-Internet / ******', 'locationId': '9999999999999999999', 'status': 'Active', 'productType': 'internet', 'internetType': 'FUP', 'specurl': 'https://api.prd.telenet.be/omapi/public/product/INTF0200', 'id': '9999999999999999999', 'useSpecurl': True, 'hasVoiceMail': False}
internetProductDetails[1] = {'activationDate': 'xxxxxxxxxxxxxx', 'addressId': '9999999999999999999', 'identifier': '******', 'label': 'WIGO Home S / WIGOHOMES_9999999', 'locationId': '9999999999999999999', 'status': 'Active', 'productType': 'bundle', 'internetType': 'CAP', 'bundleIdentifier': 'WIGOHOMES_9999999', 'specurl': 'https://api.prd.telenet.be/omapi/public/product/WIGO0001', 'id': '9999999999999999999', 'useSpecurl': True, 'hasVoiceMail': False, 'bundleType': 'WIGO'}
Only internetProductDetails[0] appears in HA.
planinfo = session.planInfo() list size = 5
planinfo[0] = {'activationDate': 'xxxxxxxxxx ', 'addressId': '99999999999999', 'identifier': '********', 'label': 'All-Internet / ********', 'locationId': '99999999999999999', 'status': 'Active', 'productType': 'internet', 'isDataOnlyPlan': False, 'specurl': 'https://api.prd.telenet.be/omapi/public/product/INTF0200', 'id': '99999999999999', 'useSpecurl': False, 'hasVoiceMail': False, 'hasActiveMyBill': False}
...
planinfo[2] = {'activationDate': xxxxxxxxxxxxx, 'addressId': '999999999999999', 'identifier': 'WIGOHOMES_99999999, 'label': 'WIGO Home S / WIGOHOMES_999999999', 'locationId': '99999999999999999999', 'status': 'Active', 'productType': 'bundle', 'isDataOnlyPlan': False, 'products': [{'identifier': 99999999', 'productType': 'telephone', 'isDataOnlyLine': False}, {'identifier': '******', 'productType': 'internet', 'isDataOnlyLine': False}, {'identifier': 'DTV99999999', 'productType': 'dtv', 'isDataOnlyLine': False}], 'specurl': 'https://api.prd.telenet.be/omapi/public/product/WIGO0001', 'bundleFamily': 'WIGO', 'id': 9999999999999999', 'useSpecurl': False, 'hasVoiceMail': False, 'hasActiveMyBill': False}
...
"If you could share the (anonymized) data shown within the attribute telemeter_json I can take a look to support this."
As there is no sensor for internetProductDetails[1] or planinfo[2], there is no relevant attribute telemeter_json.