Hi, I'm starting a new thread regarding this (old one here https://en.community.sonos.com/advanced-setups-229000/sonos-with-nodejs-my-attempt-33834) since that one grew out of hand.
I have made some major improvements to the simple HTTP API that I've built, and it now also comes with a pre-composed raspberry pi image that runs from a RAM-drive (based on AlpineLinux) for even simpler installation.
This software is useful for simple integration with home automation in mind, or for small hobby projects.
For more information, see http://jishi.github.io/node-sonos-http-api/
File issues at github https://github.com/jishi/node-sonos-http-api/issues