Apple TV & Crestron Home 3.19

We are now aware that the upgrade from Crestron Home 3.18 to 3.19 can adversely impact the Apple TV driver configuration.  The issue has a fairly simple resolution.

If you have not yet upgraded to 3.19 please do the following:

  1. Using Toolbox/FileManager, an FTP client of your choice, or the Ultamation Apple TV commissioning tool - connect to the Crestron Home processor and extract a copy of the Apple TV licence file.
    If using an FTP client, this file is located under /user/Data/ProgData/Ultamation/licence.json
  2. Update CH to 3.19
  3. Copy the licence.json file BACK to the original location
  4. Your Apple TVs should reconnect automatically when the file is restored.
    If not, reboot Crestron Home (but this should NOT be necessary)

If you have ALREADY upgraded to 3.19:

  1. If you have a copy of the licence.json (as recommended in the commissioning documentation), please just go to step 3 above.
  2. If you do NOT have a copy of the licence.json file you will need to re-pair the Apple TVs using the commissioning tool.
    Note: YOU DO NOT NEED TO REMOVE THE APPLE TVs FROM YOUR CRESTRON HOME CONFIGURATION
    1. Although not strictly necessary, best practice is to remove the "Remote Control" from your Apple TV (under the System menu)
    2. Re-run the commissioning tool from scratch - since you do not have the licence.json file locally, and the tool will not be able to retrieve it from the processor (it's been removed in the 3.19 upgrade)
    3. Upload the new licence/pairing file and the Apple TVs will come online.

Ultamation apologises for the inconvenience caused and we are making suitable changes to the Apple TV driver to move the config file to a location that will not be altered by future Crestron Home firmware updates.

 

Crestron Home 3.19 ... Proceed with caution!

“Hot-Swapping” Crestron Extensions 

Crestron continue to push the technological boundaries of Crestron Home with regular updates.  While this is welcome, we would suggest that any new technology, especially in the context of customers’ home systems, be given a chance to stabilise.  The latest update to Crestron Home – 3.19 – sees the new dawn of Hot Swap for Crestron Drivers.  Jason Oster, Crestron’s director of product management for residential solutions explains “With ‘hot-swappable’ drivers, a dealer can replace that extension without losing any of the programming.  All the quick connections, all the sequences, all still connected — which can save a dealer hours of labour.”

We fully support the rationale of being able to swap drivers while maintaining configuration.  However, we would like to suggest caution in adopting this new feature as, unfortunately, we have had little exposure to the new technology, other than beta releases and, as a result, we have been unable to fully test our, approximately 100, drivers to ensure it’s a smooth process for you.

We are here to support all Crestron dealers who’ve bought our drivers, so will do everything we can to help, however we’ve limited understanding of what the real impact will be so please follow these steps to help:

Please don’t run headlong into updating your clients systems to 3.19 … especially not on #FirmwareFriday 😉.

* Please try and explain to your clients that there may be some disruption, but also re-assure them that Ultamation are committed to resolving any issues as quickly as possible should they be identified.

* Please register for our updates and check our guidance pages which we will update as new releases become available.

* When you do the update, if you find any errors on our drivers please email This email address is being protected from spambots. You need JavaScript enabled to view it.

·         Please bear with us if it takes a little longer than our usual response time.

We know this will make all our lives easier as it matures; it may just be a little bumpy as we fully understand all of the implications and modify existing code to accommodate them.

Please note: Hot Swap currently applies ONLY to extension drivers.  Standard device drivers and Platform drivers do not yet enjoy the benefits of “Hot Swap”.

SIMPL Home Overview

This short video runs through our demonstration slides from ISE2023 where we are exhibiting the SIMPL Home integration on the Crestron stand.

The video shows the simple installation steps, the highlights of why SIMPL Home opens up so much power to Crestron Home (especially relevant when upgrading from existing 3-Series Crestron Custom system) and a couple of the more powerful endpoint types (Modular and Scripted) which allow integrators with existing programming skills to create their own custom extensions in Crestron Home without ANY C# or Crestron driver development knowledge.

Crestron Home - Diagnostics 101

Crestron Home has a lot going for it - a clean, modern, consistent user interface - a good spread of "in the box" functionality - configured, rather than programmed - but any system that makes things easy in one direction has to make some compromises in others.

One of the biggest deficiencies of Crestron Home is the diagnostic support.  Of course, in the ideal world of "it just works" we shouldn't need any ninja diagnostic skills because... everything is awesome!  But this is real life, not the Lego movie (in case that makes no sense, "Everything is Awesome" is an irritatingly catchy song from the Lego movie).  Things do not "just work".  The reasons for things not working are very hard to pin down and if we just think about device drivers, it could be anything from bad driver code, poor documentation, a use case that isn't supported, driver configuration, device configuration, installation issues, device firmware, faulty equipment, etc.  Hopefully, you see the challenge that Crestron Home and 3rd party driver developers face in trying to make things "just work".

We write drivers, and while we do try to cover the general problems, I admit we tend to focus on the working stuff more than the things that may not work - this is one of the challenges in human nature for software development.  If I look back over the driver code we've written since we started with Crestron Home driver development 5 years ago I can see improvements we've made both in doing things in a more reliable way, and catching common issues to help point out problems should they occur, but - as I pointed to above - it's a bit of a minefield.

If you've come from a background in custom Crestron installation, you'll be familiar with many of the Crestron tools that help with fault diagnostics.  Sadly though, there appears to be a bias towards light touch diagnostics (you might call it de-skilling) in Crestron Home which, in my opinion, doesn't help the product, dealers or their customers.  The pinnacle of Crestron Home "EZ" diagnostics is the truly awful "Logs" page (the article image).  You can't search it.  You can't export it.  It's paginated by the hour, then further paginated into scrolling lists.  Oh - and it's not the traditional error log that has been the standard for Crestron for 25+ years.

I can't really put it any other way - it's utterly useless.  When we ask for logs to be supplied in support tickets, we will sometimes get mobile phone photos of a laptop screen of this page.  Honestly.  I don't blame the dealers here - they've been given a tool which is about as much use as a chocolate teapot, so what else are they to do? (There is a tool calling "The Info Gathering Tool" which is excellent, but also a sledgehammer for many simple issues)

The answer I believe, for many reasons, is to learn how to use the existing tools and resources that Crestron have always provided and seasoned integrators have become comfortable with.  The most versatile being the processor's text console.  Some people may not like the idea of learning console commands and have grown up in a cotton-wool lined iOS or Android cell.  It's time to grow up, learn how to support your customers properly and carry a laptop with you to jobs sites (and the power block).  You don't have to use Toolbox for this, though the Console tool in there is perfectly up to the job.

Now I've gotten that off my chest, here's a quick run down of some incredibly useful commands for diagnosing Crestron Home problems, or at least providing more detail for a support ticket so we can provide a quick resolution.

Fire up a console application (Toolbox Console, Mobaxterm, Putty, etc.) and connect to your processor over SSH.  Commands are shown in MONOCAPS.

  1. The ERR command
    This is by far the best place to start.  The processor's error log (NOT the Crestron Home internal log... why did you make them different Crestron!?) shows a wealth of info, including our licence verification messages.  For every case where the system works for an hour and then stops, it's ALWAYS the licence key.  The info in the error log allows us to spot all of these cases:
    1. The key is fine - the problem is elsewhere (nearly never!)
    2. The key has been entered incorrectly - the CH UI isn't great for typing in keys, and sometimes cut and paste leaves extra characters, or people enter the key with the '['...']' which should be omitted.
    3. The MAC address is incorrect - sometimes, people order a key using the MAC address of the device, rather than the Crestron Home processor.  We can check the order against the error log entry, spot the problem and send you a new key without any further conversation.
  2. Driver Logging
    This is more involved, but if the licence key checks out, and there's still a problem, the data gathered this way could identify a configuration issue or help us improve a driver in situations where we've made an error, or a specific model doesn't conform to the manufacturers standard protocols (it happens way more often than you'd imagine... WYRESTORM).  To enable logging on a specific driver these are the steps.
    1. ENABLEPROGRAMCMD - type this and press enter.  Nothing will happen.  Nothing obvious anyway.  However, this will put Crestron Home into a special diagnostic mode and open up additional, really useful, but not publicly documented commands.
    2. CCDINFO - type this and press enter.  If you've successfully enabled-program-commands earlier, this will spew out a list of all of the drivers that Crestron Home currently has in its head.
      This provides useful info in a number of areas.

      1. It shows when you have "phantom" drivers - the ones that appear on the Crestron Home UI but not in the config app.  Sadly, the only solution here is to roll back your CH system to before the problem occurred - whenever that may have been - or perform open heart surgery on your system.  Some developers have tools to de-risk fat-finger mistakes, but it's still a strategy with some risk (and impossible unless you know where to cut).
      2. It shows the assembly version of the driver - that is, the version of the executing code, rather than the version that the Crestron Home UI reports, which is actually taken from a datafile, and can easily mis-report the version of the driver you think you're running!  The answer here - remove every track of the driver... everywhere... and then perform a GRACEFULREBOOT.  This ensures your configs are saved before rebooting, which is one way to avoid the "phantom" drivers above.
      3. It gives you the driver ID - and this is essential as we dig deeper.  An example if shown below, and I've highlighted the driver ID.
        --- Driver Info for Driver ID 7---
        Driver: Ultamation - Word of the Day
        Type: Miscellaneous
        GUID: 86ef16f2-b822-44a6-9fbd-bd6a4c71b26f
        SDK Version: 3.00.000
        Version: 1.00.006 (11/30/2022 00:00:00)
        Using RADCommon, Version=16.0.60.0, Culture=neutral, PublicKeyToken=null
        Using RADCommon, Version=16.0.60.0, Culture=neutral, PublicKeyToken=null
        --- Driver Info End ---
    3. CCDLOGGING <id> ON - this turns driver logging on for that specific ID (the one you found in CCDINFO just now) - don't use the '<' '>' by the way, just the number.
      Now you will start to see (in the text console) messages being processed by the driver which can give you (or us) lots of useful info.
      Remember: Always turn logging OFF when you've finished your diagnostics session - too much output can load up the Crestron Home processor.
    4. CCDTXDEBUG <id> ON, CCDRXDEBUG <id> ON - two different commands, separated by a comma here.  These two allow you to see the actual data being sent to and received from the device.  The data is presented in hexadecimal (base 16) which can make reading it a little tedious (there are lots of online tools that will convert it to ASCII, if that's what the device uses) but this is incredibly useful to check if you actually have communication with the end device (do you get RX in response to your TX?) or perhaps the received data (the RX) may say something about why the commands aren't working - e.g. "BAD USER CODE" or "COMMAND NOT SUPPORTED" etc.
    5. CCDSTATES <id> - this is less useful for most users, but can be helpful in understanding the driver's internal state, so we may run this command in trying to understand why a driver isn't connecting to the device or not sending commands when it is connected.

Once a driver licence key has been checked, the next best thing for us to help diagnose any problem is the output from CCDLOGGING, CCDTXDEBUG and CCDRXDEBUG - if you're able to provide that (which can be copied and pasted straight out of the console).  Even large amounts of logging data can be processed fairly quickly, and allow us to spot driver issues (e.g. an unexpected delimiter).

If you can become familiar with these fairly simple commands, we will be able to help you far more effectively and you will spend less time on-site.

We have a diamond!

Creston Masters 2022 sees Oliver Hall reaches Diamond Crestron Master Programmer status

Last week was a busy one over in Orlando with the return of Crestron Masters in person for the first time in three years! Oliver (our MD) flew out on Friday to help with the set-up and to prepare for the workshop that he was delivering on Test Driven Development alongside Toine C. Leerentveld, Yuri Staal, Christopher Tatton and Andrew Mossberg.  The goal of the session was to present a way of thinking about software development from an angle that many programmers may not have considered before, in order to improve software design and quality.  It included a hands-on C# workshop, applying the principles of “Test Driven Development” to a typical (if a little contrived!) AV challenge that directly applies to the Crestron environment. In addition to focusing on C#, there was also discussion around how the techniques could be applied to SIMPL Windows and SIMPL+. The final part of the workshop covered tools and techniques for automated end-to-end testing through the actual User Interface.  If you missed the session you can find out more information from Crestron’s TrueBlue Support – Answer ID 2015.

After an exciting start, Oliver was then able to join in with other sessions and particularly enjoyed hearing Crestron CEO, Dan Feldstein, giving his thoughts and aspirations for where Crestron is now heading.  The week ended on a high with Oliver, alongside  Jeremy Weatherford, Dean Bayley, Brian Allen, Richard Noullet, and Johnny Wang receiving their CMP Diamond certification – congratulations!

Finally, an enormous thank you to Richard Sassoon and the team of behind-the-scenes helpers who made Crestron Masters 2022 such a huge success!  We’ll see you (a little closer to home) in Madrid in May 2023.

ISE Crestron Home Tip of the Day #1 - Apple TV App Launching

Adding app launching was a huge step forward for our Apple TV IP driver, but you still needed to switch away from the source, open the app launcher tile and then switch back.

With this top tip, those days are over.

You'll need our Apple TV IP driver before you start: Click here for Apple TV

With a few simple steps you can now configure a room display to present commands.  This is normally used for selection of aspect ratios and so on, but you can also add Quick Actions to this list - and they can do ANYTHING.  So while this top tip is about Apple TV app launching, you could trigger a movie lighting scene with our Philips Hue or DMX controller or open the main gate with our Wildcard drivers, all without leaving the source page.

Step 1: Create some Quick Actions

Step 2: In the Display Settings, go to Commands and Enable the Quick Actions

Step 3: Select the Apple TV Source and - hey presto - you have App Launching under the display menu!  You can even re-order them so your favourite is at the top.

Follow us on Facebook, Twitter, Instagram and LinkedIn (@ultamation) for tip #2 and #3 during ISE 2022!