DrozmotiX / ioBroker.tado

Tado cloud connector to control Tado devices
MIT License
24 stars 13 forks source link

After Update to js 3.0.14 no connect to cloud #26

Closed CKMartens closed 4 years ago

CKMartens commented 4 years ago

Describe the bug
After updating to js 3.0.14, the adapter can no longer connect to the tado cloud

Screenshots & Logfiles

12345-04-21 07:21:35.325 - debug: tado.0 (24582) client_secret decrypt ready
12345-04-21 07:21:35.691 - info: tado.0 (24582) Connected to Tado cloud, initialyzing ...
12345-04-21 07:21:35.691 - debug: tado.0 (24582) GetMe result : {"name":xxxxxxxxxxxxx,"email":"xxxxxxxxxx@xxxxxx.xxx","username":"xxxxxxxxxx@xxxxxx.xxx","id":"xxxxxxxxxxxxx","homes":[{"id":12345,"name":"Casa Martens"}],"locale":"de_DE","mobileDevices":[{"name":"xxxxxx","id":333015,"settings":{"geoTrackingEnabled":true,"onDemandLogRetrievalEnabled":true,"pushNotifications":{"lowBatteryReminder":true,"awayModeReminder":true,"homeModeReminder":true,"openWindowReminder":true,"energySavingsReportReminder":false}},"location":{"stale":false,"atHome":true,"bearingFromHome":{"degrees":000.000000,"radians":000.000000},"relativeDistanceFromHomeFence":0},"deviceMetadata":{"platform":"Android","osVersion":"10","model":"xxxxxxxxxx","locale":"de"}}]}
12345-04-21 07:21:35.691 - debug: tado.0 (24582) JSON data written for Stage_01_GetMe_Data with values : {"name":xxxxxxxxxxxxx,"email":"xxxxxxxxxx@xxxxxx.xxx","username":"xxxxxxxxxx@xxxxxx.xxx","id":"xxxxxxxxxxxxx","homes":[{"id":12345,"name":"Casa Martens"}],"locale":"de_DE","mobileDevices":[{"name":"xxxxxx","id":333015,"settings":{"geoTrackingEnabled":true,"onDemandLogRetrievalEnabled":true,"pushNotifications":{"lowBatteryReminder":true,"awayModeReminder":true,"homeModeReminder":true,"openWindowReminder":true,"energySavingsReportReminder":false}},"location":{"stale":false,"atHome":true,"bearingFromHome":{"degrees":000.00000,"radians":000.00000},"relativeDistanceFromHomeFence":0},"deviceMetadata":{"platform":"Android","osVersion":"10","model":"xxxxxxxx","locale":"de"}}]}
12345-04-21 07:21:35.691 - debug: tado.0 (24582) HomeId 12345 name : Stage_01_GetMe_DataStage_01_GetMe_Data value {"name":xxxxxxxxxxxxx,"email":"xxxxxxxxxx@xxxxxx.xxx","username":"xxxxxxxxxx@xxxxxx.xxx","id":"xxxxxxxxxxxxx","homes":[{"id":12345,"name":"Casa Martens"}],"locale":"de_DE","mobileDevices":[{"name":"xxxxxx","id":333015,"settings":{"geoTrackingEnabled":true,"onDemandLogRetrievalEnabled":true,"pushNotifications":{"lowBatteryReminder":true,"awayModeReminder":true,"homeModeReminder":true,"openWindowReminder":true,"energySavingsReportReminder":false}},"location":{"stale":false,"atHome":true,"bearingFromHome":{"degrees":000.00000,"radians":000.00000},"relativeDistanceFromHomeFence":0},"deviceMetadata":{"platform":"Android","osVersion":"10","model":"xxxxxxxxx","locale":"de"}}]}
12345-04-21 07:21:35.693 - error: tado.0 (24582) Disconnected from Tado cloud service ..., retry in 30 seconds !
12345-04-21 07:21:35.697 - debug: tado.0 (24582) Create_state called for : 12345._info.JSON_response.Stage_01_GetMe_Data with value : {"name":xxxxxxxxxxxxx,"email":"xxxxxxxxxx@xxxxxx.xxx","username":"xxxxxxxxxx@xxxxxx.xxx","id":"xxxxxxxxxxxxx","homes":[{"id":12345,"name":"Casa Martens"}],"locale":"de_DE","mobileDevices":[{"name":"xxxxxx","id":333015,"settings":{"geoTrackingEnabled":true,"onDemandLogRetrievalEnabled":true,"pushNotifications":{"lowBatteryReminder":true,"awayModeReminder":true,"homeModeReminder":true,"openWindowReminder":true,"energySavingsReportReminder":false}},"location":{"stale":false,"atHome":true,"bearingFromHome":{"degrees":000.00000,"radians":000.00000},"relativeDistanceFromHomeFence":0},"deviceMetadata":{"platform":"Android","osVersion":"10","model":"xxxxxxx","locale":"de"}}]}
12345-04-21 07:21:35.698 - debug: tado.0 (24582) Create_state called for : Stage_01_GetMe_Data with value : {"name":xxxxxxxxxxxxx,"email":"xxxxxxxxxx@xxxxxx.xxx","username":"xxxxxxxxxx@xxxxxx.xxx","id":"xxxxxxxxxxxxx","homes":[{"id":12345,"name":"Casa Martens"}],"locale":"de_DE","mobileDevices":[{"name":"xxxxxx","id":333015,"settings":{"geoTrackingEnabled":true,"onDemandLogRetrievalEnabled":true,"pushNotifications":{"lowBatteryReminder":true,"awayModeReminder":true,"homeModeReminder":true,"openWindowReminder":true,"energySavingsReportReminder":false}},"location":{"stale":false,"atHome":true,"bearingFromHome":{"degrees":000.00000,"radians":000.00000},"relativeDistanceFromHomeFence":0},"deviceMetadata":{"platform":"Android","osVersion":"10","model":"xxxxxxxx","locale":"de"}}]}
12345-04-21 07:21:35.698 - debug: tado.0 (24582) Write value : false
12345-04-21 07:21:35.698 - debug: tado.0 (24582) No type defined for name : Stage_01_GetMe_Data|value : |{"name":xxxxxxxxxxxxx,"email":"xxxxxxxxxx@xxxxxx.xxx","username":"xxxxxxxxxx@xxxxxx.xxx","id":"xxxxxxxxxxxxx","homes":[{"id":12345,"name":"Casa Martens"}],"locale":"de_DE","mobileDevices":[{"name":"xxxxxx","id":333015,"settings":{"geoTrackingEnabled":true,"onDemandLogRetrievalEnabled":true,"pushNotifications":{"lowBatteryReminder":true,"awayModeReminder":true,"homeModeReminder":true,"openWindowReminder":true,"energySavingsReportReminder":false}},"location":{"stale":false,"atHome":true,"bearingFromHome":{"degrees":000.00000,"radians":000.00000},"relativeDistanceFromHomeFence":0},"deviceMetadata":{"platform":"Android","osVersion":"10","model":"xxxxxxxxx","locale":"de"}}]}

Versions:

DutchmanNL commented 4 years ago

Hmm 🤔 ok need to contact a friend to check I don’t have tado devices so will need his help

senger1985 commented 4 years ago

It could be because Tado is having server problems. We will check that

sly-1 commented 4 years ago

I have the same problem in my environment. After updating the js-controller to 3.0.14 the tado 0.1.7 adapter cannot connect to the cloud service.

According to the status page of tado there is currently no problem.

Screenshot Bildschirmfoto 2020-04-21 um 11 36 26

CKMartens commented 4 years ago

I just checked tonight's log. Before the update from js 3.0.14, the error did not occur despite tado's server problems. The error must unfortunately have to do with the tado adapter in connection with js 3

Binganga commented 4 years ago

After updating to js 3.0.14 the problem apperead in my system too. Before updating there was no problem with the tado adapter. So no, it's not a server problem... Something has to be fixed in the adapter :-(

DutchmanNL commented 4 years ago

solved https://github.com/iobroker-community-adapters/ioBroker.tado/commit/1c4eee6fb7cebae68715c20dfedfe667893d498f

DutchmanNL commented 4 years ago

new version published on NPM, now also available as install in admin have fun !