home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72k stars 30.17k forks source link

SMS notifications via GSM-modem error log Timeout #127045

Open nicola-spreafico opened 4 days ago

nicola-spreafico commented 4 days ago

The problem

I'm using this integration https://www.home-assistant.io/integrations/sms/ with the device SIM800C. The integration is running correctly freshly started, I can receives sms, I can send sms, no issue found.

The problem is that after few time (may be few hours maybe, not sure of this), the integration goes offline, the entities goes "not available" and the automation I created to response on incoming sms is not working anymore.

Not sure which may be the cause. The HA installation is fresh new (installed on Raspberry3 on a brand new SD), the only USB device I connected is the USB modem and it is the very first integration I installed on the system, no other integration or devices are connected to it.

image

What version of Home Assistant Core has the issue?

2024.9.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

sms

Link to integration documentation on our website

https://www.home-assistant.io/integrations/sms/

Diagnostics information

2024-09-29 18:50:13.053 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback Future.set_exception(GSMError('ERR_TIMEOUT')) (None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
asyncio.exceptions.InvalidStateError: invalid state
2024-09-29 18:50:33.026 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback Future.set_exception(GSMError('ERR_TIMEOUT')) (None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
asyncio.exceptions.InvalidStateError: invalid state
2024-09-29 18:51:13.021 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback Future.set_exception(GSMError('ERR_TIMEOUT')) (None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
asyncio.exceptions.InvalidStateError: invalid state
2024-09-29 18:51:33.048 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback Future.set_exception(GSMError('ERR_TIMEOUT')) (None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
asyncio.exceptions.InvalidStateError: invalid state
2024-09-29 18:52:13.044 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback Future.set_exception(GSMError('ERR_TIMEOUT')) (None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
asyncio.exceptions.InvalidStateError: invalid state
2024-09-29 18:52:33.016 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback Future.set_exception(GSMError('ERR_TIMEOUT')) (None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
asyncio.exceptions.InvalidStateError: invalid state
2024-09-29 18:53:13.015 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback Future.set_exception(GSMError('ERR_TIMEOUT')) (None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
asyncio.exceptions.InvalidStateError: invalid state
2024-09-29 18:53:33.043 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback Future.set_exception(GSMError('ERR_TIMEOUT')) (None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
asyncio.exceptions.InvalidStateError: invalid state

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 4 days ago

Hey there @ocalvo, mind taking a look at this issue as it has been labeled with an integration (sms) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `sms` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign sms` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


sms documentation sms source (message by IssueLinks)