All Projects → Bhagyarsh → usim800

Bhagyarsh / usim800

Licence: MIT license
usim800 is a Python driver module for SIM800 GSM/GPRS .

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to usim800

battack
©SMS BOMBING & CALL BOMBING TOOL FOR TERMUX
Stars: ✭ 336 (+833.33%)
Mutual labels:  sms
TinyChat
💬 Extra small chat client with GUI
Stars: ✭ 15 (-58.33%)
Mutual labels:  raspberrypi
SmartMirror
Raspberrry Pi powered smart mirror inspired by HackerHouseYT Smart Mirror project
Stars: ✭ 16 (-55.56%)
Mutual labels:  raspberrypi
openscad-rpi-library
OpenSCAD library of various objects to use in Raspberry Pi-based projects
Stars: ✭ 30 (-16.67%)
Mutual labels:  raspberrypi
feupy
The sigarra scraping library no one asked for
Stars: ✭ 13 (-63.89%)
Mutual labels:  requests
TooManyCaptains
🕹 Too Many Captains and Not Enough Wire
Stars: ✭ 34 (-5.56%)
Mutual labels:  raspberrypi
ucp-cli
command-line interface for sending and receiving SMS via UCP protocol
Stars: ✭ 15 (-58.33%)
Mutual labels:  sms
Raspberry-Pi-E-Ink-Dashboard
Tri color e-ink dashboard written in Python 3.7, running on Raspberry Pi
Stars: ✭ 80 (+122.22%)
Mutual labels:  raspberrypi
Home-Assistant-Configuration
HomeAssistant Configuration
Stars: ✭ 14 (-61.11%)
Mutual labels:  raspberrypi
godot-launcher
Alternative launcher for single-board computers
Stars: ✭ 107 (+197.22%)
Mutual labels:  raspberrypi
embedded-sht
Embedded SHT Drivers for Sensirion Temperature and Humidity Sensors - Download the Zip Package from the Release Page
Stars: ✭ 53 (+47.22%)
Mutual labels:  raspberrypi
Tieba-Birthday-Spider
百度贴吧生日爬虫,可抓取贴吧内吧友生日,并且在对应日期自动发送祝福
Stars: ✭ 28 (-22.22%)
Mutual labels:  requests
MetaWear-SDK-Python
MetaWear Python SDK - Linux / Windows - Python3
Stars: ✭ 43 (+19.44%)
Mutual labels:  raspberrypi
ansible-role-ntp-gps
Ansible Role: NTP with GPS on Raspberry Pi
Stars: ✭ 15 (-58.33%)
Mutual labels:  raspberrypi
bme680 to influxdb
Simple script that sends your BME680 temp, pressure, humidity and gas sensor data to InfluxDB.
Stars: ✭ 21 (-41.67%)
Mutual labels:  raspberrypi
TeslaPy
A Python module to use the Tesla Motors Owner API
Stars: ✭ 216 (+500%)
Mutual labels:  requests
qt-raspberrypi-configuration
mkspecs configuration for native Qt 5 build on Raspberry Pi
Stars: ✭ 29 (-19.44%)
Mutual labels:  raspberrypi
circle-stdlib
Standard C and C++ Library Support for Circle
Stars: ✭ 58 (+61.11%)
Mutual labels:  raspberrypi
get LibSeat
利昂图书馆预约系统自动预约&签到程序。支持包括中国人民大学、北京师范大学、济南大学、哈尔滨工业大学等在内的38所高校的图书馆系统
Stars: ✭ 39 (+8.33%)
Mutual labels:  requests
mainsms api
Official MainSMS client
Stars: ✭ 25 (-30.56%)
Mutual labels:  sms

usim800

image image image

usim800 is a Python driver module for SIM800 GSM/GPRS . Its has easy-to-use api to access GPRS and to send sms .

Support

  • raspberry pi
  • Tested on python 3 with orange pi zero and linux machine using (usb to ttl) .

Features

Send Get and post requests(supports HTTP/1.1).

requests API similar to pythons Requests module.

Send SMS

Installation

> pip install usim800

Quick start :

Import

>>> from usim800 import sim800
>>> import json
>>> gsm = sim800(baudrate=9600,path="/dev/ttyUSB3")

set APN

>>> gsm.requests.APN = "www"

get and post request

>>> gsm.requests.get(url="http://my-json-server.typicode.com/typicode/demo/posts")
>>> r = gsm.requests
>>> r.status_code
'200'
>>> r.content
b'[  {    "id": 1,    "title": "Post 1"  },  {    "id": 2,    "title": "Post 2"  },  {    "id": 3,    "title": "Post 3"  }]'
>>> r.json()
[[{'id': 1, 'title': 'Post 1'}, {'id': 2, 'title': 'Post 2'}, {'id': 3, 'title': 'Post 3'}]]
>>> r.IP
'10.110.188.15'
>>> data = {"name":"somthing...."}
>>> gsm.requests.post(url="http://ptsv2.com/t/usim800/post",data=json.dumps(data))
'201'
>>> r.status_code
'201'
>>> r.content
b'Thank you for this dump. I hope you have a lovely day!'

>>> r.IP
'10.182.199.208'

SMS

>>> gsm.sms.send("8850813167","hi from usim800")
True

Future Plan and improvements

  • better error handling
  • read sms
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].