Using Indigo 7 for Home Automation with a Mac

Standard

Back in 2013 I moved from using a very good Windows program called mControl for home automation control over to Indigo for Mac OS. mControl worked great for my needs then but I didn’t want to dedicate an additional computer to the home automation and video recording tasks since I usually left my iMac running anyway.

Indigo looked like an excellent choice and over the years and it has indeed proven to be a great software package for home automation control from a Mac. I realized that even though I’ve blogged about some of the things that I’ve done with Indigo I haven’t really mentioned my overall experience with the software.

It’s now on version 7 and though the cost has risen this is largely due to improved software support and the inclusion of the required licensed technology needed to control Z-Wave compatible door locks. Indigo is very extensible; one can find a number of community-built plugins and it also supports scripting via Python.

I wouldn’t recommend it for someone that isn’t very tech savvy; there are other consumer appliances more suitable for basic home usage, but if you want to do anything more than have a few automated tasks (for example, anything that requires a good bit of logic and virtual devices or variables) you’ll need something like Indigo.

At our house I do use a Wink system and it works fine there but it’s not capable of doing much more than running a few automated tasks; consumer appliances (usually cloud-connected) currently don’t offer very much in this realm. But at the apartment I’m still using Indigo and have moved into some more advanced home automation interactions.

With Indigo I now have several actions that are dependent on the status of other devices, virtual devices and variables. I’m also using some Bluetooth proximity detectors to provide additional enhancements and in the past I’ve done some more interesting things that I currently don’t have setup.

I highly encourage anyone with more than a passing interest in home automation, and a Mac that you’re willing to leave powered on all of the time, to look into Indigo. The initial cost may seem high but when you consider the basic cost just to purchase a consumer appliance hub such as Wink or SmartThings, and then potential issues with any of your existing equipment, you may find that the savings aren’t really there in the long run. Indigo works with X10, Insteaon and Z-Wave devices as well as some other devices that don’t use those protocols.

Pebble Smartwatch Update (and a general opinion of smartwatches)

Standard

Pebble-Box

It’s been almost eight months since I first acquired a Pebble Smartwatch. So, after all this time what do I think of the watch? It’s very good at providing it’s basic, out-of-the box features. My experience seems to have been better than some. Others have had more issues with firmware updates, reliability, and connectivity. I’ve experienced some of these problems myself though I was able to overcome them.

Initially, I had more issues with connectivity. For a while it would refuse to connect to the phone about once every two weeks and the process required restarting both the phone and the watch (and sometimes resetting configuration settings) to get it working properly. Over the past few months those problems have nearly dropped to zero.

Yet, I have elected to not take full advantage of the additional features available via the installation of apps. The few times I’ve tried them I’ve noted an increase in problems with both connectivity and stability. Early on I simply chose to avoid them and I suspect that’s the main reason that I’ve experienced fewer issues.

For the most part, I’m only interested in the clock, a few custom watch faces, and the notifications.

Continue reading

Macs Unable to Connect to Wi-Fi After Changing Network Mode (Cisco Wireless Router)

Standard

One day, while modifying the wireless settings for our Cisco wireless router, I discovered a rather stupid problem. It surfaced when I changed the Network Mode for the 5 GHz network from Mixed to Wireless-N Only. This seemed to make sense since we don’t have any devices using Wireless-A. This is in reference to 802.11a in case anyone was wondering if I had actually meant 802.11ac, which my current router does not support.

And that’s the moment when I was disconnected from Wi-Fi and unable to reconnect. Two different Macs (one MacBook Pro and one MacBook Air) were unable to connect. Once again, I resorted to searching and found the solution. It seems, that for whatever unknown reason, when Wireless-A is disabled on my router then all Macs will decide that they require a different feature enabled in order to connect. In this case WMM (Wi-Fi Multimedia).

The reason for this seems more absurd considering that the support doc implies that it must be enabled in the first place but, before changing the Network Mode, those devices connected just fine with it disabled.

Enabling this capability on my router solved the problem. I’m not sure why. It doesn’t seem to be a feature that should be required simply to connect to a wireless router but there’s no question that enabling it resolved the problem. More details are available via the linked support page included below:

