Update the layout

This commit is contained in:
Fabian Affolter 2016-01-12 11:29:00 +01:00
parent 3c4ea31525
commit c52e0c2fbf

View File

@ -9,27 +9,9 @@ sharing: true
footer: true footer: true
logo: free_mobile.png logo: free_mobile.png
ha_category: Notifications 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. The `free_mobile` platform is using the French mobile operator [Free Mobile](http://mobile.free.fr/) to send SMS to your 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
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. 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> </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. 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 #### Example service payload