Skip to content

Instantly share code, notes, and snippets.

@ahocquet
Created December 14, 2020 13:39
Show Gist options
  • Save ahocquet/17bb64617f5f625cddd6461ecbb75818 to your computer and use it in GitHub Desktop.
Save ahocquet/17bb64617f5f625cddd6461ecbb75818 to your computer and use it in GitHub Desktop.
020-12-14 14:26:48 WARNING (SyncWorker_9) [urllib3.connectionpool] Connection pool is full, discarding connection: api.somfy.com
2020-12-14 14:26:48 INFO (SyncWorker_9) [backoff] Backing off send_command(...) for 1.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/1a9c2548-6fdf9c24-7b472372-c2fdb0c2/exec)
2020-12-14 14:26:48 WARNING (SyncWorker_4) [urllib3.connectionpool] Connection pool is full, discarding connection: api.somfy.com
2020-12-14 14:26:48 INFO (SyncWorker_4) [backoff] Backing off send_command(...) for 1.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/b1f8116a-23611091-8131b6f7-fbb895fd/exec)
2020-12-14 14:26:48 WARNING (SyncWorker_7) [urllib3.connectionpool] Connection pool is full, discarding connection: api.somfy.com
2020-12-14 14:26:48 INFO (SyncWorker_7) [backoff] Backing off send_command(...) for 1.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/16c278f6-a7c08b32-c7baf397-f50f6984/exec)
2020-12-14 14:26:48 WARNING (SyncWorker_11) [urllib3.connectionpool] Connection pool is full, discarding connection: api.somfy.com
2020-12-14 14:26:48 INFO (SyncWorker_11) [backoff] Backing off send_command(...) for 1.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/15665cd2-04add3d3-9a39fc22-25a9f3b3/exec)
2020-12-14 14:26:48 WARNING (SyncWorker_12) [urllib3.connectionpool] Connection pool is full, discarding connection: api.somfy.com
2020-12-14 14:26:48 INFO (SyncWorker_12) [backoff] Backing off send_command(...) for 1.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/7f7cc3ec-9d16673b-77a5ad49-85d9485f/exec)
2020-12-14 14:26:49 INFO (SyncWorker_9) [backoff] Backing off send_command(...) for 2.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/1a9c2548-6fdf9c24-7b472372-c2fdb0c2/exec)
2020-12-14 14:26:49 INFO (SyncWorker_4) [backoff] Backing off send_command(...) for 2.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/b1f8116a-23611091-8131b6f7-fbb895fd/exec)
2020-12-14 14:26:49 INFO (SyncWorker_7) [backoff] Backing off send_command(...) for 2.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/16c278f6-a7c08b32-c7baf397-f50f6984/exec)
2020-12-14 14:26:49 INFO (SyncWorker_11) [backoff] Backing off send_command(...) for 2.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/15665cd2-04add3d3-9a39fc22-25a9f3b3/exec)
2020-12-14 14:26:49 INFO (SyncWorker_12) [backoff] Backing off send_command(...) for 2.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/7f7cc3ec-9d16673b-77a5ad49-85d9485f/exec)
2020-12-14 14:26:51 INFO (SyncWorker_11) [backoff] Backing off send_command(...) for 4.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/15665cd2-04add3d3-9a39fc22-25a9f3b3/exec)
2020-12-14 14:26:51 INFO (SyncWorker_12) [backoff] Backing off send_command(...) for 4.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/7f7cc3ec-9d16673b-77a5ad49-85d9485f/exec)
2020-12-14 14:29:15 WARNING (SyncWorker_2) [urllib3.connectionpool] Connection pool is full, discarding connection: api.somfy.com
2020-12-14 14:29:15 INFO (SyncWorker_2) [backoff] Backing off send_command(...) for 1.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/3819c84d-ef0e07e9-9d1d6667-838c83eb/exec)
2020-12-14 14:29:15 WARNING (SyncWorker_1) [urllib3.connectionpool] Connection pool is full, discarding connection: api.somfy.com
2020-12-14 14:29:15 INFO (SyncWorker_1) [backoff] Backing off send_command(...) for 1.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/b1f8116a-23611091-8131b6f7-fbb895fd/exec)
2020-12-14 14:29:15 WARNING (SyncWorker_13) [urllib3.connectionpool] Connection pool is full, discarding connection: api.somfy.com
2020-12-14 14:29:15 INFO (SyncWorker_13) [backoff] Backing off send_command(...) for 1.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/1a9c2548-6fdf9c24-7b472372-c2fdb0c2/exec)
2020-12-14 14:29:16 WARNING (SyncWorker_7) [urllib3.connectionpool] Connection pool is full, discarding connection: api.somfy.com
2020-12-14 14:29:16 INFO (SyncWorker_7) [backoff] Backing off send_command(...) for 1.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/b5b053dc-11cc8b48-a6b15764-72c08769/exec)
2020-12-14 14:29:16 WARNING (SyncWorker_14) [urllib3.connectionpool] Connection pool is full, discarding connection: api.somfy.com
2020-12-14 14:29:16 INFO (SyncWorker_14) [backoff] Backing off send_command(...) for 1.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/bab63233-f9967cd5-af3ff158-470b7002/exec)
2020-12-14 14:29:16 INFO (SyncWorker_2) [backoff] Backing off send_command(...) for 2.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/3819c84d-ef0e07e9-9d1d6667-838c83eb/exec)
2020-12-14 14:29:16 INFO (SyncWorker_1) [backoff] Backing off send_command(...) for 2.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/b1f8116a-23611091-8131b6f7-fbb895fd/exec)
2020-12-14 14:29:17 INFO (SyncWorker_13) [backoff] Backing off send_command(...) for 2.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/1a9c2548-6fdf9c24-7b472372-c2fdb0c2/exec)
2020-12-14 14:29:17 INFO (SyncWorker_7) [backoff] Backing off send_command(...) for 2.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/b5b053dc-11cc8b48-a6b15764-72c08769/exec)
2020-12-14 14:29:17 INFO (SyncWorker_14) [backoff] Backing off send_command(...) for 2.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/bab63233-f9967cd5-af3ff158-470b7002/exec)
2020-12-14 14:29:18 INFO (SyncWorker_2) [backoff] Backing off send_command(...) for 4.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/3819c84d-ef0e07e9-9d1d6667-838c83eb/exec)
2020-12-14 14:29:19 INFO (SyncWorker_1) [backoff] Backing off send_command(...) for 4.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/b1f8116a-23611091-8131b6f7-fbb895fd/exec)
2020-12-14 14:29:19 INFO (SyncWorker_13) [backoff] Backing off send_command(...) for 4.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/1a9c2548-6fdf9c24-7b472372-c2fdb0c2/exec)
2020-12-14 14:29:19 INFO (SyncWorker_7) [backoff] Backing off send_command(...) for 4.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/b5b053dc-11cc8b48-a6b15764-72c08769/exec)
2020-12-14 14:29:19 INFO (SyncWorker_14) [backoff] Backing off send_command(...) for 4.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/bab63233-f9967cd5-af3ff158-470b7002/exec)
2020-12-14 14:29:22 INFO (SyncWorker_2) [backoff] Backing off send_command(...) for 8.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/3819c84d-ef0e07e9-9d1d6667-838c83eb/exec)
2020-12-14 14:29:23 INFO (SyncWorker_1) [backoff] Backing off send_command(...) for 8.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/b1f8116a-23611091-8131b6f7-fbb895fd/exec)
2020-12-14 14:29:23 INFO (SyncWorker_13) [backoff] Backing off send_command(...) for 8.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/1a9c2548-6fdf9c24-7b472372-c2fdb0c2/exec)
2020-12-14 14:29:23 INFO (SyncWorker_7) [backoff] Backing off send_command(...) for 8.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/b5b053dc-11cc8b48-a6b15764-72c08769/exec)
2020-12-14 14:29:23 INFO (SyncWorker_14) [backoff] Backing off send_command(...) for 8.0s (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/bab63233-f9967cd5-af3ff158-470b7002/exec)
2020-12-14 14:29:31 ERROR (SyncWorker_2) [backoff] Giving up send_command(...) after 5 tries (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/3819c84d-ef0e07e9-9d1d6667-838c83eb/exec)
2020-12-14 14:29:31 ERROR (SyncWorker_7) [backoff] Giving up send_command(...) after 5 tries (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/b5b053dc-11cc8b48-a6b15764-72c08769/exec)
2020-12-14 14:29:31 ERROR (SyncWorker_14) [backoff] Giving up send_command(...) after 5 tries (requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/bab63233-f9967cd5-af3ff158-470b7002/exec)
2020-12-14 14:29:31 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall cover.close_cover (c:5b6148e5c4d7a1d9d6adc04e0ed41c6f): entity_id=['cover.volet_veranda_2', 'cover.volet_veranda_4', 'cover.volet_veranda_5', 'cover.volet_veranda_7', 'cover.volet_couloir', 'cover.volet_salle_de_bain', 'cover.local_piscine', 'cover.volet_chambre_d_amis', 'cover.volet_veranda_1', 'cover.volet_chambre_parent', 'cover.volet_bureau_daria', 'cover.volet_veranda_8', 'cover.volet_veranda_3', 'cover.volet_bureau_anthony', 'cover.volet_veranda_6']>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/core.py", line 1467, in catch_exceptions
await coro_or_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1486, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
await self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 499, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 664, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 536, in _handle_entity_call
await result
File "/config/custom_components/somfy/cover.py", line 70, in async_close_cover
await self.hass.async_add_executor_job(self.cover.close)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.8/site-packages/pymfy/api/devices/roller_shutter.py", line 19, in close
self.send_command(Command("close"))
File "/usr/local/lib/python3.8/site-packages/pymfy/api/devices/base.py", line 19, in send_command
self.api.send_command(self.device.id, command)
File "/usr/local/lib/python3.8/site-packages/backoff/_sync.py", line 94, in retry
ret = target(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/pymfy/api/somfy_api.py", line 63, in send_command
response.raise_for_status()
File "/usr/local/lib/python3.8/site-packages/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.somfy.com/api/v1/device/b5b053dc-11cc8b48-a6b15764-72c08769/exec
2020-12-14 14:32:58 DEBUG (MainThread) [custom_components.hacs] Nothing in the queue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment