User Tools

Site Tools


current

XTension Version 9.5.2

Released 4/9/2023

Download Universal Binary for all Supported OS versions; XTension. v 9.5.2 (build 1076)

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.

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. The only issue is that Rosetta is not included by default on the new Apple Silicon Macs. You’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.2 Change Log:

  • NEW: Sysinfo Plugin for monitoring Disk space, Disk Usage, Network Usage and Networking Errors.
  • NEW: Zadarma plugin to send SMS messages via the commercial Zadarma service.
  • NEW: New option in the Preferences dialog to Dont Stop A Restart With “Window Has Changes” Dialog. This is not really the correct way to handle this so consider it a stop gap measure until I can properly support the saving and restoring of the window state. Previously if you had left a script window open with changes, or an Edit Unit window open with changes and the machine tried to restart automatically the “this document has changes, are you sure you wish to throw them away” message would halt the shutdown and leave XTension in a non-operating condition. With this option turned on XTension will still provide those warnings if you manually try to close a window that has changes, but if the app is being quit it will allow the changes to be lost and so not cause hangups or problems when restarting the server. If this is not how you wish it to behave then you can turn this off in the Preferences.
  • NEW: List windows now display the number of Units in the List as well as the number of Units in an error condition or with low battery messages. This is shown in the title of the window after the List name.
  • NEW: The MQTT plugin now lets you get values out of a payload that is in JSON format without having to script your way through it. You can use the new JSON Path field to give names of entries and indexes into json arrays to find the value you are looking for. This applies to all non-special device units and so once you get to the info you want any of the Units will then be able to look for numerical data, or enumerated values or just put the value into the Description at that point. This does not effect the sending of payloads. If you have to send a JSON packet you’ll still have to build that in a script for the moment and use the raw publish command.
  • NEW: The Hubitat plugin now properly implements sending of a user/password to the hubitat if you have that option turned on in the hub.
  • NEW: The Hubitat plugin now properly handles valve devices and controlling them via their open/close commands.
  • NEW TEMPORARY: I have made some changes to the standard off handling in the Hubitat that fixes some oddness with enumerated commands. I believe this works for all existing devices as well but just in case there is a new checkbox in the hubitat settings that will allow you to drop back to the old handling if it causes you any problems. Please let me know if you have to use this for any reason and the details of that otherwise I will be removing it in the next version unless I hear from people with the need to do this.
  • NEW: The Hubitat plugin has a new checkbox that will log status messages from the Hubitat. These are normally things like “the bedroom lights were turned on” but it might be useful to see these if there are issues or debugging that you’re trying to sort out. It can be a lot of extra logging that doesn’t usually contain any useful information so it is an option you have to turn on if you wish to see it.
  • NEW: Those same Hubitat status messages are now automatically added to a Unit property called “Status Message” and another Unit Property “Status Timestamp” will be the date/time when the current message was received. This way you can trap them in a script, or add a custom column to any List window to show them if you wish rather than just logging them. The above checkbox for logging the status messages does not have to be turned on to send this info to the Unit Properties. This is always done.
  • NEW: The Kasa plugin now properly supports in wall dimmers as well as just bulbs.
  • NEW: Added support for Ramp Rates to the Kasa pluginso you can control the dimming speed on a command by command basis if you wish.
  • NEW: Added several options to the Kasa plugin for the handling of preset values for Kasa bulbs vs dimmers.
  • NEW: The CPU Usage figures for plugins shown in the Interface List window when “show more information” is selected now includes the CPU usage of any helper apps or sub processes that the plugin might be running. This makes them much more accurate and useful for very CPU intensive plugins such as the Video plugins or the rtlamr or other plugins that use helper apps.
  • NEW: The Interface List window also shows a percent of memory use for the plugin instance and any child processes after the CPU Usage number.
  • NEW: A new option in the Interface List window lets you chose if the CPU Usage calculation is done based on 100% a single CPU core, or 100% being every CPU available in the machine. So if you have 10 cores and you chose individual then 100% would be using a full core, but per machine that would only be 10% of the overall machine load. Whichever makes more sense to you when viewing it. The numbers are usually very low and so many not show up on the graph at all unless you increase their values by setting it to per CPU. Plugins that are using GPU resources or that are using helper apps may show as using more than 100% if per CPU is selected. This is OK.
  • CHANGE: The helper app for the Video system that does the encoding is now a proper background app and so will not show up in the dock as it is running.
  • CHANGE: The MQTT plugin now creates new units with a default timeout of 2 minutes rather than the original 15 seconds which caused a lot of unnecessary chattering in otherwise valid receptions. You can still adjust this to whatever value is correct for your system after the units are created. This does not change any setting you have set in existing Units created by the plugin.
  • CHANGE: The MQTT plugin now creates new units with the “do not log new value receptions” checkbox set as it is possible for this plugin to generate a truly obscene amount of logging if it’s in an area with a lot of devices. You can turn this back on for the Units you wish to watch. It will not change the setting of any already existing Units.
  • CHANGE: The Weeder plugin will filter non-ascii characters that might be received when making IP connections. This may help if there is noise on the data line that inserts random data or if an ethernet/serial device is stuck in a mode sending packing characters. If it is because of noise it will not actually solve the problem but it will give you more time to sort it out. If it’s a packing problem it will probably be OK as long as the packing character is not in the range of ascii that the weeder cards use to communicate normally. This same filtering is not yet applied to direct serial connections, please let me know if that is a thing that would help anyone.
  • The Hubitat plugin now throws more useful errors if there is a problem with the API number, or API Key or user/password so it’s easier to sort out a failing connection. Previously it would just complain that it couldn’t connect but did not elaborate.
  • The Hubitat plugin will now log Zigbee Radio status changes or errors as proper messages from the Hubitat rather than as unknown messages.
  • FIX: Found a problem with the Kasa plugin that might have caused some Units to be created with the wrong device type, or even no device type at all causing XTension to create it as if it was an old school X10 unit as in the absence of the more recent data structures it seems to regress to it’s origins. I am not certain this has fixed all the problems people were having with this and the situation that it would happen in is odd and therefore rare and difficult to duplicate. Specifically it was only a problem if the kasa dimmer type was discovered directly after a powerstrip type.
  • FIX: If the MQTT plugin receives messages from ESPresense devices that do not have a “distance” parameter for some reason it will just ignore that message. Previously this could lead to further updates being ignored as it threw out other updates after the error. While this will allow processing to continue I believe that this can only happen due to an error or a bug or some problem with the ESPresense device or software and this will not be able to fix that. You may lose reception entirely from that receiver, or just that beacon that it’s sending, but something deeper is causing this. At least XTension will continue to process valid packets from anywhere else.
  • FIX: The MQTT plugin will now properly publish enumerated values on systems that use a period instead of a comma as their decimal separator.
  • FIX: Added a random pause up to 3 seconds when starting up multiple RTSP video streams at the same time. On older or more resource limited machines this was causing problems if many streams tried to startup at exactly the same moment.
  • FIX: An RTSP video stream can become confused at some point and stop sending full frames from some devices. Previously the plugin would happily display and record these partial or badly corrupted frames. Under most circumstances it will now realize that they are not valid frames and restart the stream in order to recover from this problem.
  • FIX: The DIY Plugin will now properly recover from the loss of a network serial connection the same way that it does for a local serial connection.
  • FIX: Older binary plugins such as the Vera plugin would throw errors when trying to issue some unit specific scripting commands. This was due to the changes in the previous version that allowed the scripts to throw applescript errors if you called a handler that did not exist. The older plugins were not registering their handlers in the same way and so fell afoul of this. They will now let you call any of the handlers without an error.
  • FIX: Fixed some problems with the managed folder system that is used by the new video plugins for managing disk space on the recording volume. This will now properly keep the minimum disk space you have set available. If you suspect something is going wrong with this there is an option in the new Debug menu (see below) that will let you log it’s progress and calculations to the log which you can then send to me for debugging.
  • FIX: The managed folder system now recovers from having a volume not present at startup, or if a volume is unmounted and then re-attached. It will let you know if the Volume is unavailable and then will begin scanning it again when it re-appears.
  • DEBUG: Added a checkbox to the preferences for “show debug menu” this will reveal a debug menu where I have gathered many of the various hidden debugging options in the app for easier access when it is necessary to gather more info for me on a problem. Please do not experiment with these unless I’ve asked you to as they may generate huge amounts of log output or break other things if used incorrectly.

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.

Previous Releases

current.txt · Last modified: 2023/04/09 19:06 by James Sentman