1.0.0
π² SMS Notifications via SMS.to
SMS Notifications via SMS.to is a custom integration for Home Assistant that enables sending SMS notifications directly through the SMS.to service.
π§ Features
β
Send SMS notifications via SMS.to directly from Home Assistant.
β
Configure SMS notifications through Home Assistant's UI.
β
Two built-in sensors:
sensor.smsto_balance: Displays the current SMS.to account balance in EUR.sensor.smsto_total_sms_sent: Shows the total number of SMS messages sent via SMS.to.
β Customize notifications with:
- Title (optional).
- Recipients (one or more phone numbers).
- Additional Data for platform-specific functionalities (e.g.,
callback_url).
π Installation
1. Via HACS (Home Assistant Community Store)
- Go to HACS > Integrations.
- Click the three-dot menu in the top right and select Custom Repositories.
- Add this repository's URL (
https://github.com/cnecrea/smsto) as a custom repository. - Search for
SMS notifications via SMS.toand click Download. - Restart Home Assistant after installation.
2. Manual Installation
- Download this repository as a ZIP file.
- Extract the contents and copy the folder
smstointo:
config/custom_components/. - Restart Home Assistant after installation.
βοΈ Configuration
- Navigate to Settings > Devices & Services > Add Integration.
- Search for
SMS notifications via SMS.to. - Enter your API Key and Sender ID (obtained from your SMS.to account).
π οΈ Usage
Automation (YAML):
action: notify.smsto
data:
message: "The garage door is open!"
target:
- "+1234567890"
- "+0987654321"
data:
callback_url: "https://example.com/alert"π Built-in Sensors
After setting up the integration, you will have access to the following sensors:
sensor.balance
Description: Displays your SMS.to account balance.
Attributes:
- friendly_name: βBalanceβ
- unit_of_measurement: βEURβ
- icon: mdi:cash
sensor.total_sms_sent
Description: Shows the total number of SMS messages sent.
Attributes:
- friendly_name: βTotal SMS Sentβ
- icon: mdi:message-text-outline
Creating a Lovelace Card for Sensors
type: entities
title: SMS.to Account Status
entities:
- entity: sensor.balance
- entity: sensor.total_sms_sentThis card will display the account balance and the total number of SMS sent directly in your Home Assistant dashboard.
π Requirements
- An active SMS.to account.
- A valid API Key and configured Sender ID from SMS.to.
β Support the Developer
If you enjoyed this integration and want to support the work behind it, buy me a coffee! π«Ά
It costs nothing, and your contribution helps with future development. π
Thank you for your support, and I truly appreciate every gesture of encouragement! π€
π§βπ» Contributions
- Contributions are welcome! Create a pull request or report issues here.
π Support
- If you like this integration, give it a β on GitHub! π