Wi-Fi: Unable to connect to an 802.11n Wi-Fi network

Simultaneously Pushing Audio to External Speakers and Bluetooth from a Mac

Standard

A couple of months ago I had the idea to see if there was a simple way to play iTunes music from the built-in iMac speakers while also playing it through a Bluetooth speaker (in this case a JBL speaker). My goal was to have the music playing from the computer in one room and also playing from a Bluetooth speaker in the dining room. Sure enough, OS X has a way to do this (I’m running 10.9 so I don’t know how widely this feature is supported across older versions of OS X).

Thanks to user Eric Ross in the Apple Support Communities I didn’t have to do much searching to find the answer. As detailed in his response, the solution is to open the Audio Midi Setup application located in the Utilities folder and then simply create a Multi-Output Device that has both speaker types selected. Note that in order for this to work the Bluetooth speaker needs to already be connected to the Mac.

MOD-Setup

At this point we’ve only created the multi-output device. One additional step is required – setting it as the current output device (System Preferences -> Sound -> Output) :

MOD-Select
I originally did this with my iMac but the screenshots in this post were created using my MacBook Air.

And that should work. The Bluetooth audio (at least with the settings I used) will have a slight delay in comparison to the system speakers. Bluetooth has a relatively short range so the practical applications of this method may be limited by obstructions within one’s home and the receiving capability of the Bluetooth device that is used.

 

Mophie Juice Pack Air (iPhone 5)

Standard

Juice-Pack-Air-01

The quest for my ideal charging case seems to be an ongoing adventure. For a while I used a Mophie charging case with an iPhone 4. It worked fine until the micro-USB port broke. After that I sent the case off for repair and switched to a wireless charging case. Eventually I ended up with an iPhone 5. A short time after receiving it I ordered another wireless charging case (Duracell Powermat PowerSnap Kit). The newer version also included a snap-on battery pack (that itself could be charged wirelessly).

The case worked OK but it felt clunky and when the battery was attached it was also heavy. Most of my issues with the case were relatively minor but as a whole it was somewhat awkward even though it functioned as advertised. One major annoyance is that a small piece at the base of the case had to be snapped off in order to sync the phone or charge it directly. I also became increasingly concerned that this particular piece would eventually break, thus rendering the entire kit useless until it could be replaced.

Recently I decided to try a Mophie Juice Pack Air with the iPhone 5. So far, I’m happy with it. I can’t say that it’s any lighter than the Powermat kit but at least the battery is always available and, more importantly, I can sync and charge the phone via the built-in micro-USB connection. Unlike the Powermat case, the Mophie case is far more sturdy. It also has a bottom section that separates but it’s a well formed piece that is not likely to break easily.

Juice-Pack-Air-02

It’s a great device though it has one significant flaw. When the battery charges the phone it will not stop charging once the phone reaches a full charge. Instead, it will continue to charge the phone, which can result in one using up the Mophie battery sooner than expected (or necessary).

A nice touch was the addition of a headphone extension cable.

Juice-Pack-Air-03

It may seem like a small thing but I’m already using this. Though the iPhone earbuds plugin just fine, a pair of larger headphones I recently purchased would not work with the case without it.

Updated 02/22/2014: I haven’t been able to sync the phone via the micro-USB connection. I’m not sure if the device is supposed to support this function, if there’s a problem with the battery pack, or perhaps there’s an issue with the cables I’ve tried.

Updated 07/06/2014: The battery still holds a good charge and so far the charging port hasn’t broken off.

Updated 12/31/2014: I’ve stopped using this charging case but only because my work phone was replaced with an iPhone 6. Up to that point it continued to work well and I did not have problems with the USB charging port, as I did with a similar case for an iPhone 4.

OS X Mavericks Affecting Trackpad/Keyboard on Older MacBook Pros?

Standard

I’ve read a few articles at different tech sites, along with some Apple support forum postings, discussing a problem with keyboard and trackpad issues on new MacBook Pro Retina systems. Apple even has a support article titled MacBook Pro (Retina, 13-inch, Late 2013): Keyboard and Multi-Touch trackpad may become unresponsive.

