[ul][li]Workflow editor : improved label positioning UI[/li]
[li]Workflow history feature: table showing states & transitions which happened[/li]
[li]Workflow area resize and scrolling if needed[/li]
[li]bugfix in plugin pages: (updates were not working anymore)[/li][/ul]
[ul][li]bugfix: timer and workflow status refresh[/li]
[li]bugfix: workflow history display[/li]
[li]bugfix: prevent empty conditions in workflow[/li]
[li]Pause individual workflow feature[/li]
[li]new UPNP call to reset a workflow to Start state. resetWorkflow( altuiid )[/li]
[li]watch expression evaluation protected by pcall() to avoid luup crashes[/li]
[li]bugfix: force Timer name and duration to be filled in together[/li][/ul]
[ul][li]Scene: Clone of scene including clone of watches[/li]
[li]Workflow: improve lua logs[/li]
[li]Workflow: Enable workflow scheduled transitions based on same scheduling abilities as Scenes[/li]
[li]Workflow: LUA driver: fixed timers and scheduled transitions[/li]
[li]Workflow: LUA driver: Reset button resets timers and workflows[/li]
[li]bugfix: setDeviceStateVariablePersistent onSuccess[/li]
[li]bugFix: workflow save button status[/li][/ul]
Magic number: 31028
Scheduled transitions in a workflow will generate a scene called âWorkflow â which will wakeup a workflow and execute the schedule transition. that transition will of course only trigger a state change if at the time of the schedule, the active state of the workflow was the right one ( meaning the source state of the scheduled transition )
Scene display is slightly changed to now show buttons for Edit, Clone and History.
Cloning a scene will create a scene called âClone of xxxâ and it will also clone the ALTUI watches that you used as part of the scene ( VERA does not manage watches )
[ul][li]New widget on custom page to distribute horizontally and vertically the selected widgets[/li]
[li]Gauge in custom panels can be inverted like Red Yellow Green instead of Green Yellow Red[/li]
[li]Custom page Save button in more obvious in RED and at the top level in the toolbar[/li]
[li]use of a Template to customize the display of variables in the custom pages[/li]
[li]display timestamps as readable date in custom pages[/li]
[li]Help button on dialog box is more effective[/li]
[li]Fix scene search code for workflow scheduled transition[/li]
[li]remove the extraneous required attribute for action parameters in dialog box[/li]
[li]Display state and transition IDs in the workflow report[/li]
[li]fix the extra quote for request_image display url[/li][/ul]
[ul][li]bugfix: enable workflow to start immediately after saving[/li]
[li]bugfix: optimize memory used at time of ALTUI home page opening[/li][/ul]
2 bug fixes I found important to provide quickly.
1/ it will enable to save a workflow and have it start right away with the new definition ( providing your ALTUI device in in the EnableWorkflow mode )
2/ I was preloading user_data in the ALTUI home page at the time of construction and it seems sometime to take too much memory and time for VERA thus leading to unnecessary luup reload and no handler messages sometime. I removed this preloading to improve this situation
[ul]V1.34.1448 magic number: 31082
[list]
[li]Workflow import/export[/li]
[li]Display scene active status[/li]
[li]State action parameters can make use of Bag Variables[/li]
[li]Adjust custom page slider size and position[/li]
[li]bugfix: Showing zwave configuration parameters screen even when no parameters are set[/li]
[li]Edit button for Link Conditions[/li]
[li]Edit button for Link State Actions[/li]
[li]bugfix : clean up link delete in case of a state delete which uses that link[/li]
[li]OnEnterLua and OnExistLua capability for workflow states[/li]
[li]Display lua onenter onexit code in workflow report[/li]
[li]Concept of Workflow âBagâ of variables that are persistent across the workflow execution[/li]
[li]Workflow reset button on the workflow page[/li]
[li]resetWorkflow resets variables Bag[/li]
[/list]
Notes
[list]
[li]All variables of a workflow are grouped in a associative array called âBagâ.[/li]
[li]Variables have one workflow scope so each workflow has its own Bag of variable independent of the others[/li]
[li]âresetWorkflowâ command (UPNP or button ) will reset all variables to null[/li]
[li]Workflow States can have a OnEnter Lua code and OnExit lua code which can create/edit/manipulate variables but you need to take care that variables start with a null value. so do this for instance
[/li]
[/list][/ul]
[ul][li]bugfix: empty ServerOptions[/li]
[li]bugfix api.getRoomObject[/li]
[li]bugfix History & workflow status refresh when one ajax call fails[/li]
[li]add TriggerOnly flag to workflow conditions[/li]
[li]Capitalize headers in HTMLUtils.array2Table() tables[/li]
[li]Improve workflow LUA loggin in non debug mode[/li]
[li]workflow transition evaluation is (schedule) OR (timer) OR ( All conditions ) are true[/li]
[li]Branding adjustments[/li][/ul]
I discuss the triggerOnly flag in the workflow thread. basically this enables to differentiate between a condition that matches simply because the boolean expression is true ( and stays true ), or a condition that is just becoming true one time because of a change in the variable
[ul][li]Improvement of workflow scene saving[/li]
[li]Sanitizing workflows against bad deviceids[/li]
[li]Javascript performance optimization[/li]
[li]Improve scene active status display ( keep the last status )[/li]
[li]Fully support house mode for scheduled workflow transitions so that you can restrict it per mode like you do for scenes[/li]
[li]bugfix: no display of JS tabs when ALTUI plugin and UIx plugin are in the same JS file[/li][/ul]
EDIT: bug fix for opening property dialog on custom pages
[ul][li]bugfix for workflow timers[/li]
[li]less agressive parallelism for workflow and custom page saving[/li]
[li]Recorder API in Multibox[/li]
[li]Recorder use for scene editor and workflow editor[/li][/ul]
Recorder is not very natural from a user interface standpoint and has the same drawback as UI5 scene editor but it kind of works so could be useful in some situation. it enables you to âsimulateâ actions on devices/scene while recording the script and then to directly use it in scene or a workflow state
to launch it: click on the record button in scene editor or workflow state editor, then go and do your market
to stop it: go into a scene editor or workflow state editor, click on the ârecordingâŠâ button and the script that was captured is automatically added into the scene or the workflow state
in recording mode, actions on device and scenes are not executed , they are just recorded and a blinking REC sign ( like a camcorder) is visible.
for scenes : recording an execution of another scene is ignored
for workflow states, since you have have both device UPNP actions and scene executions, all are taken into account
[ul][li]New menu item for check of newer versions[/li]
[li]New license page with paypal ordering[/li]
[li]Improve paypal submit to automatically indicate the footer user name[/li]
[li]Improve footer display to avoid flickering[/li]
[li]auto update reserved to registered users or for critical updates[/li][/ul]
[ul][li]Zigbee device battery display ( work in progress )[/li]
[li]Bugfix in UIx api ( pb in evolve device )[/li]
[li]Room page enables to multi select devices to easily assign devices to rooms[/li][/ul]
[ul][li]No Room selection in multiselect button in device and scene pages[/li]
[li]new OS Command button to quickly see errors and warnings in Lua Log[/li]
[li]change of logo[/li]
[li]Adjust of button size in Room page[/li][/ul]
[ul][li]ALTUI_notify function available Workflow State lua actions[/li]
[li]page Evolutions in MISC menu to show feature history[/li]
[li]Resizable Lua editor for workflow state lua editor[/li]
[li]Autoupdate checkbox on plugin page, editable only on UI7 VERAs[/li]
[li]bugfix scene page room filtering[/li][/ul]
[glow=red,2,300]openLuup users[/glow]: there is an issue with code.mios.com servers to your upgrade will not work. you can use the package here attached to update the files and reload
ALTUI_notify() is a LUA function available to be used in workflow state lua actions. It consists in calling a pushingbox âscenarioâ with a message string
For those who are not familiar with pushingbox it is a notification service which supports many kind of different notifications ( email, phone notifications, etc ⊠) that you can configure on your pushingbox account (free)
ALTUI_notify( deviceid , messagestr)
[ul][li]the deviceid is the unique scenario identifier in pushingbox.[/li]
[li]the message is the text you want to send[/li][/ul]
[ul][li]remove [J_PLC.js,J_VeraAlerts.js] from postLoadFixActions for future PLEG[/li]
[li]Favorite page redesign, fully responsive and using a vectorial gage[/li]
[li]House modes and Weather in a Favorite Tile[/li]
[li]bugfix: missing ID bug in JS_api reported by vosmont[/li]
[li]Evolution page has a link GitHub for registered users[/li][/ul]
you will find here attached some examples of favorite sceen in fully responsive mode ( from very large to very small screen )
this is an important release and unfortunately the mcv store is not working for me. while MCV is working on it, that release is not available for auto-install, nor install with the magic number. it can only be installed manually downloading the zip file from Release 1581 · amg0/ALTUI · GitHub and uploading files to your vera using UI5/UI7 develop lua files screen
[ul][li]Improvement of reliability on vera ( no handler, not preloading files )[/li]
[li]Re-order favorite tiles by drag and drop[/li]
[li]ALTUI device having a custom favorite tile ( for demo )[/li]
[li]modified UPNP registerPlugin method[/li]
[li]Sonos favorite tiles showing the current album art[/li][/ul]
Many things to say about this release.
[ol][li]I recommend it as i have trie to optimize the loading of the application which sometimes caused vera to reload luup. I was too agressive to preload files and files are getting big. so I minified some JS codes that I use for widgets to make it smaller and adopted a less agressive preloading strategy. it should improve those of you who get no handler or frequent reloads.[/li]
[li]The favorite screen becomes mature, with drag and drop to reorder favorites in a persistent fashion. also it opens an API where ALTUI JS plugin authors can have a callback and generate their own tile content for these favorite.[/li]
[li]I made 2 tiles to show : ALTUI as a demo and Sonos to display album art. set these devices as favorites to see it[/li]
[li]because of the new api, the registerPlugin() UPNP method had to evolve to add an extra parameter to optionally register a tile drawing function. ALTUI demo code is inside J_ALTUI_iphone.js[/li][/ol]
demo => screen shot, captured in the middle of a drag and drop.
Problem of upgrades with the store seems to be solved. so here we can resume normal operation & upgrades.
[glow=red,2,300]EDIT: 1589 users should upgrade ( bug alert with favorites ! )[/glow]
[ul][li]Default favorite tile displays default icon[/li]
[li]DoorLock favorite tile[/li]
[li]jQuery Update[/li]
[li]Custom api for plugin authors to register a favorite draw JS routine[/li]
[li]Camera tile favorite[/li]
[li]Sonos tile favorite[/li]
[li]Reorder Favorites by drag and drop[/li]
[li]Optimisation ofpage load time[/li]
[li]Vectorial Gage[/li][/ul]
[ul][li]Favorite uses celcius or farenheit vera parameter[/li]
[li]healing include exclude buttons in the page Controller[/li]
[li]option to dismiss and hide the upgrade notice for 24h[/li][/ul]