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 [2023/07/30 17:34] James Sentmancurrent [2024/02/05 17:53] (current) James Sentman
Line 1: Line 1:
-=====Download XTension 9.5.3=====+=====Download XTension 9.5.4=====
  
-Released 7/30/2023\\+>2/5/2024 [[current:beta|XTension 9.5.5 Beta 1]] is available. 
 + 
 +Released 12/19/2023\\
 \\ \\
-Download Universal Binary for all Supported OS versions; [[https://www.machomeautomation.com/files/xtension/xtension_9_5_3.dmg|XTension. v 9.5.(build 1084)]]\\+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)]]\\ 
 + 
 +**This is an important update for NGROK users.** This updates the ngrok client to support the system changes they are making live. The older version will no longer be supported very soon. Anyone using ngrok tunnels should definitely perform this upgrade as soon as possible.
  
 **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. **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.
Line 9: Line 13:
 **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. **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.Change Log:====+====9.5.Change Log:====
  
-  * **Amcrest Camera API:** +  * The [[supported_hardware:hue|Phillips Hue]] plugin now properly supports non-dimmable plug in modules. 
-    * Fixed an issue that caused some cameras not to work with the event system. If you find that any cameras still do not send you events but also dont log any other communication or connection errors please let me know we can gather some more info+  * 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
-    Added a check to the enableEvents() command so that it will not try to enable events that the plugin does not recognize as valid. This keeps you from either getting nothing, or getting an error message each time the unknown events is sent. If there are events that I am not handling that you know about and would like to get please let me know we can gather more info about them and set them up. +  Fixed the error that was logged while trying to create a symlink to the internal python version if you did not have /usr/local/bin folder on your machine.  
-    * Added support for specific Units to link to Object Detection if your camera supports it. You can now create a Unit to get an ON when human is detected, or when a vehical is detected and so forth+  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 settingsIt 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
-    Amcrest API New Status and Display commands: +  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 fingersThe window will count down for 30 seconds and then quit the appThis window does not come up if the system tells XTension to quit as if before restart or something similarFind the checkbox to turn it on in the Preferences
-      * setFontScale(0.1..2.0) control the size of the text displayed over the image. +  * NEWAdded the option to send value of 0 for dimmable Unit to the On script if there is no Off script. Normally value of 0 for any dimmable unit will be sent to the Off script rather than the On script. Unless there is no off scriptThis 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 scriptThe 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
-      * setChannelTitleVisible( true|false) +  * Fixed the incorrect link to the mailing list signup page in the purchase dialog
-      * setChannelTitleLocation( 34, 12) +  * 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
-      * setChannelTitleColor( R, G, B, A) +  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, matteredSo us developers got sloppy and failed to add things like the “optional” flag to all the verbs reliablyThe first I’ve found and fixed was with the Speak verb where it would tell you that the in” parameter was requiredIt is no longer requiredSo far I have not found any other such issues and 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 optionalIf you find any such errors please let me know
-      * setChannelTitleBackColor( R, G, B, A) +  * The Interface list window can now be sorted by CPU UsageMemory Usage and Process ID. This only works if you have the “show more information” option turned on in the gear menu on the windowThis can be great aide in finding the plugin process that is eating up all your CPU or memory and linking python process shown in the Activity Monitor to the plugin it’s actually running. They all just say “python” in the monitorBut now it’s easier to find the PID number in the list if you sort by it
-      * setUserDisplayVisible( index, true|false) +  * 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 JanuaryThere were many changes to the usage of the client, and many more to the layout of the configuration fileI 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. 
-      * setUserDisplayText( index, the info to display+  * I had previously hidden some of the lower level debugging aids in the contextual menus by having people hold the option key while right clickingThere is really no need for this extra step so I removed itThe 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
-      * setUserDisplayLocation( index, xloc, yloc) +  I added the same debug logging info to the contextual menus of global scripts should it ever be necessary to get look at that. 
-      * setUserDisplayColor( R, G, B, A) +  * 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
-      * setUserDisplayBackColor( R, G, B, A) +  * There were some significant updates and improvements in the main program libraries that will make many things run faster and smootherSo far my testing of all of them work just fineThey aren’t a thing I can turn off though, they are just part of the latest compiler updateIt will depend on what you’re doinghow busy your machine is and how fast it is in general whether you’ll see any difference at allUsually the things they improved aren’t an issue until you’re doing something many times in a rowSo 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.
-      * setLogoVisible( true|false) hide or show the Amcrest logo image overlay +
-      * setLogoLocation( xLoc, yLoc) +
-      * setLogoFilename( “osd.bmp”) your camera must support allowing you to change this or it will do nothing. +
-      * setTimeDisplayVisible( true|false) +
-      * setTimeDisplayLocation( xLoc, yLoc) +
-      * setTimeDisplayColor( R, G, B, A) +
-      * setTimeDisplayBackColor( R, G, B, A) +
-      * setTimeDisplayFormat( “yyyy-M-dd hh:mm:ss t”) see the wiki link above for a table of valid format string entities. +
-      * note that there is a limit to the number of overlays the camera can “blend” into the encoding video. Check the capabilities below to find out what the limit is for your camera. They may all be different. My doorbell cam can only do 2 at once+
-    changed the logEvents() command to be showEvents() and it now shows the info in a window rather than just writing it to the log. +
-    * changed logMotionRegions() showMotionRegions() which also shows the list in a separate window rather than just writing it to the log. +
-    * showCapabilities() opens a window with most, but not all, of the capabilities of the camera listed. There are still some more to add +
-    * There are LOT of other things I can add to this plugin that could be controlled If you know of something else you’d like to be able to tweak in the cameras programmatically please let me know+
-  * **Last Activity:** A change to the Last Activity date handling. Previously if Unit had never had any activity after being created it would show a last activity date of the time the program was last started. This caused confusion in list windows when sorted by date and is something I’ve been meaning to deal with forever. Now if a Unit has no last activity date it will display as “Never” in the list window, but be sorted as if the date had total seconds property of 0. In other interfaces or via the scripting commands it will return a date with the earliest date/time that the normal unix date can hold so something like 1/7/1903 or whatever that is. So it will sort properly and no longer be confusing +
-  * **Home Kit:** +
-    * Updated the Home Kit libraries some but not all the way to current. They have made some significant changes in the most recent builds that break it completely for us in the short term though I”ll keep working on thatThis is unlikely to either cause or cure any problems people may be having with it as the only changes were to the handling of Thermostats. Home Kit now always sets the Mode of the HVAAC to Auto. This is not due to anything that I can do anything about easily and is a decision that Apple has made. I may be able to override some of this handling to not accept those changes from the thermostat but only send them from XTension or something like that if it is a problem. +
-  * **Hue Plugin:** +
-    * Hue Plugin: Fixed an issue where it could send continual updates for a sensor value even if the value had not changed+
-    Hue Plugin: Fixed an issue where the temperature format was not saved, sticking all readings in F+
-  * **Video System:** +
-    * Video Encoder Plugin: Added a checkbox so you can suppress logging of video encoding times if you wish. +
-    * Video: Removed error logging for stalled streams as this would fill the log if the camera was offline for any length of time. To log this information please implement the stalled script handler in the Interface Script and write to the log whatever information is helpful+
-    Video: “Orphaned” recordings that may have been left unencoded when the app quit are now properly encoded and managed when you next startup the app. +
-  * **Sysinfo Plugin:** +
-    * System Info Plugin: no longer claims in it’s startup log message to be the Disk Space plugin. +
-    * Fixed an incorrect default link to the boot volume so that this will work without having to edit it each time. +
-  * **Internal Python:** +
-    * Python: A symlink to the built in python3 version is now added to /usr/local/bin/pythonxt so if you wish to use the built in version for your own script you can just execute it via that command. +
-    * Python: XTension changes many environment variables in order to use it’s internal version of pythonIf you are running system version of python in your own script from a shell in XTension this may cause errors or make it unable to find installed modules. You can now use a scripting command “revertENV()” in your script before invoking your shell script to reset the environment to the system default just before launching it which will solve most, but probably not all of these issuesNote that you should do this immediately before starting any shell script as XTension will change it again as needed when launching plugins.  +
-  * **Web Remote:** +
-    * Web Remote: New documentation of the hashing of web remote links to immediately go to a specific page or view. This can be useful if you are saving specific links as iOS shortcutsor creating a Kiosk type application. This is not a new feature, but was never properly documented. [[webremote:kioskview|Kiosk View and Hash Linking Info]] +
-    * Web Remote: Added several new scripting commands to control sessions in the web remote. This lets you programmatically change the view on a specific device to say, a video page or a View in response to motion or other eventAdditionally you can script popup alert or timed message in any color to display on all active sessions or only on specific ones. [[webremote:scripting|Scripting Web Remote]] +
-    * Web Remote: Added support for resource folder that will be served as regular files through the web remote built in web serverThis way if custom controls or other features you are adding need to load a specific image or other support file they can do so if you put it in the resources directory inside your XTension Database. [[webremote:resourceserver|Resource Server]] +
-    * Note that these changes have not been rolled into the mobile web remote plugin, only the desktop version. +
-  * **Plugin API:** +
-    * A new key for the info.json file that will allow a plugin to receive any scripting command the user issues. This simplifies some kinds of plugin tasks at the expense that users script will not know if the command succeeded or not, all commands will just be sent and forgotThis does not affect regular using the apponly plugin developers. +
-    * Added the capability for plugins to display information in new text windows and to append to or change the display of one without opening a new window each timeThis mostly affects plugin developers but I used it in the new and changed show info commands in the Amcrest API plugin above. +
-    * All plugins now log their version number in the startup message from the information stored in their info.json file. This will keep them from always being wrong as I forget to update it in 2 places instead of just 1+
-  * **Hubitat Plugin:** +
-    * Hubitat: Added entries to the “insert” toolbar menu for the central scene Held, and Released events to make it easier to script these without having to visit the wiki to look up the specifics. +
-    * Hubitat: Added support for Energy and Usage unitsIf a device reports these values a Unit will be created for them. +
-    * More updates and changes to the new handling of string” data types.If there is a number at the beginning of the String value then that is parsed and sent to Xtension as the value for the Unit. The description is no longer changed to the raw value but rather a new Unit Property called "Raw Value" is added and kept updated to the full text of the string. If there is no number in the string, or if it just does not begin with a number, then the value of the Unit is set to 0 and the default label for the unit is set to the raw value string as well as the same unit property. No default label is set if there is a number at the beginning of the string so that user formatting and suffix will be honored normally +
-    * Hubitat: Some devices from the Hubitat will now have more descriptive, or less long winded names when created by default. This will mostly effect the Thermostat units but some others can be made better with this too. This does not affect Units already created, and you can always manually edit the unit’s name once it’s created to be whatever you like in either case. +
-    * Hubitat: The list of supported commands for each Unit is now saved to a [[dictionary:unitinformation:getunitproperty|Unit Property]] so  you can see all the commands the device supports directly. You may still have to discover what parameters are required, if any, but this will make it easier to do things to the Units via the [[https://www.machomeautomation.com/doku.php/supported_hardware/hubitat#sending_device_specific_commandsm|sendDeviceCommand()]] +
-    Hubitat: Push messages from the Hubitat that are sent when a software update is started, or when the device is about to reboot to install software update will now just log that information rather than generate an “unknown push message” error in the log+
-  * **Software Defined Radio Plugin:** Fixed the incorrect wiki link in the interface and added a link to the github pages for more documentation if desired. +
-  * **Scripting Dictionary:** +
-    * NEW: the [[dictionary:unitinformation:enumeratedvalue|Enumerated Value]] verb now accepts an optional parameter “for” and will return the correct enumeration for the value that you pass or an error if the enumeration is out of range. This is especially useful in the ON script of a unit as you can now check the enumeration for the future value to see what it is going to be when the script is done running. The direct parameter of unit name is now also made optional and if you dont specify it then it will use the value for thisUnit making it easier to script these in a units on or off script. For example: **write log enumerated value for (future value)** would write the enumerated value for the new value being passed to the On script. +
-    * NEW: The [[dictionary:unitinformation:changefuturevalue|change future value]] verb now also accepts enumerations just like the regular set value verbs so you can issue a change future value to “high” instead of just knowing what the numerical value is+
-  * **Xtension UI:** +
-    * New: Each unit will get a new Unit Property called Created with the date the unit was created. You can add this to any List view by control clicking in the headers and selecting create custom columnThen you can sort lists by the date the Unit was created and not just the last activity dateFor new Units this is set as they are created and then never changed. For existing Units the date is taken from the creation date of their folder within the databaseThis seems to work pretty well for most units most of the timebut there may be a date in the past where you restored a database or otherwise performed an action on it that would have reset those datesThis is still the best I can do but keep in mind that older Units may not show the date they were actually created, but the last time you zipped and moved the database or something like that. +
-  * **XTdb:** XTdb “meta” units now set their “thisUnit” value properly when being updated so that you can filter the log by them like any other Unit. +
-  * **Control By Web Plugin:** +
-    * Added support for sending user/password info to devices that have this level of security turned on. +
-    * Added a checkbox for “Automatically Create New Units In XTension” so that you can disable this after you have gotten the Units you desire and not have to keep the ones you are not using at this time. +
-    * Added checkbox for “Ignore VIN Values” the control by web devices all send their input voltage. This might be useful or it might just be a value that is constantly updated as the value shifts by a tenth of a volt causing extra load and log spam. You can check this to ignore those values and neither create a Unit to hold it nor send updates for it’s changing. +
-    * I’ve added some checks and trimming of the unit names as they are being changed into addresses to try to fix some potential issues with creating units in XTension. This is not an issue I can duplicate so am just throwing stuff at the wall to see what happens.+
  
 ----- -----
current.1690738477.txt.gz · Last modified: 2023/07/30 17:34 by James Sentman