Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.gitignore
README.adoc
docker-compose.yml
log-sonos-to-kafka.sh

README.adoc

How do I use it?

Grab the Docker Compose from here, and give it a whirl.

  1. You need to find the IP of your Sonos device (e.g. from the Sonos mobile app About My System), and put this in the log-sonos-to-kafka.sh file and then execute it:

    ./log-sonos-to-kafka.sh
  2. Launch ksqlDB CLI:

    docker exec -it ksqldb-cli bash -c 'echo -e "\n\n⏳ Waiting for ksqlDB to be available before launching CLI\n"; while : ; do curl_status=$(curl -s -o /dev/null -w %{http_code} http://ksqldb-server:8088/info) ; echo -e $(date) " ksqlDB server listener HTTP state: " $curl_status " (waiting for 200)" ; if [ $curl_status -eq 200 ] ; then  break ; fi ; sleep 5 ; done ; ksql http://ksqldb-server:8088'

Then run through the article as shown, and enjoy!

You’ll find Grafana at http://localhost:3000 (login admin/admin) and Chronograf at http://localhost:8888/.

You can’t perform that action at this time.