{"id":22218956,"url":"https://github.com/ajamous/tcxc_iot_sms","last_synced_at":"2025-09-04T09:37:42.875Z","repository":{"id":166989843,"uuid":"642543727","full_name":"ajamous/tcxc_iot_sms","owner":"ajamous","description":"Useful TCXC IoT example scripts ","archived":false,"fork":false,"pushed_at":"2023-05-18T20:35:14.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-30T09:52:10.660Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/ajamous.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-05-18T20:11:15.000Z","updated_at":"2023-05-19T10:12:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"2a9992a9-a1fe-48d6-8fdc-385e3164ecf8","html_url":"https://github.com/ajamous/tcxc_iot_sms","commit_stats":null,"previous_names":["ajamous/tcxc_iot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ajamous/tcxc_iot_sms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajamous%2Ftcxc_iot_sms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajamous%2Ftcxc_iot_sms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajamous%2Ftcxc_iot_sms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajamous%2Ftcxc_iot_sms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajamous","download_url":"https://codeload.github.com/ajamous/tcxc_iot_sms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajamous%2Ftcxc_iot_sms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273585572,"owners_count":25132377,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12-02T22:29:56.413Z","updated_at":"2025-09-04T09:37:42.857Z","avatar_url":"https://github.com/ajamous.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 💡 IoT CarTelemetry to NeuTrafix SMS Notification Script\n\nThis script connects to an MQTT broker, subscribes to the \"CarTelemetry\" topic, and sends an SMS message containing the received telemetry data using the NeuTrafix SMS API.\n\n## Use Case: IoT Vehicle Monitoring and Alerting\n\nThis script enables real-time monitoring and alerting for IoT vehicle telemetry data. It connects to an MQTT broker and subscribes to the \"CarTelemetry\" topic to receive telemetry messages. Upon receiving a message, it extracts relevant information from the telemetry data, such as VIN, speed, fuel level, and location coordinates. The extracted data is then used to send an SMS notification using the NeuTrafix SMS API.\n\n\n## Installation\n\n1. Clone the repository or download the script file.\n\n2. Install the required dependencies by running the following command:\n\n   ```shell\n   pip install -r requirements.txt\n   ```\n   \n## Usage\n\nModify the script with your specific configurations:\nUpdate the SMS API request parameters in the on_message function according to your SMS gateway provider's specifications.\nSet the MQTT authentication credentials (Iot_username and iot_password) in the script.\nAdjust the MQTT broker address and port if necessary.\nRun the script using the following command:\n\n```shell\npython mqtt_telemetry_to_sms.py\n```\n\nThe script will connect to the TCXC IoT MQTT broker, subscribe to the \"CarTelemetry\" topic, and start listening for incoming telemetry messages. Once a message is received, it will be sent as an SMS using the configured SMS API.\n\n\n## Other Use Cases\n\n- **IoT Telemetry Monitoring**:🌐 This script enables you to monitor telemetry data from IoT devices using MQTT and receive real-time SMS notifications. It can be used in applications such as remote asset monitoring, environmental sensing, and industrial control systems.\n\n- **Alerts and Notifications **:⚠️ By subscribing to the \"CarTelemetry\" topic, you can use this script to trigger SMS notifications (Using NeuTrafix SMS API) based on specific telemetry events or thresholds. It allows you to receive immediate alerts for critical conditions or important updates. \n\n- **Fleet Management**:🚚 Integrating this script into a fleet management system allows you to gather vehicle telemetry data and send SMS notifications to fleet managers or drivers. It can help in monitoring vehicle performance, tracking maintenance schedules, and enhancing overall fleet efficiency.\n\n- **Security Systems**:🔒 This script can be utilized in security systems where MQTT is used for communication between sensors, cameras, and control panels. By subscribing to MQTT topics related to security events, you can receive SMS alerts in real-time, enhancing the security and responsiveness of the system.\n\nFeel free to customize and expand on these use cases to align with your specific application or domain.\n\n\n\n## License\n\nThis script is licensed under the MIT License.\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajamous%2Ftcxc_iot_sms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajamous%2Ftcxc_iot_sms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajamous%2Ftcxc_iot_sms/lists"}