Page 1 of 1
Development of an SMS gateway via a old Android mobile
Posted: Tuesday 07 February 2017 10:39
by cirus2
There is a lot of solution to implement the sending of SMS on Domoticz but to my knowledge these solutions use all the internet network via your ADSL and thus it poses a big problem if your Internet network is cut: more communication with the outside ! Naturally there is the solution of the USB key GSM and the installation of gammu on your machine however this solution is not perfect and according to the key used is not very stable without talking about the consumption of the key on the port USB and especially does not allow to realize certain features that we will see below.
With the use of an old Android mobile (version> 3.2) and after installing an application developed by me that I called CirusSMS your mobile will:
1. Send SMS from Domoticz easily to your mobile phone via a simple URL.
2. Conversely, to receive SMS to drive your Domoticz Box via commands in the SMS message, I developed another very simple application to do this (CirusDomoticz).
3. Redirect the other received SMS messages to a configurable phone number in order not to lose them.
4. Automatically manage the mobile load via a plug-in module (for example) associated with Domoticz.
5. Transmit via SMS any network malfunction: intranet, internet (under development).
I think to put these 2 applications and a link to a small doc on Google Play very soon the time to packager all that.
(At the moment this application works exclusively with Domoticz)
PS : My english is not great, sorry
Re: Development of an SMS gateway via a old Android mobile
Posted: Sunday 19 February 2017 8:52
by cirus
I come back to you to present a little more concretely what "CirusSMS" looks like the little SMS gateway but more than that!
Presentation:
http://android.distribsoft.com/wp/en_GB ... /cirussms/
Manual:
http://android.distribsoft.fr/wp/en_GB/ ... mentation/
The gateway is in my opinion finished and works perfectly (finally in my configurations), I am working on the other part (read the small doc SVP) which also works very well but I have to tweak a little before proposing On the blind and as long as I have not finished I can not broadcast anything because suddenly it will miss 2 features.
It is expected that I open in "beta test" mode, I will forward the URL here.
See you soon
Re: Development of an SMS gateway via a old Android mobile
Posted: Sunday 19 February 2017 12:20
by cirus
So I'm running, here are links for beta testers:
The
CirusDomoticz application (not yet finished):
https://play.google.com/apps/testing/co ... usdomoticz
The
CirusSMS application (the SMS gateway):
https://play.google.com/apps/testing/co ... t.cirussms
You should find in the links above access to a beta testing forum.
Naturally I tested on 3 mobile Android and mainly Sony (I only have this on hand) so thank you to remount me any malfunction.
Finally Google wrote that in beta versions purchases will not be billed ... I have no certainty on the subject, I myself bought options to test them but I did not see any differences with the ' Purchase of real version. I was not picked but it would have to wait tuesday or Wednesday to validate that.
Also note that the price of the options is the minimum price inc. Tax admitted by Google ie 0,5 € HT and therefore 0,59 € TTC!
There are 4 options, finally it makes that 2,36 € TTC in total for those who will buy the 4 options ...
Re: Development of an SMS gateway via a old Android mobile
Posted: Sunday 26 February 2017 14:09
by cirus
After some positive feedback, put into production of these 2 applications:
CirusSMS: SMS gateway to be installed on a dedicated Android phone that will interface with your Domoticz software with the following functions:
- Sends SMS from Domoticz or other software
- Receipt of orders by SMS and Domoticz driver
- Recharging your mobile automatically
- Control your connection to Domoticz and your Internet access
- Retransfer of other SMS to mobile vote
-
CirusDomoticz :
- Creating a list of commands to be sent by SMS to Domoticz via CirusSMS
- Send a command with a return to the action
- Ask to be reminded by your gateway to listen to the local
- Possibility to put 4 buttons in Widget
Good use
Re: Development of an SMS gateway via a old Android mobile
Posted: Monday 13 March 2017 11:29
by blauwebuis
Interesting.
"Control your connection to Domoticz and your Internet access". What do you mean by that?
Re: Development of an SMS gateway via a old Android mobile
Posted: Wednesday 29 March 2017 15:35
by hskip
Beautiful! I got it working.
But how do I get rid of the SMStext "DOMOTICZ:JVW5WsldfgXJMIk/43RZXTA/Xer1iYQkbaD29Ct/HD8zkziTC5edCjcorwlNwsdlG1Ah9IaXBPaq/c2TSeKxdNcC/I3GFXnUv+syM112EO5S/DSPQzvChw==".
It should be one of the options, but which and were?
Re: Development of an SMS gateway via a old Android mobile
Posted: Monday 03 April 2017 6:47
by orbitcoms
I am new to Domotricz
I have CirusSMS connected ok to my Domoticz server (running on Raspberry pi 3).
Next I want to have a virtual button on screen I can click to test the sms send but not sure how to create this.
Re: Development of an SMS gateway via a old Android mobile
Posted: Monday 03 April 2017 7:49
by orbitcoms
I have found how to add a group control under "Scenes". I created a group named SMSgroup.
The problem is the "On Action" I pasted from your example is not valid. Where my local ip of the android is 192.168.1.123. I left the default port 1200 in CirusSMS and changed group to "ADMIN"
When I enter the line below as "On Event" and Save, I get error "Invalid ON Action!"
Http://192.168.1.123:1200/SMS&GRP=ADMIN ... Test%20SMS
Re: Development of an SMS gateway via a old Android mobile
Posted: Monday 03 April 2017 8:00
by orbitcoms
Moving along a bit. I figured why the line was invalid - it is case sensitive (I had capital Http).
Still no sms sent however.
How do you debug the flow to find where it is falling over?