Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.32 KB

File metadata and controls

40 lines (32 loc) · 1.32 KB

Raspberry SMS Agent

Raspberry SMS Agent is a Node.js application running on a Raspberry Pi. It uses the SIM800L module to periodically poll an external server for commands and sends SMS responses based on the commands received. This setup ensures secure and automated SMS command retrieval and dispatch for IoT applications, without requiring a static IP.

Project Setup Images

Below are images of the hardware setup: Complete Setup View 1 Complete Setup View 2 Raspberry Pi and Components Breadboard Setup SIM800L Module

Installation

To get started with the Raspberry SMS Agent, follow these steps:

  1. Install Node.js: Ensure Node.js and npm are installed on your Raspberry Pi:
    sudo apt update
    sudo apt install nodejs npm```

Clone the Repository: Clone this repository to your Raspberry Pi:

git clone https://github.com/yourusername/raspberry-sms-agent.git
cd raspberry-sms-agent```
Install Dependencies:
Install the necessary Node.js packages:

npm install

Usage
To start the service, run the following command in the project directory:

node src/index.js

The service will check for new SMS commands from the external server every 5 minutes and respond as necessary.