mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Update sms.markdown
This commit is contained in:
parent
7aa2a68010
commit
43dd7a9033
@ -33,12 +33,12 @@ notify:
|
|||||||
name: sms_person2
|
name: sms_person2
|
||||||
phone_number: PHONE_NUMBER
|
phone_number: PHONE_NUMBER
|
||||||
```
|
```
|
||||||
And the screts yaml:
|
{% configuration %}
|
||||||
```
|
device:
|
||||||
sms_person1: "+1NNNNNNNNNN"
|
description: The gsm modem device.
|
||||||
sms_person2: "+1NNNNNNNNNN"
|
required: true
|
||||||
```
|
type: string
|
||||||
Replace the NNN for the actual phone numbers
|
{% endconfiguration %}
|
||||||
|
|
||||||
To use notifications, please see the [getting started with automation page](/getting-started/automation/).
|
To use notifications, please see the [getting started with automation page](/getting-started/automation/).
|
||||||
|
|
||||||
@ -48,6 +48,7 @@ Check that the modem is recognized by running:
|
|||||||
```bash
|
```bash
|
||||||
ls -l /dev/*USB*
|
ls -l /dev/*USB*
|
||||||
```
|
```
|
||||||
|
Note: In hassio you need to install the SSH add on.
|
||||||
|
|
||||||
## Required Hardware
|
## Required Hardware
|
||||||
|
|
||||||
@ -61,10 +62,7 @@ Need to unlock it using [this guide](http://blog.asiantuntijakaveri.fi/2015/07/c
|
|||||||
|
|
||||||
### Note about Raspberry PI 4
|
### Note about Raspberry PI 4
|
||||||
On Raspberry PI 4, you need a udev rule in the config USB stick, for the [Huawei E3372-510 stick](https://www.amazon.com/gp/product/B01N6P3HI2/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1) for it to be recognized.
|
On Raspberry PI 4, you need a udev rule in the config USB stick, for the [Huawei E3372-510 stick](https://www.amazon.com/gp/product/B01N6P3HI2/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1) for it to be recognized.
|
||||||
This config is:
|
Set this content in file udev\10-gsm-modem.rules in the configuration USB:
|
||||||
```txt
|
|
||||||
udev\10-gsm-modem.rules
|
|
||||||
```
|
|
||||||
```txt
|
```txt
|
||||||
ACTION=="add" \
|
ACTION=="add" \
|
||||||
, ATTRS{idVendor}=="12d1" \
|
, ATTRS{idVendor}=="12d1" \
|
||||||
@ -74,10 +72,3 @@ ACTION=="add" \
|
|||||||
|
|
||||||
## More details:
|
## More details:
|
||||||
- [Original thread discussion](https://community.home-assistant.io/t/send-sms-with-usb-gsm-modem-when-alarm-triggered/28942/38)
|
- [Original thread discussion](https://community.home-assistant.io/t/send-sms-with-usb-gsm-modem-when-alarm-triggered/28942/38)
|
||||||
|
|
||||||
{% configuration %}
|
|
||||||
device:
|
|
||||||
description: The gsm modem device.
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
{% endconfiguration %}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user