MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Touchscreen Family Dashboard

    Scheduled Pinned Locked Moved Show your Mirror
    touchscreentouch
    50 Posts 25 Posters 36.2k Views 42 Watching
    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.
    • M Offline
      mdiorio @elwood1982uk
      last edited by

      @elwood1982uk

      I was having issues with the calendar swipe feature not working. The keypress would work fine though. Looks like the new version of Electron has removed touchevents and changed to pointerdown and pointerup.

      I forked the original and made the changes: https://github.com/B3DTech/MMM-KeyPress

      I’m looking at cleaning up code in the add event module to remove some of the hard-coded customizations in the original. They are very much customized to the original creator with family names and icons hard coded. For the most part, that isn’t needed in a general framework for just adding events.

      I am also looking at merging the code into the latest version of MMM-CalendarExt3 since it’s so far behind now.

      It’s a slow work in progress. If anyone else has some time and wants to help out let me know.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @mdiorio
        last edited by

        @mdiorio electron still will provide touch events provided the underlying screen service does…

        did you change OS levels since it last appeared to work?

        they have changed the window manager twice in the last year.

        Original was X11
        last year introduced Wayland
        this Oct introduced Labwc

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          mdiorio @sdetweil
          last edited by

          @sdetweil said in Touchscreen Family Dashboard:

          did you change OS levels since it last appeared to work?

          First time I’m using it is this week, so it would appear I’m using labwc.

          All I know is that the old KeyPress module wasn’t working and doing a console debug in electron was showing no touchevents being sent, only pointer events.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @mdiorio
            last edited by

            @mdiorio you can change back to x11 using the raspi-config app

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              mdiorio @sdetweil
              last edited by

              @sdetweil Why would I change back when my code works with the current version. General concept MM should be don’t require a crap ton of customization just to make it work. Making users who may want to use this switch to a different windowing system doesn’t really make sense. Especially since I’m sure RPi will eventually remove X11.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @mdiorio
                last edited by sdetweil

                @mdiorio because it is new and not working in many cases yet

                if you want it to work now, your only choice is to move back

                you said your code does not work, touch doesnt

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • E Offline
                  elwood1982uk
                  last edited by

                  Hi all. Back after Xmas break. I’m still very new to this and not entirely sure where to begin. Before Xmas I tried downloading the files provided (thanks!) but can’t get it to work. Any chance of a noob walkthrough or a link to somewhere that will tell me how to add the modules and get a working touch calendar? Thanks!

                  L 1 Reply Last reply Reply Quote 0
                  • S sdetweil referenced this topic on
                  • L Offline
                    linkiln @elwood1982uk
                    last edited by

                    @elwood1982uk Hi, I’ve got similar problem with touch callendar. I’ve made two changes in https://github.com/B3DTech/MMM-KeyPress module.

                    In node_helper.js:
                    step: (direction === “ArrowRight” ? 3 : -3) // 1 to move forward, -1 to move backward
                    to:
                    step: (direction === “ArrowRight” ? 1 : -1) // 1 to move forward, -1 to move backward

                    and second thing uncomment:
                    // this.sendNotification(‘CX3_GLANCE_CALENDAR’, payload);

                    After this changes changing calendar start working with touch.

                    E 1 Reply Last reply Reply Quote 0
                    • E Offline
                      elwood1982uk @linkiln
                      last edited by

                      @linkiln @sdetweil thanks again both. I guess what else I need to know is what modifications I need to make to the original files to get them to work/personalised for my own family? (E.g. where do I change values, names, etc?). I do want to learn but have very limited time so when I get a chance to look at it I get very little time to figure stuff out through trial and error and therefore it’s sitting gathering dust - so any pointers/instructions gratefully received! 😉

                      E 1 Reply Last reply Reply Quote 0
                      • E Offline
                        elwood1982uk @elwood1982uk
                        last edited by

                        I’m basically going round in circles. Whenever I restart I have to remember everything from before so it’s very slow progress. I’ve just started fresh, using the auto installer (thanks). Took a while to get node/npm to the right version (I’m not sure why the auto installer didn’t?). Now at the point of adding modules but again I’ve run out of time. Could really do with a straightforward walkthrough (I do realise there is lots of info around/on here, but I find it overwhelming to know where to start, or when something goes wrong (long the node version earlier) how to sort it. Just want an editable touch screen Google calendar! 🤪`

                        S 2 Replies Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 4 / 5
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy