mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Update the layout
This commit is contained in:
parent
3c4ea31525
commit
c52e0c2fbf
@ -9,27 +9,9 @@ sharing: true
|
||||
footer: true
|
||||
logo: free_mobile.png
|
||||
ha_category: Notifications
|
||||
featured: true
|
||||
---
|
||||
|
||||
[Free Mobile](http://mobile.free.fr/) is a French mobile operator who provide to customers an API to send SMS on their own cell phone.
|
||||
|
||||
### Configuration
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
notify:
|
||||
platform: free_mobile
|
||||
username: YOUR_ACCOUNT_ID
|
||||
access_token: TOKEN
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **username** (*Required*): This is the id given by FreeMobile to access to your online account.
|
||||
- **access_token** (*Required*): You can get this token by activating the SMS API in your online account.
|
||||
|
||||
### Usage
|
||||
The `free_mobile` platform is using the French mobile operator [Free Mobile](http://mobile.free.fr/) to send SMS to your own cell phone.
|
||||
|
||||
Before doing anything, you have to activate the SMS API option in your Free Mobile account (In "Gérer mon compte -> Mes Options"). Activating this option will automatically generate a token which is required in your configuration.
|
||||
|
||||
@ -38,7 +20,25 @@ Before doing anything, you have to activate the SMS API option in your Free Mobi
|
||||
</p>
|
||||
|
||||
This API only send classic SMS and only on the cell phone of the account owner. So you only have to provide a text message in your payload.
|
||||
**Warning** : if you disable and re-enable the SMS API option, please be sure to update your token in your configuration
|
||||
|
||||
<p class='note warning'>
|
||||
If you disable and re-enable the SMS API option, please be sure to update your token in your configuration.
|
||||
</p>
|
||||
|
||||
To enable SMS notifications in your installation, add the following to your `configuration.yaml` file:
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
notify:
|
||||
platform: free_mobile
|
||||
username: YOUR_ACCOUNT_ID
|
||||
access_token: TOKEN
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **username** (*Required*): This is the id given by FreeMobile to access to your online account.
|
||||
- **access_token** (*Required*): You can get this token by activating the SMS API in your online account.
|
||||
|
||||
#### Example service payload
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user