We have moved at community.getvera.com

Author Topic: openLuup: Version Log  (Read 8371 times)

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: openLuup: Version Log
« Reply #15 on: July 15, 2016, 01:40:20 pm »
Development Branch: Release 8.5 candidate

Significant updates include:
  • POST requests of unlimited length
  • HTTP server and WSAPI refactoring - prerequisite for planned asynchronous VeraBridge (faster)
  • LZAP data compression for user_data backups
  • HTML backup page with file Download option
  • openLuup_reload script accepts compressed user_data files
  • chdev.sync() change for RaZberry plugin

Simply installed by typing development into the Update box on the Plugins page and clicking the update button.

Refactoring of the HTTP server has been significant.  I would be very grateful of any feedback on this, particularly relating to timeouts on large file transfers (which was a problem once, but I hope has not resurfaced.)

3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: openLuup: Version Log
« Reply #16 on: August 05, 2016, 07:40:25 am »
2016 Release 8.5 (v16.8.5)

Further refactoring, but pretty much the same as the 8.5 candidate release.

Simply installed by clicking the openLuup Update button on the Plugins page.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: openLuup: Version Log
« Reply #17 on: October 04, 2016, 01:18:52 pm »
Development Branch: 2016 Release 10.4
  • added Apache 2.0 license
  • Grafana support infrastructure (with DataYours installed)
This allows the use of Grafana as a dashboard for any DataYours (and/or dataMine) databases, whether being used as AltUI Data Storage Providers, or not.  You do need to have the latest DataYours (16.10.4 or later) installed for this to work.  Configure Grafana to have a Graphite database server at http:openLuupIP:3480.

The file graphite_cgi.lua needs to be copied from the DataYours GitHub to /etc/cmh-ludl/.  At the moment, the automatic install doesn't do that.  Sorry.

To be migrated to the master branch if no bad things happen.
« Last Edit: October 09, 2016, 09:09:41 am by akbooer »
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: openLuup: Version Log
« Reply #18 on: November 28, 2016, 06:52:12 am »
Development Branch: 2016 Release 11.26

This development release incorporates many of the features which have been in testing for a while:
  • updated documentation (particularly for new system installs)
  • AltAppStore - improved error checking
  • VeraBridge - reducing polling overhead for status requests
  • graphite_cgi - CGI interface to DataYours now bundled with openLuup system (for Grafana, etc.)
  • luup.io - add implementation for io.read() with "crlf" protocol
  • status requests - startup jobs now shown correctly
  • scenes - day-of-week and day-of-month timing error fixed, and status updates
  • openLuup plugin room allocation preserved across reload (bugfix)
  • extended and updated unit tests
  • miscellaneous bug fixes and improvements
Simply update to this version on the plugin page using development in the Update box

This is a release candidate for the next master branch update.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: openLuup: Version Log
« Reply #19 on: December 11, 2016, 07:25:44 am »
Development Branch: 2016 Release 12.10

