This page last changed on Apr 03, 2015 by glennl.

I have been working on my OpenRemote implementation for a very long time.

Now it is really getting close to completion, it's more of a media automation system rather than home automation because of the fact the only automation we have is security.

Would love to hear what you guys think.

It's a simply designed theme which focuses on what tasks you would want to do when you are in certain rooms.

You have the rooms

  • Study
  • Kitchen
  • Bedroom
  • Lounge
  • Outside
    And a separate area for whole house security.

Each room has its own devices that require automation for example the study has a separate amplifier to the lounge room, rooms can share sources so if you are in the kitchen and you want to hear what's playing on Pandora in the study just click Pandora.
Other room integrate with Harmony Hub's to give more control of "dumb" media devices.
I used a lot of sensors to make sure the system is smart, when Party mode is selected (joining of zone 1 and 2 on the study amp) it changes party mode to purple and greys out the individual zone volume icons. Input icons also change to blue to indicate they are active.
One of my favourite features is the meta-data, it doesn't matter whether you are playing local music, radio, online sources such as Spotify or in some circumstances AirPlay. The interface will grab all the data and provide album art to match. If you are just watching TV the metadata will change to reflect that zone is watching TV.

Home.PNG (image/png)
Study-Main.PNG (image/png)
study.jpg (image/jpeg)
study.jpg (image/jpeg)
sonos.PNG (image/png)
paytv.jpg (image/jpeg)
study.png (image/png)
paytv.png (image/png)

Hi Glen,

This looks amazing. I would love to be able to integrate Pandora and iTunes while picking up the Metadata but I think that is along ways away for me. I also like the idea of organizing by room instead of function. Well done sir!


Posted by ac3 at Apr 06, 2015 14:33

Hi Glen - this looks excellent nice clean design which I presume runs on android as it looks very lollipop!

What are you using for your Sonos interface - I've been using the jishi -node-sonos-http-api from github which is good but I've not found a way to pull back a nice "whats playing" data set for radio stations.

Posted by jules_bike at Apr 19, 2015 20:54

Hi Jules.

Glad you like it, I couldn't get the scaling working on Android so it's actually just on iOS at the moment.

I am also using node sonos and it is working fantastic for me. I figured out how to do what you want all on my own so it's very exciting.

So I am guessing you already know about the JSON it outputs in the state file, assuming you have the latest version all the information you need is there already.

The following is PHP so it might be a bit different then how you want to use it.

Station - $json->currentTrack->title
Station Logo - $json->currentTrack->albumArtURI
Current Show (remove last 8 digits) substr($json->currentTrack->radioShowMetaData,0,-8);
Now Playing Track - $json->currentTrack->streamInfo

The way you interpret that data is up to you.

I also use AirSonos for Airplay and then pass that metadata aswell.

I tried to pull now playing artwork but it ended up being more trouble than it's worth.

It's lots of fun, when it all comes together, let me know how you go

Posted by glennl at Apr 20, 2015 02:07

Ok so I guess you are doing some php scripting outside of Openremote - I've never tried that. Are you able to explain how that works? At the moment I just have a sensor with a get http command which polls every 1 second.

url: Room/state

Json path expression: $.currentTrack.title


Posted by jules_bike at Apr 20, 2015 11:07

For what you want you just need $.currentTrack.streamInfo

The reason I use PHP is for conditional info eg title would be streaminfo for radio

I also use it for album art, I can't post the script it took awhile

But at the end of the day, it converts all the variations into JSON if no variation is available I have a default one which says"No music playing"

So instead of linking to it would just link to everything else is the same

Hope that helps

Posted by glennl at Apr 20, 2015 11:18

Ok that makes sense I'm not really a programmer so I'll have to live without this for now. I was in touch with the guy who wrote the node function and he said the same thing about needing to do a conditional check for radio.

Posted by jules_bike at Apr 20, 2015 21:08

Amazing work Glenn. The design looks so clean. Also the functionalities you explained appears really intriguing to me.

Posted by joannrockwell at May 28, 2015 06:57

Thanks Joann.

Glad you like it, if there is any further information you want to know about the project just let me know.

I am buying another Raspberry Pi so I can link the two Pi's together through squeezebox for full audio around the house, hopefully it works as expected.

Posted by glennl at May 28, 2015 09:56

Hi Glen, looks cool Did you try the scaling with the new Android console?

Posted by pierre kil at May 29, 2015 08:09

To be honest, it didn't scale well so just using iOS arm

That might change in the future, just haven't given it a real attempt.

Posted by glennl at May 29, 2015 08:38

Hi Glenn,
It is amazing. Now I am making it for my home. Could you please share your Icon photo for me?

Thank you.

Posted by piston at Sep 10, 2015 10:22

Glad you like it, I decided not to release the icon pack but I hope looking at these images gives you inspiration to make your own design

Posted by glennl at Sep 10, 2015 11:06

I bought several of these receivers (SoundMate AirMusic)
tell me how to configure them in OpenRemote.?
I want to replace the standard AirPlay feature on iPhone. the console in OpenRemote, to individually enable and disable the broadcast in different spaces

Posted by aleksey at Oct 17, 2015 18:56
Document generated by Confluence on Jun 05, 2016 09:31