Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
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
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Hardware
  4. Aqara Bewegungsmelder -> Problem mit pairing

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    756

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    6.1k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

Aqara Bewegungsmelder -> Problem mit pairing

Scheduled Pinned Locked Moved Hardware
47 Posts 9 Posters 9.2k Views 8 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.
  • DJMarc75D DJMarc75

    @sushibomba sagte in Aqara Bewegungsmelder -> Problem mit pairing:

    die ganze Zeit in der Schublade lag und keine Bewegungen erkennen musste

    vll einfach nur irgendwie "kaputtttt" wegen Unterforderung ?!
    Seit wann hast Du den wieder in Betrieb ?

    S Offline
    S Offline
    Sushibomba
    wrote on last edited by
    #41

    @djmarc75

    Ich kann es dir ehrlich gesagt nicht sagen woran es liegt. Battery zeigt er immer 100% an aber die Battery Voltage geht runter.

    Wie viel Volt entsprechen denn den "wahren" Prozenten? Unter 3V heißt fast leer? Hast du da Werte?

    arteckA 1 Reply Last reply
    0
    • S Sushibomba

      @djmarc75

      Ich kann es dir ehrlich gesagt nicht sagen woran es liegt. Battery zeigt er immer 100% an aber die Battery Voltage geht runter.

      Wie viel Volt entsprechen denn den "wahren" Prozenten? Unter 3V heißt fast leer? Hast du da Werte?

      arteckA Offline
      arteckA Offline
      arteck
      Developer Most Active
      wrote on last edited by
      #42

      @sushibomba

      function batteryVoltageToPercentage(voltage, option) {
          let percentage = null;
          if (option === '3V_2100') {
              if (voltage < 2100) {
                  percentage = 0;
              } else if (voltage < 2440) {
                  percentage = 6 - ((2440 - voltage) * 6) / 340;
              } else if (voltage < 2740) {
                  percentage = 18 - ((2740 - voltage) * 12) / 300;
              } else if (voltage < 2900) {
                  percentage = 42 - ((2900 - voltage) * 24) / 160;
              } else if (voltage < 3000) {
                  percentage = 100 - ((3000 - voltage) * 58) / 100;
              } else if (voltage >= 3000) {
                  percentage = 100;
              }
              percentage = Math.round(percentage);
          } else if (option === '3V_2500') {
              percentage = toPercentage(voltage, 2500, 3000);
          } else if (option === '3V_2500_3200') {
              percentage = toPercentage(voltage, 2500, 3200);
          } else if (option === '3V_1500_2800') {
              percentage = 235 - 370000 / (voltage + 1);
              if (percentage > 100) {
                  percentage = 100;
              } else if (percentage < 0) {
                  percentage = 0;
              }
              percentage = Math.round(percentage);
          } else if (option === '3V_2850_3000') {
              percentage = toPercentage(voltage, 2850, 3000);
          } else if (option === '4LR6AA1_5v') {
              percentage = toPercentage(voltage, 3000, 4200);
          } else if (option === '3V_add 1V') {
              voltage = voltage + 1000;
              percentage = toPercentage(voltage, 3200, 4200);
          } else if (option === 'Add_1V_42V_CSM300z2v2') {
              voltage = voltage + 1000;
              percentage = toPercentage(voltage, 2900, 4100);
          // Generic converter that expects an option object with min and max values
          // I.E. meta: {battery: {voltageToPercentage: {min: 1900, max: 3000}}}
          } else if (typeof option === 'object') {
              percentage = toPercentage(voltage, option.min, option.max);
          } else {
              throw new Error(`Not batteryVoltageToPercentage type supported: ${option}`);
          }
      
          return percentage;
      }
      

      zigbee hab ich, zwave auch, nuc's genauso und HA auch

      S 1 Reply Last reply
      0
      • arteckA arteck

        @sushibomba

        function batteryVoltageToPercentage(voltage, option) {
            let percentage = null;
            if (option === '3V_2100') {
                if (voltage < 2100) {
                    percentage = 0;
                } else if (voltage < 2440) {
                    percentage = 6 - ((2440 - voltage) * 6) / 340;
                } else if (voltage < 2740) {
                    percentage = 18 - ((2740 - voltage) * 12) / 300;
                } else if (voltage < 2900) {
                    percentage = 42 - ((2900 - voltage) * 24) / 160;
                } else if (voltage < 3000) {
                    percentage = 100 - ((3000 - voltage) * 58) / 100;
                } else if (voltage >= 3000) {
                    percentage = 100;
                }
                percentage = Math.round(percentage);
            } else if (option === '3V_2500') {
                percentage = toPercentage(voltage, 2500, 3000);
            } else if (option === '3V_2500_3200') {
                percentage = toPercentage(voltage, 2500, 3200);
            } else if (option === '3V_1500_2800') {
                percentage = 235 - 370000 / (voltage + 1);
                if (percentage > 100) {
                    percentage = 100;
                } else if (percentage < 0) {
                    percentage = 0;
                }
                percentage = Math.round(percentage);
            } else if (option === '3V_2850_3000') {
                percentage = toPercentage(voltage, 2850, 3000);
            } else if (option === '4LR6AA1_5v') {
                percentage = toPercentage(voltage, 3000, 4200);
            } else if (option === '3V_add 1V') {
                voltage = voltage + 1000;
                percentage = toPercentage(voltage, 3200, 4200);
            } else if (option === 'Add_1V_42V_CSM300z2v2') {
                voltage = voltage + 1000;
                percentage = toPercentage(voltage, 2900, 4100);
            // Generic converter that expects an option object with min and max values
            // I.E. meta: {battery: {voltageToPercentage: {min: 1900, max: 3000}}}
            } else if (typeof option === 'object') {
                percentage = toPercentage(voltage, option.min, option.max);
            } else {
                throw new Error(`Not batteryVoltageToPercentage type supported: ${option}`);
            }
        
            return percentage;
        }
        
        S Offline
        S Offline
        Sushibomba
        wrote on last edited by
        #43

        @arteck

        Heißt das es gibt nur diese Prozentstufen?

        0,6,18,42 & 100% ?

        arteckA 1 Reply Last reply
        0
        • S Sushibomba

          @arteck

          Heißt das es gibt nur diese Prozentstufen?

          0,6,18,42 & 100% ?

          arteckA Offline
          arteckA Offline
          arteck
          Developer Most Active
          wrote on last edited by arteck
          #44

          @sushibomba jo.. es war mal grunaler aber da es keine eindeutigkeit gab unter den Herstellern wurde es so zusammengestampft

          zigbee hab ich, zwave auch, nuc's genauso und HA auch

          S 1 Reply Last reply
          0
          • arteckA arteck

            @sushibomba jo.. es war mal grunaler aber da es keine eindeutigkeit gab unter den Herstellern wurde es so zusammengestampft

            S Offline
            S Offline
            Sushibomba
            wrote on last edited by
            #45

            @arteck

            Ok ist ja peinlich. Vor allem was für Werte. Also muss ich mir nur nen Script bauen, welches mich bei 6% Batterie Kapazität informiert sie zu wechseln richtig?

            arteckA 1 Reply Last reply
            0
            • S Sushibomba

              @arteck

              Ok ist ja peinlich. Vor allem was für Werte. Also muss ich mir nur nen Script bauen, welches mich bei 6% Batterie Kapazität informiert sie zu wechseln richtig?

              arteckA Offline
              arteckA Offline
              arteck
              Developer Most Active
              wrote on last edited by arteck
              #46

              @sushibomba mach lieber bei 18.. es gibt aber paar scripte oder.. device watch adapter

              zigbee hab ich, zwave auch, nuc's genauso und HA auch

              S 1 Reply Last reply
              1
              • arteckA arteck

                @sushibomba mach lieber bei 18.. es gibt aber paar scripte oder.. device watch adapter

                S Offline
                S Offline
                Sushibomba
                wrote on last edited by
                #47

                @arteck sagte in Aqara Bewegungsmelder -> Problem mit pairing:

                device watch adapter

                Danke :)

                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


                Support us

                ioBroker
                Community Adapters
                Donate

                466

                Online

                32.8k

                Users

                82.7k

                Topics

                1.3m

                Posts
                Community
                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                ioBroker Community 2014-2025
                logo
                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Home
                • Recent
                • Tags
                • Unread 0
                • Categories
                • Unreplied
                • Popular
                • GitHub
                • Docu
                • Hilfe