ALTUI : Version Log

V 1.63.1838
“faster reactivity of workflows”,
“optimize CPU, only execute workflows which needs re-evaluation”,
“revisit workflow start conditions & reset implementation”,
“bugfix in setVariableIfChanged”,
“bugfix for empty device name in pageRooms”,
“backbone, jointjs, spectrum , D3js, jquery 2.x updates”

NOTES:

  • adoption of jquery 2.x ( dropping support for old IE browsers )
  • various updates of javascript libraries
  • optimization for workflow execution to limit CPU usage in transitions as well as for workflows in start state

WARNING to all users

the Next version of ALTUI ( not yet released , this is a pre warning ) will make a change to the workflow presentation. the functionality will be the same but the presentation will make use of finite state machine ( fsa ) of jointjs graphic library instead of the current square boxes with connectors like today. it means that , instead of being limited to 3 inputs and 3 output ports, states are “circles” and can accommodate any number of connections.

The reason of this warning is to explain the update procedure.

as part of the upgrade, workflows will continue to work but ALTUI user interface will not properly display workflow states until you do a save of them. to do so the recommended procedure will be

a) before the upgrade : first make a standard backup of your vera. it contains all altui config & workflows
b) after the upgrade, ALTUI will convert your workflows to the new presentation but your will have to:
1- open each workflow
2- verify and adjust elements like transitions which could be stacked on top of each other
c) save your workflow

see some screen shot of the new presentation and an example of stacked transitions that need a small adjustment

V 1.65.1851

NOTE: read carefully the previous post of you are using workflows

Changes:

  • change of workflow presentation ( fsa instead of Model.dev )
  • remove workflow state rotate feature
  • implement variable_set action as POST on recent firmware on Vera UI7
  • transform existing workflows but requires a user save on all of them to fully work
  • upgrade jointjs version to 1.0.1
  • fixbug with invalid link when dropped on paper
  • CPU ( and battery optimization ) for pageWorkflow
  • Localization ( some additional translation in french )
  • hardening of lua driver in case workflow is corrupted

V 1.67.1862

  • KSenia Lares device support ( GitHub - amg0/Ksenia: VERA driver for Ksenia lares security system )
  • POST support for save pages & workflows
  • FixDeviceState remove empty variables
  • increase max size in device variable in lua
  • jqueryui update 1.12.1
  • Drag and drop issue on custom page when dragging a group of widgets
  • jqueryui slider calling onchange and forcing a unneeded UPNP action on widget
  • add CtrlOptions ALTUI device variable to control the polling timings for lu_status. Format is LU_STATUS_MINDELAY,LU_STATUS_TIMEOUT , defaults to 1500,60
  • add property to workflow link to choose smooth link or not

Magic number: 32282

NOTES about this release

Backup : as usual, do backups of your configuration regularly, we never know. this version will change the workflow and custom page savings if your vera is compatible with POST. see below

POST support: if you vera is using a UI7 firmware > 2138, ALTUI will now use POST instead of GET http calls to VERA for variable set and handler calls. this results in less http calls and less risk of failures for saving pages, workflows etc… I also reduced the number of variables needed on the device itself. for now it does not support openluup but if an openluup user wants to test this, I can give a special version of the code to test and then will enable support for POST on openluup as well

FixDeviceState : can now be used to remove empty variables of a device. use at your own risk but works fine for me

CtrlOptions : do not play with this unless you know what you are doing, it is to change the min delay and timeout options when getting updated data from VERA

Ksenia : is another plugin I made available only on github for now, for owners of KSenia Lares 16 security systems in their home, this enables to see all the “zones” as a security sensor in vera and this way get double return on your invest as you can write scenario & workflow on your vera for it

V 1.68.1880

  • bugfix to get full width text fields back in forms
  • ksenia device dashboard to display active partitions
  • fix for localcdn configurations
  • device control panel “used in” page now show if a device is used in a workflow transition
  • links on workflow graph show real time timer count down ( Only for registered users )

screen shot: demo of straight link mode for transitions and show of a timer value on a link

V 1.69.1887

-Fix the room rename feature
-bootstrap 3.3.7 upgrade,
-jointjs 1.0.2 upgrade
-Branding update for registration
-Localization
-refresh OS Stats if option ShowOsStatistics is ON

NOTES

[ul][li]Boostrap is updated to version 3.3.7 meaning all the users with custom theme, custom CSS must take care of upgrading to 3.3.7. Bootswatch themes selectable as part of ALTUI theme page have already been updated to 3.3.7[/li]
[li]if the option “ShowOsStatistics” is ON, you will get the first 3 lines of the ‘top’ command in the footer. this shows mem, cpu utilisation. this consumes a call to vera every 3 sec [/li]
[li]You can now rename a room by clicking on its name in the table on the page Rooms[/li][/ul]

V 1.69.1897

[ul][li]Timeline view feature : (only for registered users) : view devices triggers and scene last & next run execution on a zoomable, movable timeline ruler[/li][/ul]

I keep this feature for registered users ( so they get a little bonus ). unregistered users will see the timeline but it will stay empty.

Timeline will also display future scene execution for programmed scheduled scene.
It will show the update in realtime for security device Trip event as they happen.
It can be scrolled left and right with mouse, or with the button in the toolbar. There are some issues with iOS, it kind of work but it is better to use the button toolbar for these devices
The zoom factor can be changed by using the mouse central wheel or pinching the timeline on touch screens
The Zoom factor is memorized and used by default the next time you open the timeline page

V 1.70.1905

  • integrated pull request from sle118
  • clickable link (altuiid) on timeline view to jump to scene or device pages
  • nicer toolbar for timeline view with button & glyph icons
  • reorder of “More” menu items
  • adjust names on timeline
  • bugfix to only display active scenes in timeline
  • add watches to timeline view
  • add exact time as tooltip on timeline boxes
  • Show scene triggers in Timeline view

V 1.70.1914

resizable label widget in custom pages
ability to delete and blacklist some event from the timeline
keep only last 100 events for workflow timers
Timeline follows the present time automatically if Track Now button is toggled ON
bugfix for checking the availability of a new version
fix for timeline under MS Edge
Selectable event groups filter on the timeline
Add ability to display select button on HTMLUtils.Toolbar()
Add workflow transitions to timeline view

V 1.72.1929

-Introduction of MyHome page feature (limit to 5 items for non registered users)
-add BackgroundImg and ImagePath variables to ALTUI device and to ATLUI settings tab
-Make device scene & workflows panel box transparent if a custom background is specified
-improve warning error log search default OS command
-bugfix: watch init code to remove watches for inexistant devices
-bugfix: for devices without device type field ( property slide property dialog box not opening )

NOTES

MyHome is a new page on ALTUI which creates a simplistic & nice looking user interface over rooms scenes and devices. this is appropriate for Kids or to improve the WAF of the application. That page can be directly opened using the proper url parameters. for instance: http:///port_3480/data_request?id=lr_ALTUI_Handler&command=home&home=pageMyHome

All rooms, scenes, devices can be customized to display a Photo of your choice on a location of your choice accessible via a http/https location which you can specify in the new “ImagePath” setting of ALTUI. it can be your vera itself , for instance I use “…/localcdn” as my image path and put my image files here. I will write a specific Post to explain that customization capabilities. Files must be called

[ul][li]R_x-yy.jpg for rooms[/li]
[li]D_x-yy.jpg for devices[/li]
[li]S_x-yy.jpg for scenes[/li][/ul]

where x-yy is the ALTUI id of the object in question. warning on unix/vera capital letter matter so it is .jpg in lower case.

BackgroundImg” is another new variable which enables to put a http://path to a bitmap used for the background image of ALTUI. I also use vera itself for that and my variable is set to “…/localcdn/betweengrassandsky.png” for instance. note the use of relative urls such that it works for remote access as well.
When a “BackgroundImg” is specified, ALTUI switches all panel background ( scene device workflows,… ) to transparent mode to get this nice transparency you see on the screen shots attached. it is better to start without any theme and then start to add it back ( do not forget to remove any value in the ThemeCSS variable and then click the reset button on the theme page )

V 1.73.1941

  "bugfix: fix registration check for use case of direct opening with Home=pageMyHome",
  "pageMyHome: clickable title on page MyHome",
  "pageMyHome: cosmetics adjustments : round corners, change of icons",
  "pageMyHome: sort myhome pages by names",
  "pageMyHome: fix multicontroller configuration for myhome pages",
  "pageMyHome: Round up numbers in favorite /MyHome screens and reduce font size",
  "pageMyHome: remove invisible devices from MyHome page",
  "Favorite & pageMyHome: iPhone locator favorite update",
  "appStore: bugfix in app store if version label is too long"

