|
@@ -10,7 +10,7 @@ When I got that done, I wanted to enhance it. Since I didn't want just some cent
|
10
|
10
|
|
11
|
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
|
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,4 +66,4 @@ Since you installed Mopidy from sources, there's no provided way to automaticall
|
66
|
66
|
```shell
|
67
|
67
|
systemctl enable mopidy
|
68
|
68
|
systemctl start mopidy
|
69
|
|
-```
|
|
69
|
+```
|