Home Automation
Browsing Category

Home Automation

Logitech Pop with Sonos & Shuffle Songs

September 23, 2017 0 comments

I’ve been using Sonos speakers for about 2 years now.  When I heard about the Logitech Pop I had to jump on board.  They are great however it lacks some features.  I have a Logitech Pop button in about every room of my house.  Some that do different things.  I.E (If i’m coming downstairs and want music playing throughout the house I can press one of my Logitech Pop buttons and do so.

If i’m doing the dishes and want music to only play in the kitchen I can press a Logitech Pop button and have music playing instantly in the kitchen.  They also have 2 other settings which is a double press, and a long press.  I have all mine configured the same so “Double Press” would skip to the next track.  “Long Press” will pause the current speaker (or all speakers).

One of my biggest downsides was every time I pressed the button to play something it would either pickup where it left off or it would start at the beginning of the list again.  I searched everywhere but I could figure out how to make the Logitech Pop button start with “Shuffle“.

I was playing around with some of the music services Sonos had to offer and I saw that Plex was now a beta option.  Since I’m a huge Plex user for all my Video, tv shows and movies.  I figured I would try adding some Music and letting Sonos stream from there.  (In the beginning it took awhile to get Sonos to actually talk to Plex I think it was something to do with the routing with Google Wifi, however not sure how but we fixed the problem).

When I added the Plex account I noticed it had a “Shuffle” all songs option.

Here are the steps for Adding Plex to your Sonos and having Logitech Pop start with “Shuffle” on press.  (Assuming you are already a Plex user).

Step 1.  Login to your Sonos app on your android device.  Click the (3 arrows at the top to display Options in Sonos).  Once there Click on “Add Music Services“.  Choose Plex.  It will ask you to login to your account.

Step 2.  Verify that Plex music service will play to one of your Sonos speakers and that “Shuffle All” is an option.

Step 3.  Launch the Logitech Pop application on your phone and update your Play buttons to (Shuffle All) from your Plex server.  Viola it was that easy.

I know it sucks if your coming from Spotify or Google Play and you have to physically store all of your Media on your server or computer.   Also if your computer or server is not running 24/7 you can now use Plex’s Cloud option.

I’m starting to love these buttons more and more they recently came out with an update that now I can control my Lutron caseta switches; Phillips Hue Bulbs and other smarthome options all with a press of a button.

SmartThings Create a Virtual Timer for a Light

September 14, 2017 0 comments

So I have been using Tasker a lot however I’m on the T-Mobile jump program and I switch from phone to phone quite a bit.  I was going to reinsert all of my Tasker profiles however I decided to see if SmartThings had a better method yet of presence sensing.  So I decided to relink my Android device as my presence sensor.  I’ve been testing this for about a week now and it seems to be more accurate then all of my Tasker/AutoLocation profiles.

How I have my house configured as my car approaches the house I want my Yale Smart Deadbolts to unlock, and turn on my Front porch and side porch lights; they are wired to (Lutron Caseta Switches).

Everything worked great however I had a Tasker profile that would wait 10 minutes and turn off the porch lights.  At first I tried creating a rule in SmartThings but it would turn the lights off constantly after 10 minutes even if I manual turned them on.  I figured out what I need to create is a SmartThings Virtual Switch.

Below is my configuration.

Step 1.  Create a virtual switch to be the timer. 

Aeotec by Aeon Labs ZW056 Doorbell with SmartThings

January 4, 2017 0 comments
Aeotec AeonLabs Doorbell

So my next step onto my SmartHome was installing a doorbell that would work with my current Smartthings hub.   This was tricky because my house never had a doorbell or a wire installed so I wanted to go the easiest route and install a wireless doorbell.

Purchase:  Aeotec by Aeon Labs ZW056 Doorbell

The hardest part was installing a custom Device Handler through the Smartthings IDE.  Please make sure you do not pair this device yet with your SmartThings app.

First login to your SmartThings IDE

https://graph.api.smartthings.com

Next Click on “My Hubs” (this was my biggest problem at first, it wasn’t actually pulling up my devices so the Device Handler at first was never getting installed to my Hub).   If you see a message that says “You don’t have any hubs yet. Please use the SmartThings mobile app to claim your hub.”  You need to click on “My Locations“, then Click on your Hub Name mine was  called “Home“.  It should ask you to login again.  You should now see your Hub information.  Great you are now actually logged into your account.

We are going to be using the custom Device Handler created by krlaframboise on the SmartThings Community – [RELEASE] Aeon Labs Aeotec Doorbell

On the SmartThings IDE Page, at the Top Click on “My Device Handlers

 

Next Click on “Create New Device Handler” button in Green.

Navigate over to the GitHub Device Handler Code at https://github.com/krlaframboise/SmartThings/blob/master/devicetypes/krlaframboise/aeotec-doorbell.src/aeotec-doorbell.groovy be sure to copy the entire code contents.

Now that the code is copied we want to place it back in the SmartThings IDE Device Handler.  On the Create New Device Handler Page, Click on “From Code“.  (Like shown below).

Once the Code has been Pasted in, hit the “Save” button then hit the “Publish” button.

That’s the complete setup for getting your Custom Device Handler added to your SmartThings hub.  The next step is you want to pair your new Aeon Labs Doorbell to the SmartThings hub.  Like I said in the beginning if you already have your device connected to the Hub you need to Remove it and run the exclusion tool to remove the device.

Open up your SmartThings App and Choose “Add a Thing” Make sure this is the only way you add the device, do choose from the List it needs to find it manually and apply the Custom Device Handler.

  

Once the SmartThings application finds your new Doorbell it should say “Aeotec Doorbell” if it does not and says something about a Siren, your device handler is installed wrong.

In the image below is what the settings will look like over your Aeon labs / Aeotec Doorbell in Smartthings.

   

Now that my Custom Device Handler was installed correctly.  I was able to go and Create a Custom Automation Rule so when the doorbell was pressed it would trigger an event.

       

I made it so the Automation Rule would turn on my (2) Hue Blooms and starting playing my Sonos Kitchen speaker on the event the “Doorbell” button was “Pushed or Held“.