mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
47 lines
1.3 KiB
Markdown
47 lines
1.3 KiB
Markdown
# bonob
|
|
|
|
A bridge between sonos and ?
|
|
|
|

|
|
|
|
## Running
|
|
|
|
bonob is ditributed via docker and can be run in a number of ways
|
|
|
|
### Full sonos device auto-discovery by using docker --network host
|
|
```
|
|
docker run \
|
|
-p 4534 \
|
|
--network host \
|
|
simojenki/bonob
|
|
```
|
|
|
|
### Full sonos device auto-discovery on custom port by using a sonos seed device, without requiring docker host networking
|
|
```
|
|
docker run \
|
|
-e BONOB_SONOS_SEED_HOST=192.168.1.123 \
|
|
-e PORT=3000 \
|
|
-p 3000 \
|
|
simojenki/bonob
|
|
```
|
|
|
|
### Disabling sonos device discovery entirely
|
|
```
|
|
docker run \
|
|
-e BONOB_SONOS_SEED_HOST=disabled \
|
|
-p 4534 \
|
|
simojenki/bonob
|
|
```
|
|
|
|
## Configuration
|
|
|
|
item | default value | description
|
|
---- | ------------- | -----------
|
|
BONOB_PORT | 4534 | Default http port for bonob to listen on
|
|
BONOB_WEB_ADDRESS | http://localhost:4534 | Web address for bonob
|
|
BONOB_SECRET | bonob | secret used for encrypting credentials
|
|
BONOB_SONOS_SEED_HOST | undefined | sonos device seed host for auto-discovery, or 'disabled' to turn off device discovery entirely
|
|
BONOB_SONOS_SERVICE_NAME | bonob | service name for sonos
|
|
BONOB_SONOS_SERVICE_ID | 246 | service id for sonos
|
|
BONOB_NAVIDROME_URL | http://localhost:4533 | URL for navidrome
|