Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Vera
  4. PLEG newbie question

PLEG newbie question

Scheduled Pinned Locked Moved Vera
19 Posts 3 Posters 3.5k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • korttomaK Offline
    korttomaK Offline
    korttoma
    Hero Member
    wrote on last edited by
    #8

    About the Licensing of PLEG:

    You get 30 days free unlimited access from time of your first install.
    After 30 days, unlicensed users are allowed a total of 3 PLEG and/or PLTS devices each with a max of 5 inputs and 5 conditions.

    You can obtain a license that will allow you to create 4 PLEG/PLTS devices with no limitation to the amount of inputs or conditions. (You can obtain as many licenses as you need).
    A license is $5.50+tax

    • Tomas
    dbemowskD 1 Reply Last reply
    0
    • korttomaK korttoma

      About the Licensing of PLEG:

      You get 30 days free unlimited access from time of your first install.
      After 30 days, unlicensed users are allowed a total of 3 PLEG and/or PLTS devices each with a max of 5 inputs and 5 conditions.

      You can obtain a license that will allow you to create 4 PLEG/PLTS devices with no limitation to the amount of inputs or conditions. (You can obtain as many licenses as you need).
      A license is $5.50+tax

      dbemowskD Offline
      dbemowskD Offline
      dbemowsk
      wrote on last edited by
      #9

      @korttoma said in PLEG newbie question:

      After 30 days, unlicensed users are allowed a total of 3 PLEG and/or PLTS devices each with a max of 5 inputs and 5 conditions.
      You can obtain a license that will allow you to create 4 PLEG/PLTS devices with no limitation to the amount of inputs or conditions. (You can obtain as many licenses as you need).

      Does this mean that if I pay the $5.50, I then get 3+4=7 devices? And if I paid another $5.50 that I would get 11 devices? If that is the case, I would then count the number of devices that I have set up on my Vera and divide that out to get the total cost.

      Does this mean too that I can have unlimited conditions on any of the devices that I buy licenses for? And where do I purchase these licenses?

      Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
      Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

      1 Reply Last reply
      0
      • korttomaK Offline
        korttomaK Offline
        korttoma
        Hero Member
        wrote on last edited by
        #10

        I'm not sure how exactly it works but I bet you could run all the conditions you need on just one PLEG device but it is nice to create another for different purpose. I have for example one PLEG for LIGHT controll, one for notifications and one for other automation.

        • Tomas
        dbemowskD 1 Reply Last reply
        0
        • korttomaK korttoma

          I'm not sure how exactly it works but I bet you could run all the conditions you need on just one PLEG device but it is nice to create another for different purpose. I have for example one PLEG for LIGHT controll, one for notifications and one for other automation.

          dbemowskD Offline
          dbemowskD Offline
          dbemowsk
          wrote on last edited by
          #11

          @korttoma So it's per PLEG device, not per device that I would have controlled by Vera?

          Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
          Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

          SpannersS 1 Reply Last reply
          0
          • dbemowskD dbemowsk

            @korttoma So it's per PLEG device, not per device that I would have controlled by Vera?

            SpannersS Offline
            SpannersS Offline
            Spanners
            wrote on last edited by Spanners
            #12

            @dbemowsk - Yes it's per instance of PLEG. You can do everything in a single instance. Or as @korttoma says you can have multiple to separate things into logical groupings.

            The downside of multiple instances is Vera memory use - whether that is an issue will depend on which Vera you have and how much 'stuff' you have running on it.

            To register, just go into the PLEG editor and there's a "Register" entry on the Editor Options menu. Then hit the button for Registration Portal. Registration is online, pay by paypal.

            dbemowskD 1 Reply Last reply
            1
            • SpannersS Spanners

              @dbemowsk - Yes it's per instance of PLEG. You can do everything in a single instance. Or as @korttoma says you can have multiple to separate things into logical groupings.

              The downside of multiple instances is Vera memory use - whether that is an issue will depend on which Vera you have and how much 'stuff' you have running on it.

              To register, just go into the PLEG editor and there's a "Register" entry on the Editor Options menu. Then hit the button for Registration Portal. Registration is online, pay by paypal.

              dbemowskD Offline
              dbemowskD Offline
              dbemowsk
              wrote on last edited by
              #13

              @spanners Awesome... This community is the best.

              Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
              Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

              1 Reply Last reply
              0
              • dbemowskD Offline
                dbemowskD Offline
                dbemowsk
                wrote on last edited by
                #14

                So getting back to my original question on this, I am trying to get a PLEG action to work, but I am failing. Here are some screenshots. Keep in mind that I am on UI7 and not UI5.

                Here is my garage door trigger:
                0_1513559913334_98798849-6f2a-4271-b9a0-172d062df80b-image.png

                Here is a test schedule that I set up to figure this out:
                0_1513559974979_e03d81b8-1f85-46a8-813e-929ea05ea821-image.png

                Here is my condition. This is partially where I think I am going wrong. Not sure if I am doing the logical operators correctly:
                0_1513560042082_85ed1095-a56a-461a-bc92-238534ecda62-image.png

                And last, here is my logic action:
                0_1513560090387_a87f2696-fa31-41c9-8c70-373a00a19d01-image.png

                Let me know if the images are not clear enough, or if you have other questions.

                Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                SpannersS 1 Reply Last reply
                0
                • dbemowskD dbemowsk

                  So getting back to my original question on this, I am trying to get a PLEG action to work, but I am failing. Here are some screenshots. Keep in mind that I am on UI7 and not UI5.

                  Here is my garage door trigger:
                  0_1513559913334_98798849-6f2a-4271-b9a0-172d062df80b-image.png

                  Here is a test schedule that I set up to figure this out:
                  0_1513559974979_e03d81b8-1f85-46a8-813e-929ea05ea821-image.png

                  Here is my condition. This is partially where I think I am going wrong. Not sure if I am doing the logical operators correctly:
                  0_1513560042082_85ed1095-a56a-461a-bc92-238534ecda62-image.png

                  And last, here is my logic action:
                  0_1513560090387_a87f2696-fa31-41c9-8c70-373a00a19d01-image.png

                  Let me know if the images are not clear enough, or if you have other questions.

                  SpannersS Offline
                  SpannersS Offline
                  Spanners
                  wrote on last edited by Spanners
                  #15

                  @dbemowsk On PLEG's editor menu there's a logic report/status report option that gives you debug information. Use those instead of screenshots.

                  But anyway, my recommendation is change the Off Type for your schedule to Interval 00:00:01.

                  Your condition should be boolean, as you're using a trigger not a property. Try: sTimerTest AND tGarageDoorOpen

                  dbemowskD 1 Reply Last reply
                  0
                  • SpannersS Spanners

                    @dbemowsk On PLEG's editor menu there's a logic report/status report option that gives you debug information. Use those instead of screenshots.

                    But anyway, my recommendation is change the Off Type for your schedule to Interval 00:00:01.

                    Your condition should be boolean, as you're using a trigger not a property. Try: sTimerTest AND tGarageDoorOpen

                    dbemowskD Offline
                    dbemowskD Offline
                    dbemowsk
                    wrote on last edited by
                    #16

                    @spanners SO it appears that the schedules are not triggering correctly. This is from the status report a few minutes ago. If you look at sTimerTest, I had it set for 20:22:00, and it shows the last trigger to true at 20:17:18.325, which was me manually triggering it because the state was set to true and I wanted it at false. I don't see that it triggered at 20:22:00.
                    0_1513564196418_8a016425-90a4-48e9-b278-ae432077310f-image.png

                    Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                    Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                    SpannersS 1 Reply Last reply
                    0
                    • dbemowskD dbemowsk

                      @spanners SO it appears that the schedules are not triggering correctly. This is from the status report a few minutes ago. If you look at sTimerTest, I had it set for 20:22:00, and it shows the last trigger to true at 20:17:18.325, which was me manually triggering it because the state was set to true and I wanted it at false. I don't see that it triggered at 20:22:00.
                      0_1513564196418_8a016425-90a4-48e9-b278-ae432077310f-image.png

                      SpannersS Offline
                      SpannersS Offline
                      Spanners
                      wrote on last edited by
                      #17

                      @dbemowsk did you reload Lua after making the changes? On the PLEG menu as well. :)

                      They don’t take effect until a restart.

                      dbemowskD 2 Replies Last reply
                      0
                      • SpannersS Spanners

                        @dbemowsk did you reload Lua after making the changes? On the PLEG menu as well. :)

                        They don’t take effect until a restart.

                        dbemowskD Offline
                        dbemowskD Offline
                        dbemowsk
                        wrote on last edited by
                        #18

                        @spanners I bet that's it, I did not do that. I will test again.

                        Many thanks for the help.

                        Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                        Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                        1 Reply Last reply
                        0
                        • SpannersS Spanners

                          @dbemowsk did you reload Lua after making the changes? On the PLEG menu as well. :)

                          They don’t take effect until a restart.

                          dbemowskD Offline
                          dbemowskD Offline
                          dbemowsk
                          wrote on last edited by
                          #19

                          @spanners Just tested again after a LUA reload, and all is good.

                          Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                          Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          17

                          Online

                          11.7k

                          Users

                          11.2k

                          Topics

                          113.1k

                          Posts


                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • MySensors
                          • OpenHardware.io
                          • Categories
                          • Recent
                          • Tags
                          • Popular