{"id":18897842,"url":"https://github.com/aneisch/cellular_message_relay","last_synced_at":"2026-03-19T07:01:58.627Z","repository":{"id":62330553,"uuid":"554304270","full_name":"aneisch/cellular_message_relay","owner":"aneisch","description":"Middleware for Hologram Message API","archived":false,"fork":false,"pushed_at":"2024-05-24T20:23:16.000Z","size":67,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-17T10:51:43.012Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aneisch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-19T15:31:46.000Z","updated_at":"2023-01-31T20:40:19.000Z","dependencies_parsed_at":"2023-02-05T07:00:44.350Z","dependency_job_id":null,"html_url":"https://github.com/aneisch/cellular_message_relay","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneisch%2Fcellular_message_relay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneisch%2Fcellular_message_relay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneisch%2Fcellular_message_relay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneisch%2Fcellular_message_relay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aneisch","download_url":"https://codeload.github.com/aneisch/cellular_message_relay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239879154,"owners_count":19712174,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T08:39:46.048Z","updated_at":"2025-10-28T11:19:52.354Z","avatar_url":"https://github.com/aneisch.png","language":null,"funding_links":["https://www.buymeacoffee.com/aneisch"],"categories":[],"sub_categories":[],"readme":"# GSM Message Relay container\n\u003ca href=\"https://www.buymeacoffee.com/aneisch\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/default-black.png\" width=\"150px\" height=\"35px\" alt=\"Buy Me A Coffee\" style=\"height: 35px !important;width: 150px !important;\" \u003e\u003c/a\u003e\u003cbr\u003e\n\nActs as a message gateway for cellular modems (see branches for different models). Accepts messages via POST and interacts with the modem to attempt to send over network to Hologram messaging API. Use something like https://github.com/aneisch/cellular_bridge or a CloudFlare Worker to bridge the connection to your messaging platform.\n\n## Usage\nTo transmit a message:\n```bash\ncurl -vvv -X POST -d '{\"message\":\"hi there from a cellular network!\"}' localhost:9999/send_message\n```\n\n### Example docker-compose\n\n```yaml\nversion: '3.2'\nservices:\n    cellular_message_relay:\n        container_name: cellular_message_relay\n        image: ghcr.io/aneisch/cellular_message_relay:sim7080g\n        ports:\n            - '9999:9999'\n        environment:\n            # Optional MODEM_PATH - defaults to /dev/cellular_modem\n            #- MODEM_PATH=/dev/cellular_modem\n            # SIM key from Hologram Device dashboard\n            - SIM_KEY=XXXX\n            # Set a max queue size to limit usage in case we think we need to send 10,000 messages or something\n            - MAX_QUEUE_SIZE=5\n        devices:\n            - /dev/cellular_modem:/dev/cellular_modem\n        restart: always\n```\n### Home Assistant Configuration\n\nWorks great with [RESTful Notifications](https://www.home-assistant.io/integrations/notify.rest/) to relay messages.\n\n```yaml\n# configration.yaml\nnotify:\n  - name: gsm_message\n    platform: rest\n    resource: http://10.0.1.22:9999/send_message\n    method: POST_JSON\n    data:\n      priority: \"{{ data.priority }}\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faneisch%2Fcellular_message_relay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faneisch%2Fcellular_message_relay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faneisch%2Fcellular_message_relay/lists"}