Closed rchovan closed 3 years ago
Hi, have you tried to receive SMS without diacritics only? I see the first message containing special characters.
Yes, the second message was without diacritics.
I have the same problem, it seems the problem is related to the gammu version (https://github.com/gammu/gammu/issues/460), since 1.40 there is an error, but it seems to be fixed in the next release. So wait or try to downgrade the gammu package in your docker image to version prior 1.40 (e.g. 1.39).
FYI, the official HOME ASSISTANT image downgraded its dependency as well.
Ok, will try, gammu on my host, where it is working is 1.41.0-1.1 version.
Thanks.
Could you please prepare docker image with gammu 1.39 or with fixed one version ? I have successfully upgraded gammu in docker to 1.41.0-1.1, but I got same error. So I've deleted docker image, created new one, and downgraded to 1.38.1 (1.39 is not available in debian). But with this version run.py show this errors:
ImportError: libmariadbclient.so.18: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "./run.py", line 7, in <module>
from support import load_user_data, init_state_machine
File "/sms-gw/support.py", line 3, in <module>
import gammu
File "/usr/local/lib/python3.8/site-packages/gammu/__init__.py", line 26, in <module>
from gammu._gammu import *
Please try to use the current image, switched to alpine and the gammu version 1.39.
Hi, new image is working, but I see this in logs, it is error or not ?
./run.py:66: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
sms = machine.GetNextSMS(Start=True, Folder=0)
Anyway thanks, and if this is not relevant, you can close this issue.
Hi, nice work with this addon. I'm trying it in docker. I can successfully read signal, but /getsms show exception error:
My docker_compose.yaml:
Testing on host server outside of docker:
my device::
gammu -c gammu.config identify
gammu -c gammu.config getallsms