Author Topic: Program Logic 8.19 (Next Gen) released  (Read 19003 times)

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +763/-142
Program Logic 8.19 (Next Gen) released
« on: July 08, 2016, 10:01:16 am »
Program Logic 5.11 (Next Gen) has been release. This is only supported on UI7+
The last UI5 version is  7.67. For UI5 support see:
  http://forum.micasaverde.com/index.php/topic,17624.0.html

To Upgrade (or restore the Pre Next Gen version) see:
  http://forum.micasaverde.com/index.php/topic,14446.0.html

Version 8.19 is available
  • Use New Vera API to save data.
  • Fix State Variables, add to Status report
  • Add improvements to syntax assistant in Condition Editor as well as option to disable it.

Version 8.15
  • Fixed bugs in Schedules with negative offsets from Sunrise/Sunset
  • Correctly Annotate NOW in Condition Editor
  • Fix problem of adding second action if Graphical Action Editor
  • Fix loosing Icons on major MCV upgrade.

Version 8.14
  • Fixed Bugs in Condition Editor
  • Made the Selection and Position for the Structure Graph persistent between multiple edit sessions.

Version 8.12
  • Fixed Bug in triggers that had no arguments (i.e. Security Sensors Triggers)

Version 8.11
  • New User Interface (Next Gen)
  • Option to Add Actions to Inputs directly for both True and False states.

    i.e. Add actions to when a Timer is True and another action when a Timer is False. No need to create intermediate conditions. See example below for forward actions.
  • RelationShip Graph

    Shows how PLEG components are tied together.

    Used to attach actions to inputs

    Will be used for more capabilities (Template creation) in a future release.
  • Support for forwarded actions.

    You can forward an Action to another (previously defined) action.

    An Action Name is always the name of the a ConditionName, or InputName, or !ConditionCondition, or !InputName. But if you want to have the same actions for when a timer is turned on as well as when it is turned off, you can forward the actions.

    i.e.   The following scenario creates a timer that turns a light(s) on when the timer is true, and off when the timer is false. No conditions are needed!

      INPUT-Schedule   NightLight  On at Sunset, Off at Sunruse

      Action     NightLight       Turn Light XXX  {(NightLight)}

      Action     !NightLight       Forward to NightLight

    When the Action NightLight is run it will set the light to the same as the schedule. i.e. On at night and Off during the day.
  • Computed Inputs

    When you run LUA as part of an action, you have the option to have the return value from the LUA to set a computed Input with a User specified Name. This User value will cause the re-evaluation of conditions using this new Value
« Last Edit: September 26, 2016, 09:24:49 am by RichardTSchaefer »

Offline JJ10

  • Sr. Newbie
  • *
  • Posts: 30
  • Karma: +1/-0
Re: Program Logic 8.11 (Next Gen) released
« Reply #1 on: July 08, 2016, 03:22:05 pm »
Hi Richard,

It looks great, i'm a new user but this is how the Vera should work. I just started working with PLEG as i mentioned in my previous reply. Because i didn't receive any updates about my motionsensors in PLEG i removed everything to start from scratch. Sadly after reinstalling PLEG I lost my trail period so i bought direct a license.
Sadly reinstalling the app didn't do the trick. I still dont receive any informations from my motions sensors. But i think i have found the reason and it looks like a bug or i dont understand it correctly.
I used the 'Event type: Whenever device detects motion whether is armed or disarmed'. But i only receive data when the sensor is armed...
I dont think this is correct? please let me know if im making a mistake or that it's a bug?

I'm using Fibraro 3 in 1 sensors (GEN5)

Kind regards

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +763/-142
Re: Program Logic 8.11 (Next Gen) released
« Reply #2 on: July 08, 2016, 05:18:08 pm »
As a new user ... you need to know that you should ALWAYS post a PDF of your Status report (There are plenty of free PDF printers out there to print an Web window into a PDF file).

Then in your message you should describe the problem in the context of the inputs and conditions you are having a problem with.

There very well could be a problem in Next-Gen ... It was a massive amount of code change, to both the UI and run-time.

Offline wilme2

  • Hero Member
  • *****
  • Posts: 1227
  • Karma: +29/-13
Re: Program Logic 8.11 (Next Gen) released
« Reply #3 on: July 08, 2016, 05:50:05 pm »
I am excited about the new version!  I am all UI5 now, but maybe it is time to upgrade an old VeraLite that I don't really use anymore...
Long Live UI5!  (OK finally made the switch to UI7 in January 2018, and am pretty happy....)

Offline Chrisfraser05

  • Sr. Member
  • ****
  • Posts: 449
  • Karma: +16/-31
Re: Program Logic 8.11 (Next Gen) released
« Reply #4 on: July 08, 2016, 05:50:51 pm »
Does the Released version work with the Beta firmware?

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +763/-142
Re: Program Logic 8.11 (Next Gen) released
« Reply #5 on: July 08, 2016, 10:57:31 pm »
Yes.

Offline zedrally

  • Hero Member
  • *****
  • Posts: 1152
  • Karma: +13/-5
  • Black Cat Control Systems
