Bugsounet Coding

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    MMM-Buttons

    Idea of new modules ?
    2
    13
    34
    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
      dvbit Donators last edited by

      Not really a new module.
      A fork / correction of an existing one that I am not able to fix 😞

      MMM-Buttons by Jopyth seems abandoned
      When I do nom install I get a message about a not correct version of node-abi

      I tried the solution here https://github.com/Jopyth/MMM-Buttons/issues/16

      but no success.
      If I cannot fix it I will be forced to use a very β€œrough” solution a python script running in background and sending notifications via api.

      Not nice but it will work.

      help @bugsounet πŸ™‚

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

        go to this module directory and try this:

        npm remove electron-rebuild
        npm install magicmirror-rebuild
        npm install
        

        and you will see:

        βœ” MagicMirror Rebuild Complete
        

        magicmirror-rebuild is @bugsounet an app πŸ˜‰ !

        1 Reply Last reply Reply Quote 0
        • D
          dvbit Donators last edited by

          I had seen your pst πŸ™‚ in mm forum and tried it.
          But I will redo from scratch

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

            Tested :

            image.png

            image.png

            and works πŸ˜‰

            1 Reply Last reply Reply Quote 0
            • D
              dvbit Donators last edited by

              doing it right now. I was missing the initial remove step

              1 Reply Last reply Reply Quote 0
              • D
                dvbit Donators last edited by

                success building it. now for the config

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

                  Really too πŸ’ͺ magicmirror-rebuild (like his master !) 😁 😁

                  1 Reply Last reply Reply Quote 0
                  • D
                    dvbit Donators last edited by

                    Works perfect THANKS!!! ✌

                    1 Reply Last reply Reply Quote 0
                    • D
                      dvbit Donators last edited by

                      LOVE IT.
                      Just used for another module that had troubles: MMM-PIR Sensor

                      You may ask : why you use PIR sensor when you have my perfect module?
                      You are right but I use of PIR Sensor the possibility of having an always on pin (I have a switch on the side of the mirror to suspend the sensor if I want) and always off…

                      have a look at the config : it has a couple of nice features (always in , always off etc)

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

                        Eco system is not the same, maybe complex to add it … I have to look (when i have done all my new very big plugin)

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

                          After… Maybe i will code this 2 plugins for Screen … why not

                          1 Reply Last reply Reply Quote 0
                          • D
                            dvbit Donators last edited by

                            I refer to this functions:
                            I have some bistable buttons that I used to link to this behaviour of mmm-pir

                            alwaysOnPin If you would like to use a GPIO pin to trigger power-saving mode. Ideal for users who want to have a physical switch that controls whether or not to use the motion sensor.

                            Possible values: int
                            Default value: false
                            Note: Please use BCM-numbering.
                            alwaysOnState GPIO-state to trigger always-on.

                            Possible values: int (0 or 1)
                            Default value: 1
                            alwaysOffPin If you would like to use a GPIO pin to trigger sleep mode. Ideal for users who want to have a physical switch to shut off the screen (perhaps the mirror is too bright at night).

                            Possible values: int
                            Default value: false
                            Note: Please use BCM-numbering.
                            alwaysOffState GPIO-state to trigger always-off.

                            Possible values: int (0 or 1)
                            Default value: 1

                            1 Reply Last reply Reply Quote 0
                            • D
                              dvbit Donators last edited by

                              So basically one inhibits the motion detection. The other turns off. Linked to a physical switch

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Powered by NodeBB | @bugsounet Β©2022