I don’t think this issue is limited only to newer MacBook Pro Retina systems. A day after upgrading my wife’s 13″ MacBook Pro, which is a 2010 or 2011 model (and doesn’t have a Retina Display), we experienced a similar problem. She was trying to use her laptop but the mouse cursor did not follow the movements on the trackpad. It seemed to stop responding for brief moments and then move off in a slightly different direction when it did work. I witnessed this problem myself and even checked to see if something had gotten on the trackpad that was throwing it off. Nothing had.

Because I had yet to learn of this problem I happened on the solution by accident. My wife had become frustrated so she closed her laptop and let it sleep. I grabbed it, opened the display, but it wouldn’t fully wake up (an issue that itself isn’t exactly rare). Rather than power the laptop off, not knowing what she may have left open and unsaved, I simply closed the lid and waited until the LED pulsed to indicate that the system was sleeping. Then I opened it back up. This time the system woke up properly and, once again, the trackpad behaved normally.

It’s certainly possible that something else was the cause but the problem hasn’t recurred so I doubt it’s a hardware issue. This has never happened before. In addition, a friend of mine mentioned that he also had a similar problem with an older MacBook Pro. So, if you have an older MacBook Pro that behaves this way try the solution for new MacBook Pro systems.

It’s Nothing Personal (Software Updates Changing Preferences)

Standard

I’m departing from the usual purpose of this blog to take a moment to rant about software updates changing settings, especially when previously selected options still exist in the updated software.

My annoyance of the week goes to Apple for changing the security setting that permits the installation of any third-party software. I changed this setting in Mountain Lion a long time ago so I wouldn’t be restricted to using only software developed by Apple partners.

Sure enough, on every computer we installed Mavericks on, this setting had been changed. Previously, we had it set to allow apps downloaded from “Anywhere” but after the update it was set to the second option of “Mac App Store and identified developers”.

I suppose this might be an effort to curb future malware problems though, even if that is the case, it shouldn’t be reset after any update. I realize this is a minor annoyance but it’s not uncommon to experience similar problems with iOS updates and these particular options seem, in my opinion, to be modified in order to “encourage” a specific end-user behavior.

A long-time offender includes Mozilla with Firefox updates, which is why I created a post with specific settings that I could refer back to after installing browser updates.

OS X Mavericks (10.9) Breaks VPN Server

Standard

Updated 12/10/2013: Jon Stacey has identified a fix, which involves restoring a copy of racoon from Mountain Lion. I followed his advice and was able to successfully establish an L2TP VPN connection again. Please visit the ‘OS X 10.9 Mavericks fix’ section of his page for more information.

Updated 07/06/2014: The VPN continues to function just fine. I’ve installed several server updates since my previous updates so at this point I’m no longer certain if the previous fix is still in place or if Apple provided a proper fix via update. Regardless, I haven’t had any new problems.

Despite having updated various software packages to avoid software problems with compatibility under Mavericks I hit a wall that I simply haven’t been able to get past. The built-in VPN server in Mavericks (with and without OS X Server) is broken.

I had it working just fine under Mountain Lion, which I managed using iVPN. After upgrading it stopped working. Not long after I added OS X Server and it still wouldn’t work (I purchased OS X Server for its Time Machine capabilities, not for VPN support so I didn’t purchase it expecting it to fix this problem).

Prior to upgrading I had an L2TP VPN server working. Since upgrading I’ve been unable to get L2TP or PPTP working, though I’ve seen more activity with PPTP during connection attempts than with L2TP.

I have hunted across many forum threads and I have been unable to find a solution that works. Some users have reported success though the apparent causes and solutions are extremely varied. The majority of posts are from users that cannot find a solution. This weekend I spent several hours trying to find a solution without success.

At this point there appears to be nothing more that I can do. I’ll simply have to wait until Apple issues an update that fixes the problem. Until then I’ll have to use a service such as LogMeIn to access my desktop, though it’s only a partial solution and doesn’t provide the full access to my network that I need from a VPN server.