Re: Program Logic 8.11 (Next Gen) released
« Reply #6 on: July 09, 2016, 01:22:15 am »
mmm, This installed itself, must have updated and I'm pleasantly surprised after I decided to add a couple of test conditions. The dropdowns in conditions may take a while to get used to.
Is there an option to be able to write them in?
Otherwise, I'm happy with the layout... Great work
Living in the Land of Oz, give me a vegemite sandwich. Home Seer, Vera Lite & Edge, Popp, Black Cat Smart Hub & Vera G, Black Cat Lite 1 & 2's a Black Cat Dimmer or 2, Fantem Tec and then some  Black Cat Cat's Eye PIR's & Door-Window Sensors, RFXComm, Broadlink RMPro & Mini plus a Z-UNO or 2.

Offline Sender

  • Hero Member
  • *****
  • Posts: 909
  • Karma: +545/-453
  • Sr. manager of my Vera
Re: Program Logic 8.11 (Next Gen) released
« Reply #7 on: July 09, 2016, 01:45:51 am »
Richard, does it auto update existing plegs? Is the saving bug solved?
Good firmware is more important than good karma. (and this costed me lots of Karma)

Offline zedrally

  • Hero Member
  • *****
  • Posts: 1152
  • Karma: +13/-5
  • Black Cat Control Systems
Re: Program Logic 8.11 (Next Gen) released
« Reply #8 on: July 09, 2016, 02:11:51 am »
Actually, I'm now having problems with triggers not being recognised. It's done my head in and I'd rather not have an auto  update and revert back to the previous version. How can I do that?
« Last Edit: July 09, 2016, 03:16:08 am by zedrally »
Living in the Land of Oz, give me a vegemite sandwich. Home Seer, Vera Lite & Edge, Popp, Black Cat Smart Hub & Vera G, Black Cat Lite 1 & 2's a Black Cat Dimmer or 2, Fantem Tec and then some  Black Cat Cat's Eye PIR's & Door-Window Sensors, RFXComm, Broadlink RMPro & Mini plus a Z-UNO or 2.

Offline gurudc

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Program Logic 8.11 (Next Gen) released
« Reply #9 on: July 09, 2016, 04:39:01 am »
I had the same problem with triggers with an earlier version of NG.  My workaround was to monitor the device state (tripped) of the security sensor.  I the set up a condition that was true whenever the state was not equal to zero.  I also bumped that condition up the list so that it was evaluated early.  Problem solved - albeit with some lag as my sensor "untrips" some time after it stops detecting motion.

Offline Borat

  • Full Member
  • ***
  • Posts: 169
  • Karma: +4/-5
Re: Program Logic 8.11 (Next Gen) released
« Reply #10 on: July 09, 2016, 05:16:42 am »
Mine updated itself (must remember to disable auto-update!). It looks pretty good, but there are a couple of things I am struggling with or would suggest improvements on:
1) I dont seem to be able to type in changes to the logic, which is still how I want to work with PLEG. Should this be possible? I tried double clicking in the box and it seems to go to a non colour coded format, but won't let me type
2) The graphical view is interesting, but I am struggling to see how it would be useful. Can you explain the format and an example of how to use it perhaps?
3) I miss the option to move conditions up and down in the list whilst looking at the list. Some of my PLEGS have quite a number of conditions, so I have to click edit, then move up/down and then check where it is. Or count how many times I need to move it. But perhaps I am missing an option?

Offline aaron9060

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: Program Logic 8.11 (Next Gen) released
« Reply #11 on: July 09, 2016, 10:57:06 pm »
Really liking the new interface - much more user friendly.  The relationship graph lets me find where devices and conditions are used, quickly, without having to look back and forth between a bunch of windows.  When all of the objects are displayed, my graphs were pretty unreadable; but, selecting a specific device or set of objects looks great.

No issues found.

Well done, thanks!

Offline JJ10

  • Sr. Newbie
  • *
  • Posts: 30
  • Karma: +1/-0
Re: Program Logic 8.11 (Next Gen) released
« Reply #12 on: July 10, 2016, 06:03:31 am »
As a new user ... you need to know that you should ALWAYS post a PDF of your Status report (There are plenty of free PDF printers out there to print an Web window into a PDF file).

Then in your message you should describe the problem in the context of the inputs and conditions you are having a problem with.

There very well could be a problem in Next-Gen ... It was a massive amount of code change, to both the UI and run-time.

Hi Richard,
My apologies , please see the attachment.
I don't receive any status changes of my motion sensors when using PLEG. (No last true or False).
The sensors works perfect when using the standard Vera app. (Movement is detected and I can switch on a Lamp).
Please let me know how I can receive the data in PLEG.

In the previous version it did work (at least for one sensor, I didn't use the other sensors at that time)

Kind regards
« Last Edit: July 10, 2016, 06:41:22 am by JJ10 »

Offline Sender

  • Hero Member
  • *****
  • Posts: 909
  • Karma: +545/-453
  • Sr. manager of my Vera
Re: Program Logic 8.11 (Next Gen) released
« Reply #13 on: July 10, 2016, 06:50:45 am »
Richard, does it auto update existing plegs? Is the saving bug solved?

Richard?
Good firmware is more important than good karma. (and this costed me lots of Karma)

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +763/-142
Re: Program Logic 8.11 (Next Gen) released
« Reply #14 on: July 10, 2016, 09:22:35 am »
The Saving Bug is an MCV bug ...
There is nothing to Auto Update. (Already answered)