Closed Birdman86 closed 9 months ago
maybe give me some log?
No error shown in the logs.
No error shown in the logs.
normally on the integration, you can select start logging debug. everything will be logged from the integration. and if you stop them, it will download the log will all the results
hi,
from the information that i see in the log, it is still polling the data:
2023-11-18 12:54:38.149 DEBUG (MainThread) [custom_components.tibber_ev.tibber_api] Response {'data': {'me': {'homes': [{'electricVehicles': [{'id': '6dd5d570-4137-40a4-b810-e877f4e251cc', 'name': '2023 Polestar 2 Space', 'shortName': 'Polestar 2', 'lastSeen': '2023-11-18T11:46:25.000+00:00', 'lastSeenText': 'Last updated: 8 minutes ago', 'isAlive': True, 'hasNoSmartChargingCapability': True, 'imgUrl': 'https://resources.tibber.com/vehicles/Polestar_Space.png', 'schedule': {'isEnabled': True, 'isSuspended': False, 'localTimeTo': '07:00:00', 'minBatteryLevel': None}, 'batteryText': '41%', 'chargingText': None, 'consumptionText': 'Charging at home in November:', 'consumptionUnitText': '238 kWh', 'energyCostUnitText': '115 kr', 'chargeRightAwayButton': None, 'chargeRightAwayAlert': None, 'backgroundStyle': 'default', 'energyDealCallToAction': None, 'settingsScreen': {'settings': [], 'settingsLayout': [{'uid': None, 'type': 'header', 'title': 'Smart Charging', 'description': "This Power-up doesn't work with your current version of the Tibber app. Please update the app on your phone.", 'valueText': None, 'imgUrl': None, 'iconName': None, 'isUpdated': None, 'isEnabled': None, 'callToAction': None, 'childItems': None, 'settingKey': None, 'settingKeyForIsHidden': None}]}, 'settingsButtonText': 'How to smart charge this car?', 'settingsButton': {'text': 'How to smart charge this car?', 'url': 'https://support.tibber.com/en/articles/6675026-smart-charge-your-polestar-volvo-recharge-with-tibber', 'redirectUrlStartsWith': None, 'link': None, 'action': None, 'enabled': False}, 'enterPincode': False, 'message': None, 'scheduleSuspendedText': None, 'faqUrl': None, 'battery': {'percent': 41, 'percentColor': '#FFFFFF', 'isCharging': False, 'chargeLimit': 100}}]}]}}}
2023-11-18 12:54:53.172 DEBUG (MainThread) [custom_components.tibber_ev.tibber_api] Response <ClientResponse(https://app.tibber.com/v4/gql) [200 OK]>
<CIMultiDictProxy('Date': 'Sat, 18 Nov 2023 11:54:53 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'X-Powered-By': 'Express', 'Access-Control-Allow-Origin': '*', 'Etag': 'W/"62b-CjCCfkhMqJ762EZfGWiRRse3Wzc"', 'Vary': 'Accept-Encoding', 'Content-Encoding': 'gzip')>
2023-11-18 12:54:53.172 DEBUG (MainThread) [custom_components.tibber_ev.tibber_api] Response {'data': {'me': {'homes': [{'electricVehicles': [{'id': '6dd5d570-4137-40a4-b810-e877f4e251cc', 'name': '2023 Polestar 2 Space', 'shortName': 'Polestar 2', 'lastSeen': '2023-11-18T11:46:25.000+00:00', 'lastSeenText': 'Last updated: 8 minutes ago', 'isAlive': True, 'hasNoSmartChargingCapability': True, 'imgUrl': 'https://resources.tibber.com/vehicles/Polestar_Space.png', 'schedule': {'isEnabled': True, 'isSuspended': False, 'localTimeTo': '07:00:00', 'minBatteryLevel': None}, 'batteryText': '41%', 'chargingText': None, 'consumptionText': 'Charging at home in November:', 'consumptionUnitText': '238 kWh', 'energyCostUnitText': '115 kr', 'chargeRightAwayButton': None, 'chargeRightAwayAlert': None, 'backgroundStyle': 'default', 'energyDealCallToAction': None, 'settingsScreen': {'settings': [], 'settingsLayout': [{'uid': None, 'type': 'header', 'title': 'Smart Charging', 'description': "This Power-up doesn't work with your current version of the Tibber app. Please update the app on your phone.", 'valueText': None, 'imgUrl': None, 'iconName': None, 'isUpdated': None, 'isEnabled': None, 'callToAction': None, 'childItems': None, 'settingKey': None, 'settingKeyForIsHidden': None}]}, 'settingsButtonText': 'How to smart charge this car?', 'settingsButton': {'text': 'How to smart charge this car?', 'url': 'https://support.tibber.com/en/articles/6675026-smart-charge-your-polestar-volvo-recharge-with-tibber', 'redirectUrlStartsWith': None, 'link': None, 'action': None, 'enabled': False}, 'enterPincode': False, 'message': None, 'scheduleSuspendedText': None, 'faqUrl': None, 'battery': {'percent': 41, 'percentColor': '#FFFFFF', 'isCharging': False, 'chargeLimit': 100}}]}]}}}
2023-11-18 12:55:08.159 DEBUG (MainThread) [custom_components.tibber_ev.tibber_api] Response <ClientResponse(https://app.tibber.com/v4/gql) [200 OK]>
<CIMultiDictProxy('Date': 'Sat, 18 Nov 2023 11:55:08 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'X-Powered-By': 'Express', 'Access-Control-Allow-Origin': '*', 'Etag': 'W/"62b-IvVUGw3agFauc5N0BUdrem5VP5M"', 'Vary': 'Accept-Encoding', 'Content-Encoding': 'gzip')>
2023-11-18 12:55:08.159 DEBUG (MainThread) [custom_components.tibber_ev.tibber_api] Response {'data': {'me': {'homes': [{'electricVehicles': [{'id': '6dd5d570-4137-40a4-b810-e877f4e251cc', 'name': '2023 Polestar 2 Space', 'shortName': 'Polestar 2', 'lastSeen': '2023-11-18T11:46:25.000+00:00', 'lastSeenText': 'Last updated: 9 minutes ago', 'isAlive': True, 'hasNoSmartChargingCapability': True, 'imgUrl': 'https://resources.tibber.com/vehicles/Polestar_Space.png', 'schedule': {'isEnabled': True, 'isSuspended': False, 'localTimeTo': '07:00:00', 'minBatteryLevel': None}, 'batteryText': '41%', 'chargingText': None, 'consumptionText': 'Charging at home in November:', 'consumptionUnitText': '238 kWh', 'energyCostUnitText': '115 kr', 'chargeRightAwayButton': None, 'chargeRightAwayAlert': None, 'backgroundStyle': 'default', 'energyDealCallToAction': None, 'settingsScreen': {'settings': [], 'settingsLayout': [{'uid': None, 'type': 'header', 'title': 'Smart Charging', 'description': "This Power-up doesn't work with your current version of the Tibber app. Please update the app on your phone.", 'valueText': None, 'imgUrl': None, 'iconName': None, 'isUpdated': None, 'isEnabled': None, 'callToAction': None, 'childItems': None, 'settingKey': None, 'settingKeyForIsHidden': None}]}, 'settingsButtonText': 'How to smart charge this car?', 'settingsButton': {'text': 'How to smart charge this car?', 'url': 'https://support.tibber.com/en/articles/6675026-smart-charge-your-polestar-volvo-recharge-with-tibber', 'redirectUrlStartsWith': None, 'link': None, 'action': None, 'enabled': False}, 'enterPincode': False, 'message': None, 'scheduleSuspendedText': None, 'faqUrl': None, 'battery': {'percent': 41, 'percentColor': '#FFFFFF', 'isCharging': False, 'chargeLimit': 100}}]}]}}}
as my previous screenshot, did you saw "1 device, 11 entities" or dit you see "2 device, 11 entities"?
The change you did regarding "friendly name" forced it to create a new one, so I had 2 devices, one of which was the old one. I deleted both devices and downloaded version 0.2.2 and created a new one, so now I only have one device, but still same issue.
I'll try a hard reboot.
The change you did regarding "friendly name" forced it to create a new one, so I had 2 devices, one of which was the old one. I deleted both devices and downloaded version 0.2.2 and created a new one, so now I only have one device, but still same issue.
I'll try a hard reboot.
if still issue, send me again a new log file, the previous one it look like it has no issue on it
i've create a new beta version, can you see if this solve the fetch data issue?
@Birdman86
I can confirm that I have the same issue. Testing Beta right now to see if it works.
I can confirm that I have the same issue. Testing Beta right now to see if it works.
just wait a minute, I see that there is still an issue on it
edit: try this: https://github.com/leeyuentuen/tibber_ev/releases/tag/0.2.5
Tested and verified, now it works fine! 😊👍🏻
Yeah, seems to be working fine.
I still have the issue with the latest release.
I have seen that it stops working after a while. After a reload of the integration it updates the data again.
can you try again this new beta? https://github.com/leeyuentuen/tibber_ev/releases/tag/0.2.6
Ok, I have installed it now and will do tests during the day. 😊👍
Looks like it is working now. 🏆👍😊
released
Since updating to latest 0.2.2, it is no longer updating the data. No even reloading the integration will reconnect it. Only way it works is if I remove it and re-add the integration.
Worked just fine on 0.1