Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. English
    3. ioBroker general
    4. Zigbee device availability detection

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Zigbee device availability detection

    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      ap2017 last edited by

      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 Braun BananaJoe 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @ap2017 last edited by

        @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 2 Replies Last reply Reply Quote 1
        • BananaJoe
          BananaJoe Most Active @ap2017 last edited by

          @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.

          1 Reply Last reply Reply Quote 1
          • A
            ap2017 @Thomas Braun last edited by 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

            Asgothian 1 Reply Last reply Reply Quote 0
            • A
              ap2017 @Thomas Braun last edited by

              @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 Reply Last reply Reply Quote 0
              • Asgothian
                Asgothian Developer @ap2017 last edited by

                @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.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Support us

                ioBroker
                Community Adapters
                Donate

                908
                Online

                31.8k
                Users

                80.0k
                Topics

                1.3m
                Posts

                zigbee
                4
                6
                786
                Loading More Posts
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes
                Reply
                • Reply as topic
                Log in to reply
                Community
                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                The ioBroker Community 2014-2023
                logo