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 [2022/03/17 19:24] James Sentmancurrent [2024/02/05 17:53] (current) James Sentman
Line 1: Line 1:
-=====XTension Version 9.4.45=====+=====Download XTension 9.5.4=====
  
-Released3/17/2022\\+>2/5/2024 [[current:beta|XTension 9.5.5 Beta 1]] is available. 
 + 
 +Released 12/19/2023\\
 \\ \\
-Download for all Supported OS versions; [[https://www.machomeautomation.com/files/xtension/xtension_9_4_45.dmg|XTension. v 9.4.45 (build 1051)]]\\ +Download Universal Binary for all Supported OS versions; [[https://www.machomeautomation.com/files/xtension/xtension_9_5_4.dmg|XTension. v 9.5.(build 1085)]]\\ 
-\\ + 
-**Minimum System Version** for this release is OSX 10.10 but not all plugins may function properly prior to 10.13. Please start the necessary work to upgrade to at least 10.13 for future builds will no longer be able to support 10.10.\\+**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.
  
-Apart from a few older plugins the entirety of the application and it’s plugins now run natively on both Intel and M1 macs.+**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.
  
-====9.4.45 Change Log:==== +**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 difference. The 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.
-  NEWThe application and the embedded python versions are now fully “universal” running natively on both M1 and Intel Macs. Some of the older plugins still include Intel executables or libraries that they need. As of this moment Apple has not threatened to stop supporting those so there should be no impact from that and it only applies to a few of the more legacy plugins+
-  * NEW: The embedded python version is updated to 3.10. +
-  * NEW: Added a “Clear All Script Errors” to the contextual and toolbar menus of the Global Scripts window. +
-  * NEW: Added new [[supported_hardware:pimonitor|Raspberry Pi Monitor plugin]] +
-  * NEW: Added a very alpha version of a new [[supported_hardware:sonos|Sonos Plugin]] Not feature complete and the entire interface to the devices may change drastically as we experiment and learn how this will finally be most useful but please experiment with this and let me know how it works or doesn’t for you. Note that I do not have one of these devices and am relying on other folks to give it a try so to say it is not fully tested at this point is somewhat of an understatement. +
-  * NEW: Added a “do not log” option to global scripts just like Units can have set. This way the scripts will not log that they are being run reducing log spam for scripts that are run a lot. Any log lines that you generate or errors that happen while the script is running will still log as normalThis is available in the contextual menu and the toolbar menu in the Manage Global Scripts window. +
-  * UPDATE: The Apple Home Kit plugin has been updated to a version of the HAP libraries that support more recent Python versions. As of this build this doesn’t add any new functionality as I am just looking to verify that the old functionality still works. Once that is settled there is a lot more I can do with this version in future builds. +
-  * UPDATE: The [[supported_hardware:tplink|Kasa/TP-Link plugin]] has been updated to the most recent library versions enabling control of more recent device types. The conversion to Python3.10 required an almost total rewrite of my portions of the code and it is now significantly faster and more reliable than it was previously. +
-  * FIX: The Kasa/TP-Link plugin will no longer log extended error messages if no kasa devices are found on the network. +
-  * UPDATE: The Server Events plugin now runs with the embedded python3.10 version rather than the ancient system version. +
-  * UPDATE: The Weatherflow plugin is promoted from beta to a 1.0 version. It also now runs under the embedded Python3.10 version rather than the system python version that us much older. +
-  * DOCUMENTATION: Wrote a preliminary [[supported_hardware:weatherflow|Weatherflow Wiki Entry]]. +
-  * CHANGE: In the Edit Unit Dialog the XTdb history display will format numbers with more decimal points by default for better display of very small values. +
-  * FIX: [[dictionary:more:loadurl|]] commands that result in an error but do not have callback specified will set the thisScript value more reliably when logging the error so that filtering the log for the messages is easier. +
-  * FIX: Hue bulbs added to the [[supported_hardware:hubitat|Hubitat]] now properly set their device type as supporting color and color temperature. +
-  * NEW: Genmon plugin adds the slow polling” checkbox so that if you are connecting over a slow interface it will function more reliably. +
-  * FIX: If the Genmon plugin encounters an error while parsing the return from the remote device the proper error handlers in XTension are run as expected. +
-  * NEW: Genmon if new log lines are added to the generator logs of either events or errors and alerts they will get written to the XTension log. +
-  * FIX: Genmon plugin will update the label for the status object even if the actual state of the status object has not changed. +
-  * NEW: Genmon plugin now creates several more units that previously so that you can more easily catch an exercise event as opposed to actually running and providing power without having to watch the label of the main Status unit which is mostly for Display now as there are other ways to catch the actual informationThese new units are as below: +
-    * Error: Engine Speed High or Low +
-    * Error: Governor failure +
-    * Error: Low Oil +
-    * Error: Overcrank +
-    * Error: Overheat +
-    * Error: Overload +
-    * Error: RPM Sensor +
-    * Error: Voltage High or Low +
-    * Error: Warning (generator is sending a warning that is not yet an error or alarm condition) +
-    * Generator Is In Alarm +
-    * Generator Is Running +
-    * Generator Is Ready +
-    * Generator Is Exercising +
-    * Generator Is Ready +
-    * Generator Service Is Due +
-  * NOTE: The MQTT Broker plugin no longer functions with this version due to problems with the underlying libraries and python3. I am working on an MQTT broker plugin that can connect to the free mosquito server that should serve most of the functions of the original plugin and then some. This will appear in a future version. +
-  * Phillips [[supported_hardware:wiz|“Wiz” lights plugin]] updated to run on the new embedded python version rather than the older system python version. +
-  * [[supported_hardware:apc|APC UPS monitor plugin]] updated to run on the new embedded python version rather than the older system version. +
-  * FIX: There was a potential timing issue that could cause queue management errors on more modern M1 machines that are so very much faster than older systems. I’ve never noticed this as it has literally never happened until I started upgrading things to the faster machines. This problem is fixed making packet reception from plugins as reliable as I thought it was previously. +
-  * FIX: Several potential errors and rendering problems on M1 Macs are fixed in this version. +
-  * Beta Fix: In the beta version there were problems with Serial Port connections for plugins which is fixed for this release.+
  
 +====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.  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. 
current.1647545094.txt.gz · Last modified: 2023/02/13 14:51 (external edit)