GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jinglemansweep/sms2mqtt: SMS (Cloud) to MQTT Gateway

BranchesTags
Open more actions menu

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
.vscode
.vscode
 
 
sms2mqtt
sms2mqtt
 
 
.dockerignore
.dockerignore
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
mypy.ini
mypy.ini
 
 
poetry.lock
poetry.lock
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

SMS2MQTT

A simple SMS to MQTT gateway for polling TextLocal API and publishing any received SMS text messages to an MQTT broker.

Requirements

  • MQTT Server (e.g. Mosquitto)
  • API Key, Inbox ID from TextLocal SMS service

You will need an account at TextLocal to use their excellent SMS services. A free account provides you with a fixed keyword (e.g. ABCDE) on one of their shared short numbers (e.g. 60777). Messages can be sent to the short number but the message must contain the fixed keyword in order for it to be processed.

Once you have an account, create an API Key and then find the Inbox ID of the inbox you want to monitor. You can find thise by going to the View Inboxes, expanding the required inbox and clicking View Inbox. The URL of the resulting page should look like: https://control.txtlocal.co.uk/messages/?id=10. In this example, the ID of the inbox is 10.

Installation

Create a virtual environment, and install dependencies:

python -m venv ./venv
source ./venv/bin/activate
poetry install # or 'pip install .'

Configure the project by either creating a .env file (see .env.example for details):

cp ./.env.example ./.env
${EDITOR} ./.env

Start the project using Docker and Compose:

docker compose up -d --build

Or within your local development environment:

python3 ./sms2mqtt/__init__.py

About

SMS (Cloud) to MQTT Gateway

Topics

gatewaymqttsmstextlocal

Resources

Readme
Apache-2.0 license
Activity

Stars

1 star

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.