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 5.4k 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.
  • K Offline
    K 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
    D 1 Reply Last reply
    0
    • K 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.

      D Offline
      D 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/

      S 1 Reply Last reply
      0
      • D dbemowsk

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

        S Offline
        S 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.

        D 1 Reply Last reply
        1
        • S 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.

          D Offline
          D 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
          • D Offline
            D 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/

            S 1 Reply Last reply
            0
            • D 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.

              S Offline
              S 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

              D 1 Reply Last reply
              0
              • S 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

                D Offline
                D 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/

                S 1 Reply Last reply
                0
                • D 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

                  S Offline
                  S 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.

                  D 2 Replies Last reply
                  0
                  • S Spanners

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

                    They don’t take effect until a restart.

                    D Offline
                    D 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
                    • S Spanners

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

                      They don’t take effect until a restart.

                      D Offline
                      D 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

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      16

                      Online

                      12.0k

                      Users

                      11.2k

                      Topics

                      113.4k

                      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