Sonoff DW2. "Connection error"
Good evening!
For about six months of purchasing and using the Sonoff DW2 sensor, its status was not displayed only after restarting the HA server. It may be a coincidence, but after updating HA and SonoffLAN 3.xx, long-term correct operation will not be achieved. Always the same error (I will attach a log). In the Ewelink application, the sensor works without comments. Please tell me what can be done?
Integration Log:
{
"home_assistant": {
"installation_type": "Home Assistant Supervised",
"version": "2022.5.5",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.9.9",
"docker": true,
"arch": "aarch64",
"timezone": "Europe/Moscow",
"os_name": "Linux",
"os_version": "5.9.16-jethubj80",
"supervisor": "2022.05.2",
"host_os": "Armbian 20.11.0-trunk.7 Focal",
"docker_version": "20.10.12",
"chassis": "",
"run_as_root": true
},
"custom_components": {
"sonoff": {
"version": "3.0.5",
"requirements": [
"pycryptodome>=3.6.6"
]
},
"hacs": {
"version": "1.24.5",
"requirements": [
"aiogithubapi>=21.11.0"
]
},
"localtuya": {
"version": "3.2.1",
"requirements": []
},
"yandex_station": {
"version": "3.10.0",
"requirements": []
},
"tuya_v2": {
"version": "1.5.0",
"requirements": [
"tuya-iot-py-sdk==0.4.1"
]
}
},
"integration_manifest": {
"domain": "sonoff",
"name": "Sonoff",
"config_flow": true,
"documentation": "https://github.com/AlexxIT/SonoffLAN",
"issue_tracker": "https://github.com/AlexxIT/SonoffLAN/issues",
"codeowners": [
"@AlexxIT"
],
"dependencies": [
"http",
"zeroconf"
],
"requirements": [
"pycryptodome>=3.6.6"
],
"version": "3.0.5",
"iot_class": "local_push",
"is_built_in": false
},
"data": {
"version": "200f243",
"cloud_auth": true,
"config": null,
"options": {
"mode": "auto",
"debug": false,
"homes": 0
},
"errors": [
{
"name": "custom_components.sonoff.core.ewelink.cloud",
"message": [
"Cloud WS Connection error: Cannot connect to host eu-dispa.coolkit.cc:443 ssl:default [Try again]",
"Cloud WS Connection error: Cannot connect to host eu-pconnect11.coolkit.cc:8080 ssl:default [Try again]",
"Cloud WS Connection error: Cannot connect to host eu-pconnect5.coolkit.cc:8080 ssl:default [Try again]"
],
"level": "WARNING",
"source": [
"custom_components/sonoff/core/ewelink/cloud.py",
321
],
"timestamp": 1652983156.1560774,
"exception": "",
"count": 4,
"first_occurred": 1652982765.6602368
}
],
"devices": {
"1000fd57ae": {
"uiid": 102,
"params": {
"bindInfos": "***",
"switch": "off",
"battery": 2.696,
"fwVersion": "1000.2.924",
"type": 4,
"chipID": "d02701faacac",
"mac": "***",
"rssi": -54,
"lastUpdateTime": "2022-05-17T19:03:19.598Z",
"actionTime": "2022-05-17T17:47:51.644Z"
},
"model": "DW2-Wi-Fi",
"online": true,
"localtype": null
}
}
}
}
You have some problems with connection to cloud servers
I found an experimental way to make it work for a while. I delete the device without deleting the integration and restart it. Works until the next error. Unfortunately
Upd: Also, according to one of the tips, I created an additional Ewelink account and shared a sensor from the main one. And already an additional indicated SonoffLAN integration. Allegedly, the error could have been caused by simultaneous use of the account. But unfortunately it didn't help either. The same mistakes
UPD2: New batteries are installed just in case. Another feature has been noticed. The sensor falls off immediately after three times of operation. During the day it was displayed as closed, information about the battery voltage was received, everything is normal. And as soon as I opened the door three times, it becomes inaccessible
You have some problems with connection to cloud servers
it is because multiple login or else? because this error intermittent
Please reopen the issue if it is still relevant