MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Carousel manuell mit Sensor blättern

    General Discussion
    4
    4
    233
    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
      Michel 0 last edited by

      Hallo Gemeinde,
      mein Magic Mirror läuft wunderbar, habe jetzt Carousel installiert und funktioniert super, hier meine Frage, gibt es eine Möglichkeit das Weiterblättern manuell über einen Gestensensor, oder andere Sensoren zu tätigen ???

      Vielen Dank erstmal im voraus.

      KamiSchami wishmaster270 2 Replies Last reply Reply Quote 0
      • KamiSchami
        KamiSchami @Michel 0 last edited by

        @michel-0 Ja gibt es, habe ich aber auch noch nicht ausprobiert. Einige haben es über den Ultraschallsensor gelöst.

        Real programmers never work 9 to 5. If they are around at 9 AM, it's because they were up all night.

        KamiSchami 1 Reply Last reply Reply Quote 0
        • KamiSchami
          KamiSchami @KamiSchami last edited by

          Hello community,
          My Magic Mirror runs wonderfully, I’ve now installed Carousel and it works great, here’s my question, is there a way to manually scroll through using a gesture sensor or other sensors???

          Thank you in advance.

          Yes there is, but I haven’t tried it yet. Some have solved it via the ultrasonic sensor.

          Real programmers never work 9 to 5. If they are around at 9 AM, it's because they were up all night.

          1 Reply Last reply Reply Quote 0
          • wishmaster270
            wishmaster270 Module Developer @Michel 0 last edited by

            @michel-0
            Hi, i can provide two possible solutions…

            Some time ago i wrote a module which listens to serial sockets and sends notifications based on text messages (MMM-Serial-Notifications) received on the console. My gesture sensors are connected to arduino nano boards (with some additional laser distance sensor) which send messages to the pi via usb. The sketches to program the arduino are provided in the example folder.

            As an alternative i recently connected an APDS-9660 sensor directly to my pi (attention 3,3V) and wrote a small python script (gesture.py) which reads the gestures and sends notifications via the HTTP API of MMM-RemoteControl. The script is not documented at the moment but the configuration is separated to second file.

            Ich kann zwei Alternativen anbieten.
            Vor einiger Zeit hab ich ein Modul geschrieben (MMM-Serial-Notifications) , das an seriellen Konsolen lauscht und anhand von empfangenen Textnachrichten Benachrichtigungen an den Spiegel schickt. Meine Gestensensoren hab ich zusammen mit Laser-Distanz-Sensoren an Arduino Nano Boards angeschlossen, die Nachrichten über USB an den Pi schicken. Die Beispiel-Sketches für die Arduino Programmierung sind im “examples” Ordner enthalten.

            Vor ein paar Tagen hab ich einen APDS-9660 Sensor direkt an den Pi angeschlossen (Achtung 3,3V) und ein kleines Python Skript (gesture.py) geschrieben, dass die Gesten ausliest und über die HTTP-API von MMM-RemoteControl an die Module schickt. Das mehr ein Programmierübung war ist das Skript noch nicht wirklich dokumentiert. Die Konfiguration ist aber in eine separate Datei ausgelagert.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy