current:beta
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
current:beta [2023/02/27 17:50] – added Beta 2 of 9.5.2 James Sentman | current:beta [2023/07/01 14:26] – 9.5.3 beta 4 James Sentman | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====Beta | + | =====Beta |
- | **XTension | + | |
- | A second | + | The currently available |
- | This beta fixes a problem with the most recent release that rendered the non-scripting dictionary commands to older interfaces like the Vera unavailable. These commands now work normally again. | ||
- | If a volume is missing or not mounted when a video plugin attempts to register it as a space managed volume, XTension will log a single error but keep trying during the disk space scans to find it and when it appears it will begin scanning it normally. If a drive is unmounted and remounted it will continue to be properly scanned by the disk space manager for video recording. | ||
- | ----- | + | [[https:// |
+ | Keep in mind this is a beta build and may contain bugs or annoyances and not all expected features or changes may yet be implemented. No database changes are made so if you to have to revert to the last release version simply replace the application with the previous version and all will be well. | ||
- | **XTension 9.5.2 Beta 1 (2/ | ||
+ | **Changes in Beta 4:** | ||
- | There is a beta version available | + | * **Hubitat Plugin:** |
- | Download | + | * More updates and changes to the new handling of “string” data types. If there is a number at the beginning |
+ | * **Amcrest Camera API:** | ||
+ | * 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. | ||
+ | * 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. | ||
+ | * **Last Activity:** A change to the Last Activity date handling. Previously if a 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 a 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 that. This 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 | ||
+ | * **Beta Fix:** Cleaned up some potential error logging in the sharing setup dialog. This was introduced in one of the earlier betas and might have caused problems setting up new unit sharing to the shared database system or the Home Kit plugin. | ||
- | This version contains important fixes to the new video system. This build fixes issues with the disk space management that could lead to the drives you’re storing video to filling up. The program now properly honors your settings in the video plugins setup pages where you set a minimum disk space to keep available on the disk. It will scan every 5 minutes and remove enough of the oldest files across all of the managed folders to bring the available space back up to your minimum setting. | ||
- | A minimum disk space of 100m is maintained with a default of 5gb. Depending on the number of video streams you are saving to the disk you may wish to keep the disk space free higher than 5gb so that there is enough space to process the current file and record from new ones. Generally there needs to be at least 2x the disk space available as the size of the video snippet but pushing it too close could lead to a snippet failing to be saved at all. | + | **Changelog betas 1 through 3:** |
- | Only files inside | + | * **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 | ||
+ | * **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 / | ||
+ | * Python: XTension changes many environment variables in order to use it’s internal version of python. If you are running a 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 issues. Note that you should do this immediately before starting any shell script as XTension will change it again as needed | ||
+ | * **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 shortcuts, or creating a Kiosk type application. This is not a new feature, but was never properly documented. [[webremote: | ||
+ | * 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 event. Additionally you can script a popup alert or timed message in any color to display | ||
+ | * Web Remote: Added support for a resource folder that will be served as regular files through | ||
+ | * 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 | ||
+ | * Added the capability for plugins to display information in new text windows and to append to or change the display | ||
+ | * 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 | ||
+ | * **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 units. If a device reports these values a Unit will be created for them. | ||
+ | * Hubitat: Added support for values that come in as “STRING” rather than numerical | ||
+ | * Hubitat: Some devices from the Hubitat will now have more descriptive, | ||
+ | * Hubitat: The list of supported commands for each Unit is now saved to a [[dictionary: | ||
+ | * 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 a software update will now just log that information rather than generate an “unknown push message” error in the log. | ||
+ | * **Amcrest Camera API:** All the additions mentioned below have been added to the [[video: | ||
+ | * Amcrest Camera API: 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 a human is detected, or when a vehical is detected and so forth. | ||
+ | * Amcrest API New Status and Display commands: | ||
+ | * setFontScale(0.1..2.0) control the size of the text displayed over the image. | ||
+ | * setChannelTitleVisible( true|false) | ||
+ | * setChannelTitleLocation( 34, 12) | ||
+ | * setChannelTitleColor( R, G, B, A) | ||
+ | * setChannelTitleBackColor( R, G, B, A) | ||
+ | * setUserDisplayVisible( index, true|false) | ||
+ | * setUserDisplayText( index, “the info to display”) | ||
+ | * setUserDisplayLocation( index, xloc, yloc) | ||
+ | * setUserDisplayColor( R, G, B, A) | ||
+ | * setUserDisplayBackColor( R, G, B, A) | ||
+ | * 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 | ||
+ | * 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 a LOT of other things I can add to this plugin that could be controlled. | ||
+ | * **Scripting Dictionary: | ||
+ | * NEW: the [[dictionary: | ||
+ | * NEW: The [[dictionary: | ||
+ | * **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 column. Then you can sort lists by the date the Unit was created and not just the last activity date. For 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 database. This seems to work pretty well for most units most of the time, but 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 dates. This 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. | ||
- | There are no other changes to this build from the last release of 9.5.1, so it should not cause any new problems. It also makes no changes to the database layout or structure. If you do need to revert you should not have to revert the database to the backup that is made automatically when this build is first run, but it will be there if you need it. | ||
- | |||
- | If you suspect an issue with the new disk space management or wish to see debug log output of it’s functioning and what files it chooses please go to the preferences and check the “show debug menu” checkbox. Then in the newly visible debug menu select the "Log Disk Space Management Info." When in debug mode the scan will be run every minute instead of every 5 to collect more debug data which will be written to the log in a lovely orange. You may also use the “Run DiskCheck Now” menu item to force it to run while you’re watching. Uncheck the “Log Disk Space Management Info” menu item to go back to normal functioning. Be aware that other options in the debug menu are undocumented and may cause more problems than it’s worth to play with them. Please do not use other debug menu items unless I ask you to in order to collect more info on other issues. | ||
- | |||
- | |||
- | -James 2/25/2023 | ||
current/beta.txt · Last modified: 2024/02/05 17:51 by James Sentman