Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. English
  3. ioBroker general
  4. Zigbee device availability detection

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.4k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.5k

Zigbee device availability detection

Geplant Angeheftet Gesperrt Verschoben ioBroker general
zigbee
6 Beiträge 4 Kommentatoren 1.1k Aufrufe 4 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • A Offline
    A Offline
    ap2017
    schrieb am zuletzt editiert von
    #1

    I am trying to use Zigbee switch as indicator of available AC power. It seems that object "available" should be the one to use. but It becomes "true" almost immediately after I power the switch, but stays "true" for long time after switch is disconnected from the power. What adapter parameter (if any) controls it?

    Thomas BraunT BananaJoeB 2 Antworten Letzte Antwort
    0
    • A ap2017

      I am trying to use Zigbee switch as indicator of available AC power. It seems that object "available" should be the one to use. but It becomes "true" almost immediately after I power the switch, but stays "true" for long time after switch is disconnected from the power. What adapter parameter (if any) controls it?

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #2

      @ap2017

      That is not the right use case for zigbee devices.
      Use a power meter enabled smart plug for checking the power state of a device.

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      A 2 Antworten Letzte Antwort
      1
      • A ap2017

        I am trying to use Zigbee switch as indicator of available AC power. It seems that object "available" should be the one to use. but It becomes "true" almost immediately after I power the switch, but stays "true" for long time after switch is disconnected from the power. What adapter parameter (if any) controls it?

        BananaJoeB Online
        BananaJoeB Online
        BananaJoe
        Most Active
        schrieb am zuletzt editiert von
        #3

        @ap2017 The state "available" can not be used for that. As you have noticed, it takes a long time until it jumps back to false.
        You mean 230V sockets? ZigBee is not suitable for this. The data point should quickly jump to true when the power supply is there. I would use a WLAn socket, e.g. with Tasmota. You can actively ping this and thereby determine whether it is in operation or not.

        ioBroker@Ubuntu 24.04 LTS (VMware) für: >260 Geräte, 5 Switche, 7 AP, 9 IP-Cam, 1 NAS 42TB, 1 ESXi 15TB, 4 Proxmox 1TB, 1 Hyper-V 48TB, 14 x Echo, 5x FireTV, 5 x Tablett/Handy VIS || >=160 Tasmota/Shelly || >=95 ZigBee || PV 8.1kW / Akku 14kWh || 2x USV 750W kaskadiert || Creality CR-10 SE 3D-Drucker

        1 Antwort Letzte Antwort
        1
        • Thomas BraunT Thomas Braun

          @ap2017

          That is not the right use case for zigbee devices.
          Use a power meter enabled smart plug for checking the power state of a device.

          A Offline
          A Offline
          ap2017
          schrieb am zuletzt editiert von ap2017
          #4

          @thomas-braun I thought about it first, but switch does not show power when in ON state with no load connected, don't think load needs to be connected for voltage reading. Tried it with load connected, still does not read voltage. Just in case, I filed an issue at Zigbee github regarding not able to read voltage.

          272591ea-596d-4e45-84ac-2e7081cfdada-image.png

          AsgothianA 1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @ap2017

            That is not the right use case for zigbee devices.
            Use a power meter enabled smart plug for checking the power state of a device.

            A Offline
            A Offline
            ap2017
            schrieb am zuletzt editiert von
            #5

            @thomas-braun I tried Z-Wave smart plug with power monitoring. It measures line voltage, but voltage values stays on when power is disconnected.

            1 Antwort Letzte Antwort
            0
            • A ap2017

              @thomas-braun I thought about it first, but switch does not show power when in ON state with no load connected, don't think load needs to be connected for voltage reading. Tried it with load connected, still does not read voltage. Just in case, I filed an issue at Zigbee github regarding not able to read voltage.

              272591ea-596d-4e45-84ac-2e7081cfdada-image.png

              AsgothianA Offline
              AsgothianA Offline
              Asgothian
              Developer
              schrieb am zuletzt editiert von
              #6

              @ap2017 sagte in Zigbee device availability detection:

              @thomas-braun I thought about it first, but switch does not show power when in ON state with no load connected, don't think load needs to be connected for voltage reading. Tried it with load connected, still does not read voltage. Just in case, I filed an issue at Zigbee github regarding not able to read voltage.

              272591ea-596d-4e45-84ac-2e7081cfdada-image.png

              The load voltage state will also not be usable for connection detection. The reason is simple:

              A plug which is connected may update this state once every x minutes, with x usually being within the range of 5 to 300. If you power of the plug, it lacks the power to update the value, hence the state will remain at the last state sent by the plug. This is true for any state published by the plug.

              There are very few devices which publish their states in a short interval. Most only post changes to their values, and even then have a minimum time difference between posting different values.

              The available state has the same issue. It is generated by the adapter attempting to obtain a response from the device using a "ping request". In theory, all line powered devices should respond to ping requests. Unfortunately, there are line powered devices which report as "end devices" and as such will not report to ping requests, i.e. their status cannot easily be verified.

              A.

              ioBroker auf RPi4 - Hardware soweit wie möglich via Zigbee.
              "Shit don't work" ist keine Fehlermeldung, sondern ein Fluch.

              1 Antwort Letzte Antwort
              0
              Antworten
              • In einem neuen Thema antworten
              Anmelden zum Antworten
              • Älteste zuerst
              • Neuste zuerst
              • Meiste Stimmen


              Support us

              ioBroker
              Community Adapters
              Donate

              559

              Online

              32.4k

              Benutzer

              81.4k

              Themen

              1.3m

              Beiträge
              Community
              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
              ioBroker Community 2014-2025
              logo
              • Anmelden

              • Du hast noch kein Konto? Registrieren

              • Anmelden oder registrieren, um zu suchen
              • Erster Beitrag
                Letzter Beitrag
              0
              • Home
              • Aktuell
              • Tags
              • Ungelesen 0
              • Kategorien
              • Unreplied
              • Beliebt
              • GitHub
              • Docu
              • Hilfe