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
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.
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.
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:
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.
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
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
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 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.