Great idea! I've never tried it before but I found this:

redoid - A Node.js package that provides an API to control your IKEA Dioder LED light strip on your Raspberry Pi
https://github.com/ffraenz/redoid