-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SMS integration fails with error in log. #74667
Comments
sms documentation |
Hey there @ocalvo, mind taking a look at this issue as it has been labeled with an integration ( |
same problem like #74664 |
@PaulAnnekov |
Integration fails after updating to 2022.07.0, I am using a Pi4, delete the previous integration and integrate it again, it doesn't work. Logger: homeassistant.components.sms.gateway Failed to initialize, error ERR_DEVICENOTEXIST |
I will update my local HA version and take a look. |
This comment was marked as abuse.
This comment was marked as abuse.
for debian/ubuntu users:
|
I'm running Debian supervised and this procedure is not working. #sudo apt-get install python3-gammu |
The problem
SMS integration has stopped working. It loads but when you send a text it come back with that error in the log.
What version of Home Assistant Core has the issue?
core-2022.7.0
What was the last working version of Home Assistant Core?
core-2022.6 (all versions)
What type of installation are you running?
Home Assistant OS
Integration causing the issue
SMS notifications via GSM-modem
Link to integration documentation on our website
https://www.home-assistant.io/integrations/sms
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant.components.script.send_test_text_message_on_demand Source: components/sms/notify.py:56 Integration: Scripts (documentation, issues) First occurred: 20:04:00 (4 occurrences) Last logged: 20:07:29 Send Test Text Message on Demand: Error executing script. Unexpected error for call_service at pos 1: PY_SSIZE_T_CLEAN macro must be defined for '#' formats Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 447, in _async_step await getattr(self, handler)() File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 680, in _async_call_service_step await service_task File "/usr/src/homeassistant/homeassistant/core.py", line 1713, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1750, in _execute_service await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)( File "/usr/src/homeassistant/homeassistant/components/notify/legacy.py", line 229, in _async_notify_message_service await self.async_send_message(**kwargs) File "/usr/src/homeassistant/homeassistant/components/sms/notify.py", line 56, in async_send_message encoded = gammu.EncodeSMS(smsinfo) SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
Additional information
SMS has stopped working, I'm guessing it's python update related.
The text was updated successfully, but these errors were encountered: