Yeah, that’s always going to be the problem–most of SmartThings is not set up for real time monitoring.
On the other hand, you ought to be able to do a DJ mood shift thing where you decide in advance what tracks you’re going to play, you know how long they’re going to last, you put a few pauses in and you do light control during the “intermissions” so you don’t have to be exact to the second. Play a block of 3 songs with one mood, intermission and the lights change, play a new block of songs with a new mood, etc. Use some ramp up, ramp down effects which again don’t have to be perfectly in synch.
Could be fun and impressive as a party effect without having to keep things right to the beat. But it would all be preplanned, not responsive.
You could get the album cover art for the current track from an API like Last.fm or iTunes Store and run it through Pictaculous to get the colors that go with the cover art. Then use those colors on your color lights. I don’t have any color lights to test with but something along those lines might work if anybody has time to play with that. Just a thought.
Ironically, while listening to the dev call, I hooked up my BPM smartApp to my lights and set the light level based on the BPM, danceability, acousticness and liveness as a weighted average to map to light level…
The higher the average, the brighter the lights.
So a slow, undanceble, live song, the lights are almost down (think Marvin Gaye Lets Get it on / the righteous brothers you’ve lost that loving feeling)
and a fast paced, dance track the lights are almost at full blast…
Google Play, I’m feeling lucky, through sonos, ST mood lighting based on the tracks. Modern day mood ring.
It looks like that same info for tracks is available from Echo Nest which is free for non-commercial use. Is that what you are using @pstuart?
I like their statement on commercial use.
Do not use the API or feeds for commercial use without talking to us. - The Echo Nest’s API is free for non-commercial purposes. To use them commercially, talk to us and we will go over the licensing options. In either case, we request that you give us proper branding and attribution when using our data. If you are a lone developer selling advertising that is barely covering your running costs, we consider that non-commercial. If you are a company writing paychecks, making plenty of money or driving a venture-capital-purchased MacBook Pro, you’re probably commercial. For commercial use, we have standard terms & conditions that we can share with you. We want to be flexible and support many uses of the platform, so just contact us at biz@echonest.com if you have any questions about whether your use is commercial.
@April
Any thought of this monthly challenge which the community would submit a really cool device type for the Aeon Labs Power Strip that is presently not on the internal Smarttings roadmap to be officially supported?
Aeon Labs Aeotec Z-Wave Smart Energy Power Strip (DSC11-ZWUS)
Haha, that would be really cool : Though, I know we’re still working on approving a backlog of device types too!
Certainly think I need to go back to the drawing board first though. Now that Kris has joined the team, and is approving smartapps, we can certainly rev up these contests a bit more. However, at the mean time, we gotta clear our queue of DT and SA.