Table of Contents
Download XTension 9.5.7
Released 10/23/2026
Download Universal Binary for all Supported OS versions; XTension. v 9.5.7 (build 1102)
Rosetta Note: While the entirety of the main app and all more recent plugins are Universal and run natively on Intel or Apple Silicon there are a few older plugins including the W800 and CM11 that are still Intel only. They run fine under Rosetta and you’ll never notice the difference. If XTension finds that it will need Rosetta to run one of the plugins it will popup a dialog asking if you’d like it to do that and it can take care of it for you.
9.5.7 Change Log:
- Upon loading this version the first time the database will be scanned for the known bad but invisible characters that can be inserted by Apple’s screen sharing with working remotely on an XTension machine. You may have seen the red diamonds in the edit script window where I made it obvious that you needed to delete something. I can only do that for multi line text areas and so it is possible to get them inserted in other places as well, for example in the name of a unit which then cannot be found from a script as the name invisibly fails to match. All strings are scanned for this and it is removed if found. Future checks are added so that this will be impossible to happen in the future. This will cause the database to take a little longer to load the first time but after that the load time is back to normal.
- I have found that at some point in the distant past it was possible to get the reversion saves for scripts saved in the raw forced 2 byte UTF16 character encoding that AppleScript uses internally. This could cause garbage or only a partial script to be displayed if you selected an affected script from the Revert menu. If you are loading this version for the first time all scripts will have their revision array scanned for bogus text encoding and it will be corrected. Once this has been done once it will not be done again so the slow down during database loading will not repeat after this is done.
- I have updated the sorting of most columns in the Unit List Window to use a more natural sorting method. This specifically affects any custom columns you have created based on any Unit Properties. It will also make the Address column sort by number and not lexigraphically that made things appear in confusing orders. Additionally several sub sorts are added where useful. For example if sorting by Address the units on different interfaces that might share the same address will then be sub sorted by unit name and so forth.
- FIX: Average Last “N” Values in the Advanced Tab of the Edit Unit Window now properly saves negative values.
- New Global Scripts “Spring Forward Script” and “Fall Back Script” Use the popup to the right of the Name field when created a new global script to set the name automatically. They will be run when DST is turned on or off by the computer.
- Changes to the Async Shell Handling
- FIX: When the shell is complete and it calls back into the script that started it the ThisUnit/ThisScript/ThisInterface will be set properly. They can then be used in the script and also will filter properly in the Log windows.
- If an Async Shell call exceeds it’s timeout a hard kill -9 is sent to the process better making sure that it is not hung up forever.
- FIX: Newer OS versions seem to allow the completion event of a script running in the background to be called while in a state that AppleScript is not available causing a “-1708” Application Not Available error, The callback is now forced to run in the main program thread which should fix this but as it’s difficult to duplicate it’s also difficult to test fully.
- Hubitat Plugin Additions/Chances
- Added support for the Hubitat REOLink camera plugin. The Events portion of the REOLink API is not documented and so the REOLink camera control plugin in XTension does not yet support this. In the meantime Hubitat has implemented a REOLink camera support plugin that does get events from the camera. My cameras are a little old so if you find an event in a new camera that is not carried through please let me know and we can add anything new that comes up. The supported types currently are Motion, Person, Vehical and Pet. Just add the Camera device created in the Hubitat by the integration to the list of devices shared to the XTension Maker API app instance and they will appear shortly. Note that you shoudl not worry about the small hubitat grabbing and decoding RTSP streams from your REOLink cameras. As long as you are not looking at the camera through the hubitat it uses only enough CPU time to track events and while it remains one of my larger use plugins the actual percentage is still very low and should cause no problems unless you have many cameras in which case connecting to the NVR and get all your events from one connection would be a better idea.
- As I have started to use more and more Hubitat plugins and integrations to get more things into XTension I’ve noticed that many plugin authors do not send Battery information the same way that Hubitat always does. This lead to XTension misunderstanding a Nil value for batter level as a 0% battery level and many fully powered devices could show a lot battery icon. This version now properly reads that and will not show a battery icon for such devices. Note that some devices still send a low battery parameter even when powered such as some thermostats and also some Human Presence Detectors and probably others but this is much better.
- Dim/Brighten commands now properly honor the rate parameter. This is now sent properly to the Hubitat, but only devices that support the low level ZWave or Zigbee command will actually honor the information.
- The hubitat can send an interim value read during the fade in or out of a device to Xtension and then does not always send the proper value after the device is at it’s final value. In order to keep the XTension Database in sync with reality a query will be sent to any dimmable unit that has had an update or been controlled after 30 seconds as this will always return the correct current value. This is done in the background so you dont have to do anything new but do be aware that the on or off script may run more than once as the value keeps updating until it is in sync. If you have written your own query into the On Script of any items you should be able to remove that now.
- Amcrest Camera Control Plugin:
- NEW: Units to capture the AI type events that the newer Amcrest Cameras support. If you have setup any of the “IVF” events and subscribe to those in XTension the Units to receive those events will be created the first time an event is received. XTension can’t tell what events you have setup, so you must turn it on and then trigger the event and then the Unit will be created.
- NEW: Added command to Take Snapshot. This will save a full res picture in the same directory you have selected to record audio and be managed by the same disk space or date filtering that is running on the movie files. To use the command do something like: tell xInterface “my frontdoor camera” to takeSnapshot()
- MQTT Interface
- Added an optional boolean 3rd parameter to the Publish verb so that the Retain flag can now be set. The default is False.
- Added a checkbox to the Edit Unit Window for MQTT Units named “Log Unit Debug Data” which when checked will log all the back and forth from that specific unit but not for the whole interface like turning on debug mode. This greatly reduces the clutter in the log when trying to sort out the proper settings for an individual MQTT Unit.
- XTension Kit Receiver Plugin
- If you’re running various receivers you can end up with phantom units being created as sometimes noise looks like a valid reception. The plugin will now ignore the less plausible addresses like ones that are all 0’s or that are too short to follow the protocol.
- The ngrok helper app is updated, but since I did that it is already showing another update is available so it will keep working but be updated again in the near future.
- Added a contextual menu item in the Interface List Window “Reveal Active Plugin Folder in Finder” so that while developing plugins or debugging you can more easily find the actual code that is running.
- Checking the “Disable Startup Script” in the Startup Options dialog now also disables calling of the init/loaded events sent to all other scripts.
- If you have loaded/init events in a Units Off Script that will now be called, unless you have checked the disable startup script checkbox above.
- Reduced the amount of buffering in Unit List windows. This helped to speed things up in the distant past but does little now days but to use large amounts of memory.
- Improved the debug logging from the LoadURL command so also log the time it took for the various parts of the connection that is being made. This can help isolate a DNS resolution issue from a server response issue.
- FIX: If an Enumerated Unit receives a value that is out of range for the list of possible enumerations it will no longer log a full stack trace to the log.
- FIX: New Unit windows no longer open with the Changed flag set so they will not ask you if you want to save the unit if you close them without making any other changes.
- CHANGE: The number of times I have had to move our database and support folders around in the distant past resulted in literally dozens of checks for things in various places and it was starting to cause trouble not just to maintain but they would work against each other in some cases. If you are updating from a very old version you may find that the new version will not find your existing database. If thats the case you now need to move it manually to the right place and then start XTension. The right place is simple to find. If you are running XTension from the Applications folder you will find an “XTension Support” folder in the Application Support folder and inside that will be your database and all supporting files and folders. Simply put your existing database in there replacing the default empty one that was created. If you are running XTension in any other folder the database and support files will remain alonside the application as it has done since the late 1900’s…
- Plugin Development:
- Added to the API a method to export your plugins services or commands to other plugins that may wish to communicate with you so that you can provide services to them.
NOTE: This disk image no longer includes the older legacy plugins that will not be updated for newer OS versions. If you still need to run the CM19, CM15, ZTroller or the various Smarthome X10 interfaces please download the legacy plugins package from here and install the ones you need via the “Install Plugin” menu item of the “Database” menu.
