{ "home_assistant": { "installation_type": "Home Assistant Container", "version": "2023.1.5", "dev": false, "hassio": false, "virtualenv": false, "python_version": "3.10.7", "docker": true, "arch": "x86_64", "timezone": "Europe/Helsinki", "os_name": "Linux", "os_version": "5.10.16.3-microsoft-standard-WSL2", "run_as_root": true }, "custom_components": { "hacs": { "version": "1.29.1", "requirements": [ "aiogithubapi>=22.10.1" ] }, "sonoff": { "version": "3.3.1", "requirements": [ "pycryptodome>=3.6.6" ] } }, "integration_manifest": { "domain": "sonoff", "name": "Sonoff", "config_flow": true, "documentation": "https://github.com/AlexxIT/SonoffLAN", "issue_tracker": "/api/sonoff/453b14f2-a3f5-43dc-8d9c-78385768349e", "codeowners": [ "@AlexxIT" ], "dependencies": [ "http", "zeroconf" ], "requirements": [ "pycryptodome>=3.6.6" ], "version": "3.3.1", "iot_class": "local_push", "is_built_in": false }, "data": { "version": "b20e33c", "cloud_auth": true, "config": { "username": "***", "password": "***" }, "options": { "mode": "auto", "debug": true }, "errors": [ { "name": "custom_components.sonoff.core.ewelink.cloud", "message": [ "Cloud WS exception" ], "level": "ERROR", "source": [ "custom_components/sonoff/core/ewelink/cloud.py", 297 ], "timestamp": 1675063075.5532198, "exception": "Traceback (most recent call last):\n File \"/config/custom_components/sonoff/core/ewelink/cloud.py\", line 297, in connect\n self.ws = await self.session.ws_connect(\n File \"/usr/local/lib/python3.10/site-packages/aiohttp/client.py\", line 776, in _ws_connect\n resp = await self.request(\n File \"/usr/local/lib/python3.10/site-packages/aiohttp/client.py\", line 559, in _request\n await resp.start(conn)\n File \"/usr/local/lib/python3.10/site-packages/aiohttp/client_reqrep.py\", line 898, in start\n message, payload = await protocol.read() # type: ignore[union-attr]\n File \"/usr/local/lib/python3.10/site-packages/aiohttp/streams.py\", line 616, in read\n await self._waiter\naiohttp.client_exceptions.ServerDisconnectedError: Server disconnected\n", "count": 1, "first_occurred": 1675063075.5532198 }, { "name": "custom_components.sonoff.core.ewelink.cloud", "message": [ "Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': '10013aab22', 'apikey': 'f416a760-0886-426f-971c-b8730c99616d', 'sequence': '1674404703000'}", "UNKNOWN cloud msg: {'action': 'subDevice', 'deviceid': '100112a8e5', 'apikey': 'f416a760-0886-426f-971c-b8730c99616d', 'userAgent': 'device', 'd_seq': 63695, 'params': {'cmds': [{'type': 0, 'subDevId': '6bb46efeff10fb301771', 'uiid': '1771', 'deviceid': 'a48004c773', 'productName': 'SNZB-02D'}]}}" ], "level": "WARNING", "source": [ "custom_components/sonoff/core/ewelink/cloud.py", 286 ], "timestamp": 1675177971.6673944, "exception": "", "count": 2, "first_occurred": 1674404708.9243069 }, { "name": "custom_components.sonoff.core.ewelink.cloud", "message": [ "Cloud WS exception" ], "level": "ERROR", "source": [ "custom_components/sonoff/core/ewelink/cloud.py", 316 ], "timestamp": 1675243438.7403042, "exception": "Traceback (most recent call last):\n File \"/config/custom_components/sonoff/core/ewelink/cloud.py\", line 316, in connect\n resp = await self.ws.receive_json()\n File \"/usr/local/lib/python3.10/site-packages/aiohttp/client_ws.py\", line 290, in receive_json\n data = await self.receive_str(timeout=timeout)\n File \"/usr/local/lib/python3.10/site-packages/aiohttp/client_ws.py\", line 275, in receive_str\n raise TypeError(f\"Received message {msg.type}:{msg.data!r} is not str\")\nTypeError: Received message 257:None is not str\n", "count": 2, "first_occurred": 1674412595.1768284 }, { "name": "custom_components.sonoff", "message": [ "Can't load devices" ], "level": "WARNING", "source": [ "custom_components/sonoff/core/ewelink/cloud.py", 185 ], "timestamp": 1675258965.6605635, "exception": "Traceback (most recent call last):\n File \"/usr/local/lib/python3.10/site-packages/aiohttp/connector.py\", line 1154, in _create_direct_connection\n hosts = await asyncio.shield(host_resolved)\n File \"/usr/local/lib/python3.10/site-packages/aiohttp/connector.py\", line 880, in _resolve_host\n addrs = await self._resolver.resolve(host, port, family=self._family)\n File \"/usr/local/lib/python3.10/site-packages/aiohttp/resolver.py\", line 33, in resolve\n infos = await self._loop.getaddrinfo(\n File \"/usr/local/lib/python3.10/asyncio/base_events.py\", line 860, in getaddrinfo\n return await self.run_in_executor(\n File \"/usr/local/lib/python3.10/concurrent/futures/thread.py\", line 58, in run\n result = self.fn(*self.args, **self.kwargs)\n File \"/usr/local/lib/python3.10/socket.py\", line 955, in getaddrinfo\n for res in _socket.getaddrinfo(host, port, family, type, proto, flags):\nsocket.gaierror: [Errno -3] Try again\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/config/custom_components/sonoff/__init__.py\", line 199, in internal_normal_setup\n devices = await registry.cloud.get_devices(homes)\n File \"/config/custom_components/sonoff/core/ewelink/cloud.py\", line 185, in get_devices\n r = await self.session.get(\n File \"/usr/local/lib/python3.10/site-packages/aiohttp/client.py\", line 535, in _request\n conn = await self._connector.connect(\n File \"/usr/local/lib/python3.10/site-packages/aiohttp/connector.py\", line 542, in connect\n proto = await self._create_connection(req, traces, timeout)\n File \"/usr/local/lib/python3.10/site-packages/aiohttp/connector.py\", line 907, in _create_connection\n _, proto = await self._create_direct_connection(req, traces, timeout)\n File \"/usr/local/lib/python3.10/site-packages/aiohttp/connector.py\", line 1166, in _create_direct_connection\n raise ClientConnectorError(req.connection_key, exc) from exc\naiohttp.client_exceptions.ClientConnectorError: Cannot connect to host eu-apia.coolkit.cc:443 ssl:default [Try again]\n", "count": 1, "first_occurred": 1675258965.6605635 }, { "name": "custom_components.sonoff.core.ewelink.cloud", "message": [ "Cloud WS Connection error: Cannot connect to host eu-pconnect15.coolkit.cc:8080 ssl:default [Try again]", "Cloud WS Connection error: Cannot connect to host eu-pconnect2.coolkit.cc:8080 ssl:default [Try again]", "Cloud WS Connection error: Cannot connect to host eu-pconnect16.coolkit.cc:8080 ssl:default [Try again]", "Cloud WS Connection error: Cannot connect to host eu-pconnect12.coolkit.cc:8080 ssl:default [Try again]", "Cloud WS Connection error: Cannot connect to host eu-dispa.coolkit.cc:443 ssl:default [Try again]" ], "level": "WARNING", "source": [ "custom_components/sonoff/core/ewelink/cloud.py", 268 ], "timestamp": 1675417383.8473473, "exception": "", "count": 447, "first_occurred": 1674412557.160627 } ], "device": { "uiid": 1771, "params": { "subDevId": "6bb46efeff10fb301771", "parentid": "100112a8e5", "fwVersion": "1.0.9", "tempComfortUpper": "2700", "tempComfortLower": "1900", "humiComfortLower": "4000", "humiComfortUpper": "6000", "tempUnit": 0, "ASYNC": 2, "temperature": "2080", "tempComfortStatus": 0, "humidity": "4160", "humiComfortStatus": 0, "timeZone": 2, "battery": 100, "supportPowConfig": 1, "trigTime": "1675257415349" }, "model": "SNZB-02D", "online": true, "localtype": null, "deviceid": "a48004c773" } } }