User Tools

Site Tools


current

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
current [2018/10/02 19:30] – added 10.9 warning James Sentmancurrent [2024/02/05 17:53] (current) James Sentman
Line 1: Line 1:
-=====XTension Version 9.4.12===== +=====Download XTension 9.5.4===== 
-Released: 10/2/2018\\ + 
-\\ +>2/5/2024 [[current:beta|XTension 9.5.5 Beta 1]] is available. 
-Download: [[http://www.machomeautomation.com/files/xtension/xtension_992.zip|XTension v9.4.12 (build 992) 10/2/2018]]\\ + 
-zipfile md5 = [[tech_notes:md5|b9d3f319fa192d573c93f23f8bc98e9c]]\\ +Released 12/19/2023\\
-\\+
 \\ \\
 +Download Universal Binary for all Supported OS versions; [[https://www.machomeautomation.com/files/xtension/xtension_9_5_4.dmg|XTension. v 9.5.4 (build 1085)]]\\
  
-====Change Log==== +**This is an important update for NGROK users.** This updates the ngrok client to support the system changes they are making liveThe older version will no longer be supported very soonAnyone using ngrok tunnels should definitely perform this upgrade as soon as possible.
-  NEW: [[supported_hardware:haiku|Haiku Fan control plugin]] +
-  NEW: [[supported_hardware:alexa|Alexa Bridge Plugin]], now part of XTension +
-    * lets you run scripts or control units. +
-    * there should not be any confusion of ID numbers as you add or removed shared objects +
-  * NEW: [[supported_hardware:apc|APC UPS Plugin]] Supports connecting remotely to a raspberry pi to get UPS info, time left, line voltage, load % and more. Solves the problem of your Mac not restarting properly with a UPS attached by attaching it to a raspberry pi. Full setup and configuration documentation in the wiki link above. +
-  * NEW: Lists of Units that are shared through a plugin like the alexa or the websocket plugin now show an icon to that effect in their toolbar. Clicking it brings up a list of interfaces that are sharing those units. +
-  * NEW: redesign of the scheduled event window. +
-    * The suspended/enabled status of the events is now shown as a checkbox which is easier to manage. +
-    * as an event gets to within 10 seconds of firing it will highlight and begin a countdown in it’s line item. +
-  NEW: In the edit global script window you’ll find a new menu item in the “gear” menu to “Manage Handlers” Here you can select handlers from the script and make them automatically global just like the **makeGlobal** verb does but now it’s sticky across restarts and you don’t have to create an on init() handler to call the makeGlobal verb. You can also create a submenu of any handlers and then they will appear as if the script were a folder containing other scripts in the script menu. So you can now select handlers specifically from within the menu. The name of these handlers can also be edited on that page so that while the handler might be called “doImportantThing” you can make a menu that is more human readable like “Do Important Thing”. Those shared handlers are also shared with the shared scripts to interfaces such as the web socket so that a better interface can be supplied there also. +
-  * NEW: New data object in the plugin system and webSocket plugin. If a shared object is either deleted or removed from sharing by the user you will receive an array in the next update packet called “removed” which is an array of objects that contain 2 values “type” which right now is limited to what we are sharing, “unit”, “script” or “list” but more will be added in the future and then the “uniqueId” with the ID of the object to be removed from sharingIt’s up to the remote implementation to remove any interface for the objects which are no longer being shared. XTension will not accept any commands for any shared object that is no longer in the shared object list. +
-  * Web Remote and Mobile Web Remotes have reduced latency in showing video frames. They show up much closer to real time now so you don’t have to wait a couple of frames before seeing what it was that made you want to look at it. +
-  * Mobile Web Remote properly calculates the size of the video being displayed and will make sure that any controls you’ve added below the video window are positioned properly even as you change from portrait to landscape mode. Previously any controls below the video display would end up half way down the image if you switched to landscape. +
-  * While I can’t actually tell the difference myself, there is somewhat less data being sent to the mobile web remote at startup so it should be starting up more quicklyDepending on the setup though it may be a subtle difference. +
-  * Vera security units that are not specifically handled should now create their “triggered” unit more reliably. This will fix problems folks had in the past with more exotic devices like the ZWave smoke detectors who’s “triggered” units did not appear until the first time they were actually triggered. +
-  * Newly added Vera devices should once again show up as soon as they are available. I’ve only been able to test this a little bit though, if you find that you’ve added new units and they aren’t there but instead you see an error in the log about not creating a unit for device type (none) then please let me know what it was you added and then just disable and re-enable the interface and they will appear properly. +
-  * Continue to tweak the very complicated Edit Interface dialog. More of the UI is hidden or shown depending on what is actually valid for that specific device that you are setting up leaving less confusion over whats important and leaving more room on the screen for things that are important. +
-  * FIX: If you click Cancel when creating a new log window you are no longer left with an empty log window that you cannot delete. +
-  * FIX: ping responses from newer plugins no longer appear in the Alien Address Window +
-  * FIX: the “multiqueue” name label now moves with the bottom of the resizing interface window rather than showing in the middle of it as it did previously. +
-  * FIX: Making a change to a Bonjour or mDNS enabled interface no longer requires you to disable and re-enable the interface in order for the changes to take effect. The new name will be registered as soon as you save or apply the changes. +
-    * any messages about the success or failure of the mDNS registration have the proper flags set so that they will show up in the log window if you are filtering by that interface. +
-  * FIX: setting the “battery level” or “low batt” flag in a units preference via applescript no longer generates an error instead of setting the property. +
-  * FIX: Fixed a potential problem that could have caused an error to be logged instead of opening the Unit Properties window depending on some of the property types of that unit. +
-  * FIX: If you delete a group it’s units no longer hold a reference to it. This could have caused the now deleted group’s on and off script to continue to run with changes to the group members even though the group was deleted. +
-  * FIX: You can now add animated gauges to a dynamic web interface window without errors being logged in XTension. +
-  * FIX: Fixed a timing issue with Views that showed video thumbnails. Very rarely it could cause a crash when closing that window if a video frame arrived at just the right time between closing the window and removing the reference to the video stream. +
-  * FIX: In the Select Shared Objects sheet window for selecting what objects will be shared to Alexa and other similar plugins pressing the “select all scripts” button actually selects all the scripts in the window and not all the lists like it was doing previously. +
-  * Enabled Type Ahead for both the list of lists and the list of scripts in the Select Shared Objects window. +
-  * FIX: using the scroll wheel to scroll the log window up from the bottom now properly stops it from scrolling immediately back down upon the next log line item. It now behaves the same way that any other method of interacting with the window does and stops the auto scroll until you’re no longer using the window.+
  
 +**Minimum System Version** for this release is OSX 10.10 but not all plugins will function properly prior to 10.13. Please start the necessary work to upgrade to at least 10.13 or recommended 10.15 or newer. At some point in the near future it will no longer be possible for me to support anything prior to 10.13 and the video plugins will never work prior to Catalina.
  
-**NOTE!** this is likely the last version that will be compatible with OSX 10.9Future versions will require 10.10 or newer.+**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 onlyThey run fine under Rosetta and you’ll never notice the differenceThe only issue is that Rosetta is not included by default on the new Apple Silicon MacsYou’ll need to first run any Intel app, or do a get info on any app at all and select “open using Rosetta” then the OS will tell you that you need Rosetta and would you like to install it now. Once you complete that those plugins will run normally.
  
 +====9.5.4 Change Log:====
 +
 +  * The [[supported_hardware:hue|Phillips Hue]] plugin now properly supports non-dimmable plug in modules.
 +  * Fixed a problem with the [[supported_hardware:wiz|Wiz plugin]] that would log errors as the libraries now return the name of the scene rather than it’s ID as they did previously.
 +  * Fixed the error that was logged while trying to create a symlink to the internal python version if you did not have a /usr/local/bin folder on your machine. 
 +  * The python symlink is now created inside the XTension Support folder “pythonxt” and you can use that to run python scripts inside XTension or from elsewhere but using the XTension settings. It is especially useful if you are running python scripts from an async shell script in XTension as they will inherit all the path info to run properly where running the built in python may cause errors.
 +  * NEW: Added an option to delay quitting. This will popup a window asking if you really meant to quit, stopping accidental shutdown of the entire program due to misplaced fingers. The window will count down for 30 seconds and then quit the app. This window does not come up if the system tells XTension to quit as if before a restart or something similar. Find the checkbox to turn it on in the Preferences.
 +  * NEW: Added the option to send a value of 0 for a dimmable Unit to the On script if there is no Off script. Normally a value of 0 for any dimmable unit will be sent to the Off script rather than the On script. Unless there is no off script. This meant that previously you potentially had to duplicate some of your logic for handling values in the On and Off script. When this is turned on in the Preference, and a Unit has no Off script. The On script will be run instead with the future value set to 0. This is on by default, but if it causes you issues with some of your scripting you can turn it off in the preferences window.
 +  * Fixed the incorrect link to the mailing list signup page in the purchase dialog.
 +  * Removed some debug logging I failed to remove before the last release. This was in the conversion of potentially confused strings into floats and so did not affect every plugin, but might have logged confusing information occationally.
 +  * There was a change in AppleScript support in OS versions from Ventura on that would actually enforce some, but not all, of the scripting dictionary flags that have never, in the entire history of the Mac, mattered. So us developers got sloppy and failed to add things like the “optional” flag to all the verbs reliably. The first I’ve found and fixed was with the Speak verb where it would tell you that the “in” parameter was required. It is no longer required. So far I have not found any other such issues and a visual search through the dictionary did not reveal any more such issues, but it’s entirely possible there are more parameters that are not properly marked as optional. If you find any such errors please let me know.
 +  * The Interface list window can now be sorted by CPU Usage, Memory Usage and Process ID. This only works if you have the “show more information” option turned on in the gear menu on the window. This can be a great aide in finding the plugin process that is eating up all your CPU or memory and linking a python process shown in the Activity Monitor to the plugin it’s actually running. They all just say “python” in the monitor. But now it’s easier to find the PID number in the list if you sort by it.
 +  * Updated the [[xtension_manual:ngrok|ngrok client]] version to 3.5. This is an important update if you are using this service as the old version will no longer be supported sometime in January. There were many changes to the usage of the client, and many more to the layout of the configuration file. I believe I have them all sorted out, but if you have issues let me know. All output from the client is logged during startup so you can check immediately if it thinks it started the tunnels or if it logged errors instead.
 +  * I had previously hidden some of the lower level debugging aids in the contextual menus by having people hold the option key while right clicking. There is really no need for this extra step so I removed it. The Contextual menus for Units and Interfaces will have their “log debug data” and “Reveal in Finder” options at the bottom of all the contextual menus for them. This will make it easier to collect info for me if things start behaving oddly.
 +  * I added the same debug logging info to the contextual menus of global scripts should it ever be necessary to get a look at that.
 +  * To that debug output I added another line of info comparing the length of the Unit Address in both bytes and glyphs. This might be helpful to more easily discover if a plugin or a bug somewhere has inserted invisible characters into the Address field of a Unit causing things to get disconnected in the database and potentially making more and more units being created when there really should be only the one.
 +  * There were some significant updates and improvements in the main program libraries that will make many things run faster and smoother. So far my testing of all of them work just fine. They aren’t a thing I can turn off though, they are just part of the latest compiler update. It will depend on what you’re doing, how busy your machine is and how fast it is in general whether you’ll see any difference at all. Usually the things they improved aren’t an issue until you’re doing something many times in a row. So I expect that the main improvements will be in window redrawing and things like that, but if you have a machine that is very busy it may improve that somewhat throughout.
 +
 +-----
 +
 +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 [[supported_hardware:cm19]], [[supported_hardware:cm15a]], [[supported_hardware:zwave]] or the various Smarthome X10 interfaces please download [[tech_notes:catalina|the legacy plugins package from here]] and install the ones you need via the “Install Plugin” menu item of the “Database” menu. 
 + 
 =====Previous Releases===== =====Previous Releases=====
 {{indexmenu>:current#2|js#doku}} {{indexmenu>:current#2|js#doku}}
  
-=== Older Versions === +
-[[beta|The Changelog and Download links for builds between 763 and version 9.1 can be found here]]+
current.1538508604.txt.gz · Last modified: 2023/02/13 14:51 (external edit)