SMS Gateway Addon

Hello all,

I made a SMS Gateway Addon for Home Assistant. It could interest some of you.
I haven’t done any doc so far but code and configuration is quite readable in the repository. I will write a documentation as I will get more time
In the mean time I can help by answering to all in this community

It runs on the latest version of core, supervisor, samba, mqtt and is able to send and receive SMS according to all GSM7 characters (not extended sms so far). It works with my Huawei dongle which is a modem and not a network gateway so not in HILINK mode so far (but under construction)

Using Samba, push it to addons directory and it will appear in your Local Addons Store on HA

The repo is here : https://github.com/Helios06/sms_gateway
If you ever needed one … enjoy

3 Likes

Did you forget to upload the repository?

1 Like

upsss i forgot to make the repo “public”, sorry for that

1 Like

I suggest a little more detail in the readme would be awesome.
What it does, what it needs, how it works, why I want it kind of thing. The better prepared you are with the documentation, the fewer stupid questions you will get from users.

3 Likes

After a while I finally add time to learn more about add-ons.
So now I released a new stable version 1.1.4 with a HA security score of 7.
still here:

1 Like

From the dozens of these 4g dongles I’ve had over the years, I’ve never had a modem one, always USB network type… :frowning:

Never been able to get one flashed to modem either I guess it’s just not a thing in Australia

Sorry for late answer, Huawei as 2 versions for 3G/4G usb stick, modem version or gateway api version. ask for the modem version

Nobody to ask

Good morning,

this looks interesting.

Is this what I would put on the remote box if I want to put the GSM/SMS stick on a separate box from my home-assistant box? If it matters the remote box is an RPi3b running dietpi with gammu etc installed. The GSM modem stick is an Huawei 8372 in GSM modem mode.

Thanks!

to bring closure:

apparently this really really really wants to be an addon. Core doesn’t support addons directly altho can sometimes/often manually set an ‘addon’ up in it’s own docker and then manually do the HA interfacing.

I reached this conclusion after looking at /run.sh (which runs in the docker container) and then looking at:

https://developers.home-assistant.io/docs/add-ons/configuration/

and

https://github.com/hassio-addons/bashio

While it looks useful, I have decided that I am not ambitious enough to pursue this at this time. My thanks to Helios06 for developing and posting it though.

Thank you so much for this add-on :slight_smile:
I want to know if it’s possible to insert \r or \n in text message?
I try some possibility but no success.
Thank you

I tried this addon to replace the core SMS integration I was using, couldn’t get it working, and in the end settled on sms-gammu-gateway which works with MQTT as well.

Sorry for very very late answer, when ordering on commercial site, at that time, we add the choice between 2 versions ........ now it is not for sale anymore.
I may work on how to change the firmware on those dongles :slight_smile:

I just delivered a new version 1.2.1 much more documented and notice this App is intentionally lightweight to be able to run on same RPI4 as HA.
Should be easier ..... I hope ..... if not just tell me

Hello, i am back after almost 2 years "off"

I just delivered a new version 1.2.1 , compatible with actuel version of HA OS, HA Core, HA Supervisor and App (formerly called add-on) actual development skills.

This App is intentionally lightweight to be able to run on same RPI4 as HA.

Hello, could you please write a few words about the installation method? Such a small guide for beginners would be very useful.

Hello tkarsk,
i ll be glad to help you, are you familiar with add-on, i mean Apps on Home Assistant ?
Same question for Samba Share and Mqtt ?
i need to know from where to start

I finally managed to install the App.
Struggled a little bit because of different Huawei modem (E3276), but bought used E3131 and seems to work now. Then got SIM card for data only, and couldn't send any SMS.
Later on will try with different SIM card, hope this time it will work.

Finally works!

Last obstacle was that the modem network mode was set to "3G only" and could not log into the network (3G is obsolete for most providers in Poland now).

I had to connect it to a Win XP VM, run dedicated Huawei software (Mobile Partner), and change the mode to 2G.