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

Please add function for sms and telephon functions with this sim900 Modul #5170

Closed
dr-apple opened this issue Feb 8, 2019 · 14 comments
Closed
Labels
troubleshooting Type - Troubleshooting workaround Result - The work on the issue has ended with an alternative solution

Comments

@dr-apple
Copy link

dr-apple commented Feb 8, 2019

Hi please add sms and telephon functions with this sim900 Modul:

https://electronicfreakblog.wordpress.com/2014/04/27/das-sim900-gsmgprs-shield-und-der-leonardo/

It works with AT commands over Serial ;-)

@ascillato2
Copy link
Collaborator

ascillato2 commented Feb 8, 2019

Hi,

The serial is already implemented in Tasmota. You can make the rules you want to send AT commands.

See wiki for more infomation on commands and if you need further assistant please find us in the Tasmota Support Chat.

Support Information

See Wiki for more information.
See Chat for more user experience.

@ascillato2 ascillato2 added duplicated Result - Duplicated Issue template missing/incomplete Action - Template Missing or incomplete (issue will be closed) and removed template missing/incomplete Action - Template Missing or incomplete (issue will be closed) labels Feb 8, 2019
@dr-apple
Copy link
Author

dr-apple commented Feb 8, 2019

No i will not works with rules ;-(

Please see the manual ;-)

@ascillato2
Copy link
Collaborator

It works. I have done that using serial.

@ascillato2
Copy link
Collaborator

You can send the AT commands using the Tasmota serialsend command. That serialsend can be issued by mqtt, by http and also inside a rule.
If you make rules, you can make a new event like EVENT sendsms=light1ON then in rules you can make
Rule1 1
Rule1 on event#sendsms do backlog serialsend AT+; Delay 1; All the commands and then use the %value% variable to send it over serial.
Also you can store the phone number in a mem and call it from %mem1% etc

So, it can be done with rules. There is no problem with that.

If you need further assistant please find us in the Tasmota Support Chat. Thanks

@dr-apple
Copy link
Author

dr-apple commented Feb 8, 2019

Ok can you please tell me how i can see the Software Serial Bridge output from the device ?

@ascillato2
Copy link
Collaborator

There is no need to use software serial. You can use hardware serial with command serialsend. Remember to put the seriallog to 0.

@dr-apple
Copy link
Author

dr-apple commented Feb 8, 2019

I will it works with software serial ;-)

@ascillato2
Copy link
Collaborator

ascillato2 commented Feb 8, 2019

The data sent from sim900 to Tasmota is going to be resent to your mqtt broker. You can use it in your home automation software until the request #4942 is done.

Also, you will see the reception data in the Tasmota web console. Remember to enable weblog to 4.

I'm working on the rule's trigger event for serial reception. Hope I have some time and can make a PR soon. So, in case of data coming to Tasmota, you will be able to make rules for data reception too.

If you are in core 2.4.2 or 2.5.0 software serial will work the same as hardware serial. Just the commands change to sserialsend

@ascillato2
Copy link
Collaborator

In core 2.3.0 you may experience some software watchdogs if using software serial

@dr-apple
Copy link
Author

dr-apple commented Feb 8, 2019

:-( it dosn't work :
SSerialSend ATD+ +number;
SSerialSend2 ATD+ +number;
SSerialSend3 ATD+ +number;

Put i can see what the device respond :-(

What is wrong ?

Thank you for your help !

@dr-apple
Copy link
Author

dr-apple commented Feb 8, 2019

I have tried it with the hardware serial port, seriallog 0 and then tried something to send, but nothing happens, and I also receive no messages from the sim900? What am I doing wrong ?

@dr-apple
Copy link
Author

dr-apple commented Feb 8, 2019

yes the baudrate is 19200 set ;-)

@ascillato2
Copy link
Collaborator

Hi, sorry I didn't answer before. At this moment I'm very busy finishing a project in my main job.

I have that module. It is very cool and useful. Give me some time and I will post here and in the wiki a full example using that module. I think this will be useful for other users too.

Thanks for the patience. 👍

@ascillato2 ascillato2 added workaround Result - The work on the issue has ended with an alternative solution troubleshooting Type - Troubleshooting add to wiki and removed duplicated Result - Duplicated Issue labels Feb 9, 2019
@satekp
Copy link

satekp commented Jan 1, 2021

Hi
I'm trying to use sim800 mudule with Tasmota serial .
Could you please share some example on how to send sms on some trigger, and power on action on sms received as trigger ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
troubleshooting Type - Troubleshooting workaround Result - The work on the issue has ended with an alternative solution
Projects
None yet
Development

No branches or pull requests

3 participants