Significant changes include the relocation of logs files to /etc/cmh-ludl/logs/and a change to the default user_data.json checkpoint frequency.  Some system internals may be inspected using the new console viewer UI (http://openLuupIP:3480/console.)



Log files

openLuup now generates an extra log file LuaUPnP_startup.log, which is written to /etc/cmh-ludl/logs/ and is versioned to save the previous five reloads.  This is a very convenient way to check the last reload times of a system.  Typically very short, this log finishes after Lua Startup code has been run, and then...

...logging continues with a file in a location of your choice (default is logs/), limited to a number of lines you specify, and versioned to a set number.  Could be anywhere in the mounted file system.

user_data.json

This is generally written to /etc/cmh-ludl/ (don't change this) and is checkpointed after the first 6 minutes of a system reload and thereafter every 60 minutes



All the above parameters may be set in the Lua Startup code, thus:

Code: [Select]
-- openLuup configuration options:
luup.attr_set ("openLuup.Logfile.Name", "logs/LuaUPnP.log")   -- full path to log file
luup.attr_set ("openLuup.Logfile.Lines", 2000)
luup.attr_set ("openLuup.Logfile.Versions", 5)
luup.attr_set ("openLuup.UserData.Checkpoint", 60)      -- checkpoint every 60 minutes

A new console interface http://openLuupIP:3480/console  allows easy perusal of these (and other) system parameters.  There is a link to this from the openLuup device panel.

« Last Edit: December 11, 2016, 08:28:34 am by akbooer »
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: openLuup: Version Log
« Reply #20 on: December 21, 2016, 08:02:08 am »
2016 Release 12.21

Master branch updated from development.  Significant changes since last tagged release (v16.8.5):
  • added Apache 2.0 license
  • updated documentation (particularly for new system installs)
  • AltAppStore - improved error checking
  • VeraBridge - reducing polling overhead for status requests
  • graphite_cgi - CGI interface to DataYours now bundled with openLuup system (for Grafana, etc.)
  • relocation of logs files to /etc/cmh-ludl/logs/
  • change to the default user_data.json checkpoint frequency (to 60 minutes)
  • new console UI to view some system internals (scheduler, parameters, backups, logs)
  • luup.io - add implementation for io.read() with "crlf" protocol
  • status requests - startup jobs now shown correctly
  • scenes - day-of-week and day-of-month timing error fixed, and status updates
  • openLuup plugin room allocation preserved across reload
  • extended and updated unit tests
  • miscellaneous bug fixes and improvements
Also tagged as v16.12.21

3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: openLuup: Version Log
« Reply #21 on: January 19, 2017, 05:58:11 am »
Development Branch: 2017 Release 1.18

The openLuup plugin now has a HouseMode variable, which may be used as a variable watch trigger to kick off scenes when the house mode is changed (no need for a separate HouseMode plugin.)
« Last Edit: January 19, 2017, 06:02:32 am by akbooer »
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: openLuup: Version Log
« Reply #22 on: February 06, 2017, 04:43:51 pm »
Development Branch: 2017 Release 2.8

Includes a required fix for openLuup to handle some POST requests from AltUI (thanks @amg0)
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: openLuup: Version Log
« Reply #23 on: March 09, 2017, 10:09:15 am »
2017 Release 3.9

Master branch roll-up of recent developments:
  • HouseMode variable on openLuup device - can trigger scenes (no need for HouseMode plugin)
  • server allows POST requests (used now by AltUI for some actions)
  • VeraBridge now registers with AltUI as a Data Storage Provider for mirroring variables to Vera
  • VeraBridge BridgeScenes variable - enable/disable linking to remote scenes
  • new storage schemas for DataYours storage provider (1/5/10/20 min, 1/3/6 hour, 1 day sample rates)
  • updated documentation
  • misc. bug fixes

Also tagged as v17.3.9
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: openLuup: Version Log
« Reply #24 on: March 15, 2017, 03:50:04 am »
Development Branch: 2017 Release 3.15
  • added server configuration parameters to openLuup attribute
  • changed server backlog default to 2000 (thanks @explorer)
The above changes add user configurability to the port 3480 server and improve performance in complex systems.  (Change these at your own risk!)
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: openLuup: Version Log
« Reply #25 on: February 26, 2018, 10:50:35 am »
2018 Release 2.26

Master branch roll-up of developments from over the last year (it's been too long!)

The changes are too extensive to document in detail, but recent updates have been to anticipate Vera security 'improvements' to be rolled in next month and also the recent GitHub changes which deprecate old SSL security access levels.  As a result, the normal update approach (simply clicking the update 'refresh' button on the Plugins page) will not work and you will need to use the following procedure to allow the AltAppStore plugin to work and then update openLuup as usual:

openLuup Fix only for AltAppStore / GitHub SSL error

Changes in this update include:
  • server - faster CGI and file response
  • timers - sunrise/set accuracy, noon equinox date error fixed
  • scenes: global prolog/epilog code options, and individual scene finalisers
  • logs - fixed error leading to loss of AltUI variable history for scenes
  • requests - implement invoke request
  • luup.ir module - implemented
  • AltAppStore plugin - update SSL security to tls v1.2
  • VeraBridge plugin- remove old variable mirroring method, display house mode, temporary scene copies
  • openLuup plugin - add HouseMode variable for local machine
  • updated documentation
  • misc. bug fixes

Also tagged as v18.2.26
« Last Edit: February 26, 2018, 03:14:25 pm by akbooer »
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: openLuup: Version Log
« Reply #26 on: March 02, 2018, 07:23:11 am »
Development Branch: 2018 Release 3.2
  • implements House Mode delay on changes
  • VeraBridge effects an immediate change to whatever mode if the remote machine's mode is being mirrored
  • delay to any mode apart from Home is defined by system attribute mode_change_delay (default is 30)
  • mode changes may be cancelled before the delay period expires by selecting previous (or another) mode

Thanks to @RHCPNG for the suggestion.
« Last Edit: March 02, 2018, 12:37:12 pm by akbooer »
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: openLuup: Version Log
« Reply #27 on: March 14, 2018, 09:14:03 am »
Development Branch: 2018 Release 3.14
  • SMTP server for handling intra-LAN emails
  • I_openLuupCamera1.xml for email-triggered motion detection from cameras
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: openLuup: Version Log
« Reply #28 on: March 15, 2018, 06:11:03 pm »
Development Branch: 2018 Release 3.15
  • add log.register for modules
  • fix relative URLs in server requests (fixes bug introduced in v18.2.26)
  • update SMTP reply codes to RFC 5321
  • add SMTP VRFY for minimum RFC 5321 conformance
  • add SMTP Received: header with time stamp
  • add timers.rfc_5322_date() function
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: openLuup: Version Log
« Reply #29 on: March 17, 2018, 12:54:39 pm »
Development Branch: 2018 Release 3.17
  • loader modifications for ZeroBrane Studio debugging
  • MIME decoder in SMTP module
  • I_openLuupCamera1.xml update

Loader modifications as suggested by @explorer in this thread: http://forum.micasaverde.com/index.php/topic,38471.0.html
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.