Bugsounet Coding

    • Register
    • Login
    • Search
    This Forum is now reserved to registred users!

    Solved Turning screen back on, on event

    EXT-Screen
    2
    13
    37
    Loading More Posts
    • 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.
    • D
      Devnixx last edited by

      Hello everyone,

      I set up EXT-screen using mode 1 (vgencmd) and it works as intended, but how do I get the screen to turn back on again? It does not respond to mouse/keyboard input, nor does the touchscreen respond. Preferably I would like it to turn on when an MMM module (specifically my “mmm-ring” module) receives a message, so that the screen turns on to show me the “mmm-ring module”, and then turns off after the timer has run out again. I don’t assume this is already a feature, but perhaps somebody with a bit more knowledge about it would have a possible solution.
      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • bugsounet
        bugsounet Main Coder last edited by

        Hu,

        maybe by ready wiki, it can help ?

        image.png

        1 Reply Last reply Reply Quote 0
        • D
          Devnixx last edited by

          Yes, I read the wiki, and adding another module does not change anything. Is there another config for the other modules? Some configuration setting thats not listed? It feels a bit unclear for newcomers.

          1 Reply Last reply Reply Quote 0
          • bugsounet
            bugsounet Main Coder last edited by

            what do you add ?

            1 Reply Last reply Reply Quote 0
            • D
              Devnixx last edited by

              I tried “EXT-ScreenTouch”, “EXT-UpdateNotification” and “EXT-Alert”, but none of them turns on the screen when a module is displayed.

              1 Reply Last reply Reply Quote 0
              • bugsounet
                bugsounet Main Coder last edited by

                EXT-ScreenTouch: will allow to turn on the screen with a touch screen
                EXT-UpdateNotification will allow to autoupdate module or plugins
                EXT-Alert: will allow to inform you for an event with a popup

                Natively you can’t wakeup the screen with a module

                1 Reply Last reply Reply Quote 0
                • D
                  Devnixx last edited by

                  So unless using “EXT-Pir”, “EXT-ScreenTouch” or “EXT-ScreenManager”, you cannot turn on the screen again, after turning it off, using EXT-Screen?

                  1 Reply Last reply Reply Quote 0
                  • bugsounet
                    bugsounet Main Coder last edited by

                    you can send this notification: EXT_SCREEN-WAKEUP from another modules to turn on the screen

                    1 Reply Last reply Reply Quote 0
                    • D
                      Devnixx last edited by

                      Could I ask for your kindness to explain to me how I would proceed to do that? Do I need to install something to send notifications or modify an existing module?

                      1 Reply Last reply Reply Quote 0
                      • bugsounet
                        bugsounet Main Coder last edited by

                        1. you have to choose the module who have to send a notification
                        2. you must understand the code of the module
                        3. insert this notification: this.sendNotification("EXT_SCREEN-WAKEUP") in good place of the main code

                        After maybe… developer of this module with send a notification on event (see ReadMe file of the module)
                        in all case, it’s complex when you don’t understand javascript code

                        1 Reply Last reply Reply Quote 1
                        • D
                          Devnixx last edited by

                          Thanks a lot - that actually worked! I was not aware of this. Would this also work with the notifications at the bottom of the page?

                          image.png

                          1 Reply Last reply Reply Quote 1
                          • bugsounet
                            bugsounet Main Coder last edited by

                            it’s a confirmation Sended by EXT-Screen for inform other modules/plugins

                            Actually it’s used by Gateway plugins (for MMM-GoogleAssistant) and others plugins if needed

                            In your case, it’s not used

                            1 Reply Last reply Reply Quote 0
                            • D
                              Devnixx last edited by

                              alright, thanks a lot! Problem solved ^^

                              1 Reply Last reply Reply Quote 0
                              • Topic has been marked as solved  D Devnixx 
                              • First post
                                Last post
                              Powered by NodeBB | @bugsounet ©2022