V 1.73.1947

“page MyHome: Transparent buttons on my page rooms”,
“page MyHome: separate buttons for window covers, for sensors”,
“page MyHome: fix scene button size and center position”,
“page MyHome: improve MyHome page breadcumb”,
“bugfix: change aspect ratio when image is changing in custom page”,

V 1.74.1958

  "Support for AfterInit option in device TAB definitions (UI7 only)",
  "Urlbuilder user interface to select options and generate home page url",
  "Direct button to open the ALTUI Home page based on url options selected",
  "page MyHome: add NoRoom virtual room in page MyHome",
  "page MyHome: remove duplicated unlicensed message and make them dismissable",
  "page MyHome: differentiated buttons on Room tiles",
  "bugfix: prevent adding a watch if the scene was not saved once before",
  "registration: adding 36 month paypal option",
  "registration: user name as readonly in registration page",
  "bugfix: fix for scenes with html chars inside lua code",
  "bugfix:fix transparent background for myHome page buttons when a dark theme is used"

VERSION NOTE

[ul][li]AfterInit is a new JSON device tab option supported by VERA which enables device designers to use javascript code inside a flash tab. I am adding support for that in ALTUI and even using it myself for the ALTUI device to display a button which hopens ALTUI home page. this works in native UI7 also but of course is not working on UI5[/li]
[li]UrlBuilder enables to select various ALTUI url options and construct the right url to use. the Open button will open that page using these parameters. the url is saved into “LocalHome” variable of ALTUI device[/li]
[li]MyHome page rooms only display buttons for the device or scene they have. 4 kind of buttons are possible : actuators, sensors, window covers and scene. depending or not if the room has such object, the button will be displayed or not[/li][/ul]

V 1.74.1965

Fix settings tab issue on UI5
support for UI7 firmware Dec 13 2016 and new encoded_lua flag
add smoke sensors to sensors filter in pageMyHome
fix issue with changing an attribute value several time successively without refreshing the attribute form

V 1.75.1971

  • default room for newly created scene is the selected room in the filter of the page
  • code protection for base64 decode calls in the case the user_data is corrupted on latest UI7 firmware
  • fix issue in UI7 for displaying settings tab ( using the new afterInit call possibility to inject JS code into the Flash setting tab)
  • upgrade Ace editor version => 1.2.6
  • add max size for icon in MyPage in case the icon chosen by the plugin developper is too big

Beta version announce. I am putting this in beta so we get more testing exposure before I release it
you can get the files from the master branch on GitHub - amg0/ALTUI: Enhancement Interface for VERA home automation system

New features:

  • JS, XML, LUA mode for the ACE editor
  • Back button functionality for the pages. Now it really behaves like a web application despite the fact it is a pure one page, Javascript application. functionality is for HTML5 browser supporting the pushState, popState API. Most recent should

V 1.75.19801

  "add UIControler.addPage() API to enable 3rd party plugin to register pages",
  "fix for 3rd party module to be able to register back trace function for BACK feature",
  "proper BACK button support for MyHome pages",
  "workflow: moveabel labels on workflow links",
  "ACE editor language mode fix to support JS & XML"

V 1.75.1985

  "new ALTUI option to control the display (or not) of housemode widget on home page",
  "breadcrumb shows the selected custom page s name",
  "Home keyword in breadcrumb returns to home page that is defined in LocalHome ALTUI variable",
  "bugfix: click does not work in MyHome page"    
  "bugfix for page timeline range saving",

V 1.76.1995

adjust workflow panel heading bar for consistency
countdown plugin dashboard UI
CountDown Favorite Tile with mute button
show remaining count in countdown favorite tile
add github link and workflow timer display
avoid useless page refresh if localHome has not been customized
add urn:schemas-micasaverde-com:device:DoorSensor:1 to sensors page in MyHome
added support for GarageDoor plugin

V 1.77.1999

what a mythic version number ! on the menu for this one :

  "display KWH variable when it exists",
  "support openWeather favorite and dashboard with today and tomorrow condition icons", (*)
  "fix a bug in timer management in the lua ALTUI code",
  "Add support for image-player control types to display PZT control on camera panel",
  "bugfix: countdown button click in MyHome page"

(*) requires openWeather version 1.5 , GitHub - 999LV/openWeather-plugin-for-openLuup: Luup plugin to monitor weather data. NOTE: works fine on VERA as well