The Kwikset lock returns a value "sl_UserCode" that contains the string {UserID="1" UserName="Code 7"} without the braces of course. Normally one would describe a LITERAL in quotes i.e "LITERAL". In PLEG how does one describe a LITERAL that contains quotation marks i.e. how can I escape the interior quotation marks? Single Quotes around the LITERAL? I tried the old forwad slash to escape the interior quote marks (i.e. /") but PLEG didn't like that at all.

Is it possible to test substrings? Use RegEx on the string and extract just the "Code 7" part etc?

The Kwikset lock returns a value "sl_UserCode" that contains the string {UserID="1" UserName="Code 7"} without the braces of course. Normally one would describe a LITERAL in quotes i.e "LITERAL". In PLEG how does one describe a LITERAL that contains quotation marks i.e. how can I escape the interior quotation marks? Single Quotes around the LITERAL? I tried the old forwad slash to escape the interior quote marks (i.e. /") but PLEG didn't like that at all.

Is it possible to test substrings? Use RegEx on the string and extract just the "Code 7" part etc?

Thanks for what I guess is great work.I say guess as I barely got past the second paragraph before my brain started dribbling from my ears.Do you have a basic guide to help out with this basic guide, as it throws you in the deep end if you don't know a boolean value from a string expression. Or should I just stick to switching on a light at a time through Vera if I cant get my head round even this?

There's an updated version of PLEG Basics that reflects the changes in PLEG V5.9.

The main change is the new optional parameter intervalTime for PLEG's StartTimer action. To celebrate its arrival, I have added an example of how it could be used with a State Variable to implement a bathroom fan timer - not unlike the one in PLTS Basics.

Thanks for what I guess is great work.I say guess as I barely got past the second paragraph before my brain started dribbling from my ears.Do you have a basic guide to help out with this basic guide, as it throws you in the deep end if you don't know a boolean value from a string expression. Or should I just stick to switching on a light at a time through Vera if I cant get my head round even this?

Sorry, @SaucyPig, I only just saw your post.

I'm afraid I don't have a guide to basic computing terms but you can easily find out what they mean with a quick Google. There are many different online dictionaries that cover all aspects of computer jargon.

The main thing about computer jargon is that it is only confusing until you find out what it means. Generally the concepts are quite straightforward. They have to be - computers are not smart, just quick.

I would like to partition my PLEG logic as much as possible but wonder if this will drain the Vera resources, having multiple PLEG devices instead of one or two?

The biggest impact will be on your available memory. Each PLEG device requires around 2MB of memory (as do other plugins). If you have plenty of free memory then this may not be a problem for you. If you are running on a Vera Lite and you already have a number of plugins, it may be better to concentrate your logic into a small number of PLEGs.

I would like to partition my PLEG logic as much as possible but wonder if this will drain the Vera resources, having multiple PLEG devices instead of one or two?

The biggest impact will be on your available memory. Each PLEG device requires around 2MB of memory (as do other plugins). If you have plenty of free memory then this may not be a problem for you. If you are running on a Vera Lite and you already have a number of plugins, it may be better to concentrate your logic into a small number of PLEGs.

I do have a Vera Lite so I will try to keep my number of PLEGs down. Thanks.