I'm a Unix n00b, but I managed to follow enough guides to install node.js and node-sonos-http-api which allows me to do localhost/livingroom/play to start the music
I have a Nwazet Pi Infrared Receiver and now I want to control Sonos with my TV remote.
I was thinking that I could somehow listen for incoming IR with LIRC and then just e.g. 'curl localhost/livingroom/play' based on what was pressed.
Any idea how to do this and where to start?