AnySMS Component for Home Assistant
This is a custom Homeassistant component for the AnySMS HTTP gateway.
It sends a notification as a SMS via the AnySMS HTTP gateway (https://www.any-sms.biz/docs/any_sms_gateway.pdf):
This component needs a valid Any-sms account and sufficient credit balance
Place the anysms folder inside your custom_components folder (create if it not exists)
- notify:
- platform: anysms
name: anysms
client_id: 000000
api_key: abc
code: 20
sender: 0176123456789
recipient: 0049176987654321
Same as any other home assistant notify component
service: notify.anysms
data:
message: Hello world
Parameter | Type | Description |
---|---|---|
client_id |
integer |
Required your customer id |
api_key |
string |
Required your password or api key |
sender |
string |
Required sender of the sms (16 numbers or 11 characters) |
recipient |
string |
Required recipient of the sms (international format) |
code |
integer |
sms gateway 20 (default), 28, 29 |
- error handling
- dynamic sender via data
- dynamic recipient via data
- dynamic gateway via code
- support for multiple recipients
- setup via UI/flow
- service to query account credit balance
- support for receipt confirmation
- unicode support
- test long sms
- support for time offset dispatch