PLTS Question

I have downloaded the PLTS app and tried to use it to avoid writing my own Lua code. However, I am running into some road blocks. I have downloaded “PLTS Basic.pdf” but this document is harder to understand than the documentation learning Lua. Are there any alternative documentations? To start with, I have the rather simple task to only send a text message (or email) if a particular door is unlocked during a certain time span. Concretely, a text message should be sent to my child the very moment I enter the home but only during a certain time block.

In another scenario, I want a door to be immediately unlocked when another door is unlocked but only during a certain time block. Also after that door is unlocked it will automatically be locked again when a certain time span has passed.

Any input or documentation that can help with programming this is appreciated.

PLEG would be more suitable than PLTS for these automation tasks. There is an introduction at PLEG Basics.

There are examples of Lua to do some of what you want in Conditional Scene Execution.