You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.3 KiB
31 lines
1.3 KiB
5 years ago
|
# Setting up matrix-bridge-sms (optional)
|
||
5 years ago
|
|
||
|
The playbook can install and configure
|
||
|
[matrix-sms-brdige](https://github.com/benkuly/matrix-sms-bridge) for you.
|
||
|
|
||
|
See the project page to learn what it does and why it might be useful to you.
|
||
|
|
||
5 years ago
|
First you need to ensure, that the bridge has unix read and write rights to your modem. On debian based distributions there is nothing to do. On others distributions you either add a group `dialout` to your host and assign it to your modem or you give the matrix user or group access to your modem.
|
||
|
|
||
5 years ago
|
To enable the bridge just use the following
|
||
|
playbook configuration:
|
||
|
|
||
|
|
||
|
```yaml
|
||
|
matrix_sms_bridge_enabled: true
|
||
5 years ago
|
matrix_sms_bridge_gammu_modem: "/dev/serial/by-id/myDeviceId"
|
||
5 years ago
|
# generate a secret passwort e.g. with pwgen -s 64 1
|
||
|
matrix_sms_bridge_database_password: ""
|
||
|
# (optional) a room id to a default room
|
||
5 years ago
|
matrix_sms_bridge_default_room: ""
|
||
|
# (optional) gammu reset frequency (see https://wammu.eu/docs/manual/smsd/config.html#option-ResetFrequency)
|
||
|
matrix_sms_bridge_gammu_reset_frequency: 3600
|
||
5 years ago
|
# (optional) group with unix read and write rights to modem
|
||
|
matrix_sms_bridge_modem_group: 'dialout'
|
||
5 years ago
|
```
|
||
|
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
Read the [user guide](https://github.com/benkuly/matrix-sms-bridge/blob/master/README.md#user-guide) to see how this bridge works.
|