Skip to content
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

How to expose or force USE_SMSTEXTMODE from python? #93

Open
ocalvo opened this issue Oct 25, 2022 · 6 comments
Open

How to expose or force USE_SMSTEXTMODE from python? #93

ocalvo opened this issue Oct 25, 2022 · 6 comments

Comments

@ocalvo
Copy link
Contributor

ocalvo commented Oct 25, 2022

Some alarms system only receive SMS in text mode and gammu seems to always default to send in PDU mode.

Is there a way to expose or force text mode from the python API?

Thanks.

Oscar

@nijel
Copy link
Member

nijel commented Oct 25, 2022

The features configuration is indeed not exposed in the Python API. So far, the preferred solution was to include needed flags inside Gammu, so that it does not have to be configured by every user: https://github.com/gammu/gammu/blob/master/libgammu/gsmphones.c

@diemon24
Copy link

The features configuration is indeed not exposed in the Python API. So far, the preferred solution was to include needed flags inside Gammu, so that it does not have to be configured by every user: https://github.com/gammu/gammu/blob/master/libgammu/gsmphones.c

Please help me make this. What I can do?

@diemon24
Copy link

I don't see SIM800 in this config:

/* Other */
{"SIMCOM_SIM300D","SIMCOM_SIM300D","",		{F_ENCODED_USSD, 0}},
{"SIMCOM_SIM900","SIMCOM_SIM900","",		{0}},
{"Quectel_M35",	"Quectel_M35","",		{0}},

how I can add SIM800 configuration in docker HA on Synology NAS?

@ocalvo
Copy link
Contributor Author

ocalvo commented Oct 29, 2022

This should be a change in the C version of gammu.

Filed new issue to track it:

gammu/gammu#752

@diemon24
Copy link

diemon24 commented Oct 29, 2022

gammu/gammu#752

Thx very much !
but I use SIM800 on HomeAssistant. I dont know what GSM modem using in my alarm system. I send sms to my alarm system from SIM800. I hope we understand each other

@diemon24
Copy link

It’s working! Thx you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants