https://github.com/ldotlopez/dch-s200-docker
DCH-S200-web-control docker image
https://github.com/ldotlopez/dch-s200-docker
d-link dch-s220 rest-api siren
Last synced: 2 months ago
JSON representation
DCH-S200-web-control docker image
- Host: GitHub
- URL: https://github.com/ldotlopez/dch-s200-docker
- Owner: ldotlopez
- Created: 2021-10-13T17:43:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-13T17:44:45.000Z (over 3 years ago)
- Last Synced: 2024-10-19T07:16:11.230Z (8 months ago)
- Topics: d-link, dch-s220, rest-api, siren
- Language: Shell
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DCH-S200-web-control image
[Docker container for DCH-S200-web-control](https://github.com/mtflud/DCH-S220-Web-Control/)
## Build
1. Install npm modules: `cd webcontrol; npm i`
2. Build docker image: `docker build -t dcg-s200-web-control .`## Run
```
docker run \
-p 9867:5000 \
-e SIREN_PASSWORD=123456 \
-e SIREN_IP_ADDRESS=siren.local \
-e WEBHOOK_USERNAME=admin \
-e WEBHOOK_PASSWORD=pass \
-e WEBHOOK_PORT=5000 \
dcg-s200-web-control
```## Test
This command
```
curl \
-u admin:pass \
"http://127.0.0.1:9867/?type=status"
```Should return:
```
{"status":"OK","message":"Successfully processed","isPlaying":false}
```