Browse Source

Added details on communication

Brendan Abolivier 8 years ago
parent
commit
a5a8f22bfa
Signed by: Brendan Abolivier <contact@brendanabolivier.com> GPG key ID: 8EF1500759F70623
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      README.md

+ 2
- 2
README.md View File

10
 
10
 
11
 ## Welcome Home
11
 ## Welcome Home
12
 
12
 
13
-Welcome Home is a bash script which detects when a selected device is connected to your local network. If it detects the device, it will communicate with Mopidy and start playing a selected stream (set in the configuration file) on the Pine64's jack output.
13
+Welcome Home is a bash script which detects when a selected device is connected to your local network. If it detects the device, it will communicate with Mopidy using its [JSON API](https://docs.mopidy.com/en/latest/api/http/) and start playing a selected stream (set in the configuration file) on the Pine64's jack output.
14
 
14
 
15
 In my example, when I get home and my phone connects to my apartment's wifi, it gets a static IP address (as I configured it in my DHCP server). Welcome Home detects it, which means that I'm home or almost there, and starts some nice Trance music for me.
15
 In my example, when I get home and my phone connects to my apartment's wifi, it gets a static IP address (as I configured it in my DHCP server). Welcome Home detects it, which means that I'm home or almost there, and starts some nice Trance music for me.
16
 
16
 
66
 ```shell
66
 ```shell
67
 systemctl enable mopidy
67
 systemctl enable mopidy
68
 systemctl start mopidy
68
 systemctl start mopidy
69
-```
69
+```