OpenHAB ZigBee Binding funktioniert nicht korrekt | OpenHAB ZigBee Binding does not work correctly

Update - Go to Post 4 and 5
Post 6 is the original post of this thread.

so you do not have a hue hub and are not using the hue binding correct?

I think I have other problems right now :frowning:

(English is as always below.)


Hallo Forum, dieser Post wurde nun editiert, da ich mehr Erkenntnis gesammelt habe.

Das OpenHAB ZigBee Binding scheint nicht korrekt zu funktionieren und ich habe eventuell den Fehler gefunden.
Doch vorab noch ein paar Infos, wie ich zu dem Punkt gelangt bin.

Ich habe ein Philips Hue Bewegungsmelder gekauft und wollte ihn per ZigBee an OpenHAB anbinden.
Hat leider nicht funktioniert, da OpenHAB das Gerät nicht findet.
Zusätzlich habe ich noch ein paar Ledvance Steckdosen zum Verbinden hier.
Zeitlich ist mein ZigBee-Stick kaputt gegangen. Die Firmware auf dem Stick hat es wohl zerschossen, daher musste ich einen neuen kaufen :frowning:
(Hab nichts zum flashen hier)

Mit einem neuen Stick, stoße ich nun wieder an die gleichen Probleme.

  • Stick ist erkannt und eingebunden
  • Nach mehrfachen ändern der Config und ca. 20 Neustarts des Raspberry Pi’s, findet das Binding die Geräte endlich wieder
    => Das einrichten ist einfach, das scannen nach Geräten ist wohl schon eine erste große Hürde (Hier das Problem von vor 8 Monaten: ZigBee (CC2531) + Tuya Switch - OH3)
  • Gefundene Geräte können als Thing angelegt werden

Das Problem ist nun, das OpenHAB in Wirklichkeit keinen Plan hat, was

  • für einen Stick ich verwende
  • die Verbundenen Geräte überhaupt sind

Warum?
OpenHAB legt XML-Konfigurationen hier an: /var/lib/openhab/zigbee/zigbee_coordinator_cc2531_NAME
Diese sind wohl nicht korrekt ausgefüllt.
Ein Glück habe ich ein Config-Backup des letzten funktionierenden Standes mit meinem kaputten Stick gemacht und die alten XML-Daten vorrätig.

Die neue Config es USB-Sticks sieht so aus:

<ZigBeeNode>
  <ieeeAddress>0011223344556677</ieeeAddress>
  <networkAddress>0</networkAddress>
  <endpoints/>
  <bindingTable/>
</ZigBeeNode>

(MAC absichtlich gefälscht)

Die Originale Config sieht eigentlich so aus:

<ZigBeeNode>
  <ieeeAddress>0011223344556677</ieeeAddress>
  <networkAddress>0</networkAddress>
  <nodeDescriptor>
    <apsFlags>0</apsFlags>
    <bufferSize>80</bufferSize>
    <complexDescriptorAvailable>false</complexDescriptorAvailable>
    <manufacturerCode>0</manufacturerCode>
    <logicalType>COORDINATOR</logicalType>
    <serverCapabilities class="sorted-set">
      <ServerCapabilitiesType>PRIMARY_TRUST_CENTER</ServerCapabilitiesType>
    </serverCapabilities>
    <incomingTransferSize>160</incomingTransferSize>
    <outgoingTransferSize>160</outgoingTransferSize>
    <userDescriptorAvailable>false</userDescriptorAvailable>
    <frequencyBands>
      <FrequencyBandType>FREQ_2400_MHZ</FrequencyBandType>
    </frequencyBands>
    <macCapabilities class="sorted-set">
      <MacCapabilitiesType>ALTERNATIVE_PAN</MacCapabilitiesType>
      <MacCapabilitiesType>FULL_FUNCTION_DEVICE</MacCapabilitiesType>
      <MacCapabilitiesType>MAINS_POWER</MacCapabilitiesType>
      <MacCapabilitiesType>RECEIVER_ON_WHEN_IDLE</MacCapabilitiesType>
    </macCapabilities>
    <extendedEndpointListAvailable>false</extendedEndpointListAvailable>
    <extendedSimpleDescriptorListAvailable>false</extendedSimpleDescriptorListAvailable>
    <stackCompliance>0</stackCompliance>
  </nodeDescriptor>
  <powerDescriptor>
    <currentPowerMode>RECEIVER_ON_IDLE</currentPowerMode>
    <availablePowerSources>
      <PowerSourceType>MAINS</PowerSourceType>
    </availablePowerSources>
    <currentPowerSource>MAINS</currentPowerSource>
    <powerLevel>FULL</powerLevel>
  </powerDescriptor>
  <endpoints/>
  <bindingTable/>
</ZigBeeNode>

Das gleiche Spiel konnte ich mit einem Dimmer von 3A Smart Home wiederholen.
Neue Config von OpenHAB:

<ZigBeeNode>
  <ieeeAddress>0011223344556677</ieeeAddress>
  <networkAddress>21917</networkAddress>
  <endpoints/>
  <bindingTable/>
</ZigBeeNode>

Eigentliche Config:

<ZigBeeNode>
  <ieeeAddress>0011223344556677</ieeeAddress>
  <networkAddress>19135</networkAddress>
  <nodeDescriptor>
    <apsFlags>0</apsFlags>
    <bufferSize>82</bufferSize>
    <complexDescriptorAvailable>false</complexDescriptorAvailable>
    <manufacturerCode>4478</manufacturerCode>
    <logicalType>ROUTER</logicalType>
    <serverCapabilities class="sorted-set"/>
    <incomingTransferSize>82</incomingTransferSize>
    <outgoingTransferSize>82</outgoingTransferSize>
    <userDescriptorAvailable>false</userDescriptorAvailable>
    <frequencyBands>
      <FrequencyBandType>FREQ_2400_MHZ</FrequencyBandType>
    </frequencyBands>
    <macCapabilities class="sorted-set">
      <MacCapabilitiesType>FULL_FUNCTION_DEVICE</MacCapabilitiesType>
      <MacCapabilitiesType>MAINS_POWER</MacCapabilitiesType>
      <MacCapabilitiesType>RECEIVER_ON_WHEN_IDLE</MacCapabilitiesType>
    </macCapabilities>
    <extendedEndpointListAvailable>false</extendedEndpointListAvailable>
    <extendedSimpleDescriptorListAvailable>false</extendedSimpleDescriptorListAvailable>
    <stackCompliance>22</stackCompliance>
  </nodeDescriptor>
  <powerDescriptor>
    <currentPowerMode>RECEIVER_ON_IDLE</currentPowerMode>
    <availablePowerSources>
      <PowerSourceType>MAINS</PowerSourceType>
    </availablePowerSources>
    <currentPowerSource>MAINS</currentPowerSource>
    <powerLevel>FULL</powerLevel>
  </powerDescriptor>
  <endpoints>
    <ZigBeeEndpoint>
      <endpointId>1</endpointId>
      <profileId>260</profileId>
      <deviceId>257</deviceId>
      <deviceVersion>1</deviceVersion>
      <inputClusterIds/>
      <outputClusterIds/>
      <inputClusters>
        <ZclCluster>
          <clusterId>0</clusterId>
          <isClient>false</isClient>
          <attributes>
            <entry>
              <int>0</int>
              <ZclAttribute>
                <id>0</id>
                <name>ZCL Version</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
                <lastReportTime>
                  <time>1627414953208</time>
                  <timezone>Europe/Berlin</timezone>
                </lastReportTime>
                <lastValue class="int">3</lastValue>
              </ZclAttribute>
            </entry>
            <entry>
              <int>16384</int>
              <ZclAttribute>
                <id>16384</id>
                <name>SW Build ID</name>
                <dataType>CHARACTER_STRING</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>1</int>
              <ZclAttribute>
                <id>1</id>
                <name>Application Version</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
                <lastReportTime>
                  <time>1627414953209</time>
                  <timezone>Europe/Berlin</timezone>
                </lastReportTime>
                <lastValue class="int">0</lastValue>
              </ZclAttribute>
            </entry>
            <entry>
              <int>2</int>
              <ZclAttribute>
                <id>2</id>
                <name>Stack Version</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
                <lastReportTime>
                  <time>1627414953208</time>
                  <timezone>Europe/Berlin</timezone>
                </lastReportTime>
                <lastValue class="int">0</lastValue>
              </ZclAttribute>
            </entry>
            <entry>
              <int>3</int>
              <ZclAttribute>
                <id>3</id>
                <name>HW Version</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
                <lastReportTime>
                  <time>1627414953208</time>
                  <timezone>Europe/Berlin</timezone>
                </lastReportTime>
                <lastValue class="int">0</lastValue>
              </ZclAttribute>
            </entry>
            <entry>
              <int>4</int>
              <ZclAttribute>
                <id>4</id>
                <name>Manufacturer Name</name>
                <dataType>CHARACTER_STRING</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
                <lastReportTime>
                  <time>1627414953208</time>
                  <timezone>Europe/Berlin</timezone>
                </lastReportTime>
                <lastValue class="string">3A Smart Home DE</lastValue>
              </ZclAttribute>
            </entry>
            <entry>
              <int>5</int>
              <ZclAttribute>
                <id>5</id>
                <name>Model Identifier</name>
                <dataType>CHARACTER_STRING</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
                <lastReportTime>
                  <time>1627414953208</time>
                  <timezone>Europe/Berlin</timezone>
                </lastReportTime>
                <lastValue class="string">LXN56-DS27LX1.3</lastValue>
              </ZclAttribute>
            </entry>
            <entry>
              <int>6</int>
              <ZclAttribute>
                <id>6</id>
                <name>Date Code</name>
                <dataType>CHARACTER_STRING</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
                <lastReportTime>
                  <time>1627414953208</time>
                  <timezone>Europe/Berlin</timezone>
                </lastReportTime>
                <lastValue class="string">20200421</lastValue>
              </ZclAttribute>
            </entry>
            <entry>
              <int>7</int>
              <ZclAttribute>
                <id>7</id>
                <name>Power Source</name>
                <dataType>ENUMERATION_8_BIT</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>8</int>
              <ZclAttribute>
                <id>8</id>
                <name>Generic Device Class</name>
                <dataType>ENUMERATION_8_BIT</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>9</int>
              <ZclAttribute>
                <id>9</id>
                <name>Generic Device Type</name>
                <dataType>ENUMERATION_8_BIT</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>10</int>
              <ZclAttribute>
                <id>10</id>
                <name>Product Code</name>
                <dataType>CHARACTER_STRING</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>11</int>
              <ZclAttribute>
                <id>11</id>
                <name>Product URL</name>
                <dataType>CHARACTER_STRING</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>16</int>
              <ZclAttribute>
                <id>16</id>
                <name>Location Description</name>
                <dataType>CHARACTER_STRING</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>17</int>
              <ZclAttribute>
                <id>17</id>
                <name>Physical Environment</name>
                <dataType>ENUMERATION_8_BIT</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>18</int>
              <ZclAttribute>
                <id>18</id>
                <name>Device Enabled</name>
                <dataType>BOOLEAN</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>19</int>
              <ZclAttribute>
                <id>19</id>
                <name>Alarm Mask</name>
                <dataType>BITMAP_8_BIT</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>20</int>
              <ZclAttribute>
                <id>20</id>
                <name>Disable Local Config</name>
                <dataType>BITMAP_8_BIT</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
          </attributes>
          <supportedCommandsReceived class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsReceived>
          <supportedCommandsGenerated class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsGenerated>
        </ZclCluster>
        <ZclCluster>
          <clusterId>3</clusterId>
          <isClient>false</isClient>
          <attributes>
            <entry>
              <int>0</int>
              <ZclAttribute>
                <id>0</id>
                <name>Identify Time</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
          </attributes>
          <supportedCommandsReceived class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsReceived>
          <supportedCommandsGenerated class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsGenerated>
        </ZclCluster>
        <ZclCluster>
          <clusterId>4</clusterId>
          <isClient>false</isClient>
          <attributes>
            <entry>
              <int>0</int>
              <ZclAttribute>
                <id>0</id>
                <name>Name Support</name>
                <dataType>BITMAP_8_BIT</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
          </attributes>
          <supportedCommandsReceived class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsReceived>
          <supportedCommandsGenerated class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsGenerated>
        </ZclCluster>
        <ZclCluster>
          <clusterId>5</clusterId>
          <isClient>false</isClient>
          <attributes>
            <entry>
              <int>0</int>
              <ZclAttribute>
                <id>0</id>
                <name>Scene Count</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>1</int>
              <ZclAttribute>
                <id>1</id>
                <name>Current Scene</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>2</int>
              <ZclAttribute>
                <id>2</id>
                <name>Current Group</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>3</int>
              <ZclAttribute>
                <id>3</id>
                <name>Scene Valid</name>
                <dataType>BOOLEAN</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>4</int>
              <ZclAttribute>
                <id>4</id>
                <name>Name Support</name>
                <dataType>BITMAP_8_BIT</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>5</int>
              <ZclAttribute>
                <id>5</id>
                <name>Last Configured By</name>
                <dataType>IEEE_ADDRESS</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
          </attributes>
          <supportedCommandsReceived class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsReceived>
          <supportedCommandsGenerated class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsGenerated>
        </ZclCluster>
        <ZclCluster>
          <clusterId>6</clusterId>
          <isClient>false</isClient>
          <attributes>
            <entry>
              <int>0</int>
              <ZclAttribute>
                <id>0</id>
                <name>On Off</name>
                <dataType>BOOLEAN</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>true</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
                <lastReportTime>
                  <time>1627415055222</time>
                  <timezone>Europe/Berlin</timezone>
                </lastReportTime>
                <lastValue class="boolean">false</lastValue>
              </ZclAttribute>
            </entry>
            <entry>
              <int>16384</int>
              <ZclAttribute>
                <id>16384</id>
                <name>Global Scene Control</name>
                <dataType>BOOLEAN</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>16385</int>
              <ZclAttribute>
                <id>16385</id>
                <name>On Time</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>16386</int>
              <ZclAttribute>
                <id>16386</id>
                <name>Off Wait Time</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>16387</int>
              <ZclAttribute>
                <id>16387</id>
                <name>Start Up On Off</name>
                <dataType>ENUMERATION_8_BIT</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
          </attributes>
          <supportedCommandsReceived class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsReceived>
          <supportedCommandsGenerated class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsGenerated>
        </ZclCluster>
        <ZclCluster>
          <clusterId>8</clusterId>
          <isClient>false</isClient>
          <attributes>
            <entry>
              <int>0</int>
              <ZclAttribute>
                <id>0</id>
                <name>Current Level</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>true</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>true</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
                <lastReportTime>
                  <time>1627415025285</time>
                  <timezone>Europe/Berlin</timezone>
                </lastReportTime>
                <lastValue class="int">254</lastValue>
              </ZclAttribute>
            </entry>
            <entry>
              <int>16384</int>
              <ZclAttribute>
                <id>16384</id>
                <name>Start Up Current Level</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>1</int>
              <ZclAttribute>
                <id>1</id>
                <name>Remaining Time</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>2</int>
              <ZclAttribute>
                <id>2</id>
                <name>Minimum Level</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>3</int>
              <ZclAttribute>
                <id>3</id>
                <name>Maximum Level</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>4</int>
              <ZclAttribute>
                <id>4</id>
                <name>Current Frequency</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>true</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>5</int>
              <ZclAttribute>
                <id>5</id>
                <name>Minimum Frequency</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>6</int>
              <ZclAttribute>
                <id>6</id>
                <name>Maximum Frequency</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>15</int>
              <ZclAttribute>
                <id>15</id>
                <name>Options</name>
                <dataType>BITMAP_8_BIT</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>16</int>
              <ZclAttribute>
                <id>16</id>
                <name>On Off Transition Time</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>17</int>
              <ZclAttribute>
                <id>17</id>
                <name>On Level</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>18</int>
              <ZclAttribute>
                <id>18</id>
                <name>On Transition Time</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>19</int>
              <ZclAttribute>
                <id>19</id>
                <name>Off Transition Time</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>20</int>
              <ZclAttribute>
                <id>20</id>
                <name>Default Move Rate</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
          </attributes>
          <supportedCommandsReceived class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsReceived>
          <supportedCommandsGenerated class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsGenerated>
          <supportedAttributes class="java.util.Collections$UnmodifiableSet">
            <c class="set">
              <int>0</int>
              <int>65533</int>
            </c>
          </supportedAttributes>
        </ZclCluster>
      </inputClusters>
      <outputClusters/>
    </ZigBeeEndpoint>
  </endpoints>
  <bindingTable/>
</ZigBeeNode>

Funktionieren tun die Gerätschaften aber weiterhin dann nicht.
Neue Geräte, von welchen ich z.B. keine XML-Config habe, werden in OpenHAB als “offline” angezeigt, mit der Begründung “Node has not completed discovery”.
Für Geräte für die ich eine Config habe, werden zwar als Online angezeigt, sobald ich aber versuche den Wert zu ändern (z.B. Licht einschalten), gehen sie offline.
Das habe ich z.B. mit dem Philips Hue Bewegungsmelder und den Ledvance Steckdosen.

Wie kann ich das ganze wieder reparieren?
So ist das leicht bescheiden.
Ich würde das ganze gerne einfach halten, was das ZigBee-Binding bisher ganz gut geschafft hatte.
Zigbee2Mqtt will ich mir deshalb nicht antun.

Hello forum, this post has now been edited as I have gained more insight.

The OpenHAB ZigBee binding does not seem to work correctly and I may have found the error.
But first some info on how I got to the point.

I bought a Philips Hue motion sensor and wanted to bind it to OpenHAB via ZigBee.
Unfortunately it didn’t work, because OpenHAB doesn’t find the device.
Additionally I have a few Ledvance sockets to connect here.
Time wise, my ZigBee stick broke. I guess the firmware on the stick shot it, so I had to buy a new one :frowning:
(Don’t have anything to flash here).

With a new stick, I now run into the same problems again.

  • Stick is recognized and mounted
  • After several changes of the config and about 20 restarts of the Raspberry Pi, the binding finally finds the devices again.
    => The setup is easy, scanning for devices is probably already a first big hurdle (Here the problem from 8 months ago: ZigBee (CC2531) + Tuya Switch - OH3)
  • Found devices can be created as Thing

The problem is that OpenHAB has no idea what kind of Zigbee-stick I’m using.

  • what kind of stick I am using
  • the connected devices are at all

Why?
OpenHAB creates XML configurations here: /var/lib/openhab/zigbee/zigbee_coordinator_cc2531_NAME.
I guess these are not filled in correctly.
Luckily I made a config backup of the last working state with my broken stick and have the old XML data on hand.

The new config it USB sticks looks like this:

<ZigBeeNode>
  <ieeeAddress>0011223344556677</ieeeAddress>
  <networkAddress>0</networkAddress>
  <endpoints/>
  <bindingTable/>
</ZigBeeNode>

(MAC intentionally faked)

The original config actually looks like this:

<ZigBeeNode>
  <ieeeAddress>0011223344556677</ieeeAddress>
  <networkAddress>0</networkAddress>
  <nodeDescriptor>
    <apsFlags>0</apsFlags>
    <bufferSize>80</bufferSize>
    <complexDescriptorAvailable>false</complexDescriptorAvailable>
    <manufacturerCode>0</manufacturerCode>
    <logicalType>COORDINATOR</logicalType>
    <serverCapabilities class="sorted-set">
      <ServerCapabilitiesType>PRIMARY_TRUST_CENTER</ServerCapabilitiesType>
    </serverCapabilities>
    <incomingTransferSize>160</incomingTransferSize>
    <outgoingTransferSize>160</outgoingTransferSize>
    <userDescriptorAvailable>false</userDescriptorAvailable>
    <frequencyBands>
      <FrequencyBandType>FREQ_2400_MHZ</FrequencyBandType>
    </frequencyBands>
    <macCapabilities class="sorted-set">
      <MacCapabilitiesType>ALTERNATIVE_PAN</MacCapabilitiesType>
      <MacCapabilitiesType>FULL_FUNCTION_DEVICE</MacCapabilitiesType>
      <MacCapabilitiesType>MAINS_POWER</MacCapabilitiesType>
      <MacCapabilitiesType>RECEIVER_ON_WHEN_IDLE</MacCapabilitiesType>
    </macCapabilities>
    <extendedEndpointListAvailable>false</extendedEndpointListAvailable>
    <extendedSimpleDescriptorListAvailable>false</extendedSimpleDescriptorListAvailable>
    <stackCompliance>0</stackCompliance>
  </nodeDescriptor>
  <powerDescriptor>
    <currentPowerMode>RECEIVER_ON_IDLE</currentPowerMode>
    <availablePowerSources>
      <PowerSourceType>MAINS</PowerSourceType>
    </availablePowerSources>
    <currentPowerSource>MAINS</currentPowerSource>
    <powerLevel>FULL</powerLevel>
  </powerDescriptor>
  <endpoints/>
  <bindingTable/>
</ZigBeeNode>

I was able to repeat the same game with a dimmer from 3A Smart Home.
New config from OpenHAB:

<ZigBeeNode>
  <ieeeAddress>0011223344556677</ieeeAddress>
  <networkAddress>21917</networkAddress>
  <endpoints/>
  <bindingTable/>
</ZigBeeNode>

Actual Config:

<ZigBeeNode>
  <ieeeAddress>0011223344556677</ieeeAddress>
  <networkAddress>19135</networkAddress>
  <nodeDescriptor>
    <apsFlags>0</apsFlags>
    <bufferSize>82</bufferSize>
    <complexDescriptorAvailable>false</complexDescriptorAvailable>
    <manufacturerCode>4478</manufacturerCode>
    <logicalType>ROUTER</logicalType>
    <serverCapabilities class="sorted-set"/>
    <incomingTransferSize>82</incomingTransferSize>
    <outgoingTransferSize>82</outgoingTransferSize>
    <userDescriptorAvailable>false</userDescriptorAvailable>
    <frequencyBands>
      <FrequencyBandType>FREQ_2400_MHZ</FrequencyBandType>
    </frequencyBands>
    <macCapabilities class="sorted-set">
      <MacCapabilitiesType>FULL_FUNCTION_DEVICE</MacCapabilitiesType>
      <MacCapabilitiesType>MAINS_POWER</MacCapabilitiesType>
      <MacCapabilitiesType>RECEIVER_ON_WHEN_IDLE</MacCapabilitiesType>
    </macCapabilities>
    <extendedEndpointListAvailable>false</extendedEndpointListAvailable>
    <extendedSimpleDescriptorListAvailable>false</extendedSimpleDescriptorListAvailable>
    <stackCompliance>22</stackCompliance>
  </nodeDescriptor>
  <powerDescriptor>
    <currentPowerMode>RECEIVER_ON_IDLE</currentPowerMode>
    <availablePowerSources>
      <PowerSourceType>MAINS</PowerSourceType>
    </availablePowerSources>
    <currentPowerSource>MAINS</currentPowerSource>
    <powerLevel>FULL</powerLevel>
  </powerDescriptor>
  <endpoints>
    <ZigBeeEndpoint>
      <endpointId>1</endpointId>
      <profileId>260</profileId>
      <deviceId>257</deviceId>
      <deviceVersion>1</deviceVersion>
      <inputClusterIds/>
      <outputClusterIds/>
      <inputClusters>
        <ZclCluster>
          <clusterId>0</clusterId>
          <isClient>false</isClient>
          <attributes>
            <entry>
              <int>0</int>
              <ZclAttribute>
                <id>0</id>
                <name>ZCL Version</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
                <lastReportTime>
                  <time>1627414953208</time>
                  <timezone>Europe/Berlin</timezone>
                </lastReportTime>
                <lastValue class="int">3</lastValue>
              </ZclAttribute>
            </entry>
            <entry>
              <int>16384</int>
              <ZclAttribute>
                <id>16384</id>
                <name>SW Build ID</name>
                <dataType>CHARACTER_STRING</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>1</int>
              <ZclAttribute>
                <id>1</id>
                <name>Application Version</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
                <lastReportTime>
                  <time>1627414953209</time>
                  <timezone>Europe/Berlin</timezone>
                </lastReportTime>
                <lastValue class="int">0</lastValue>
              </ZclAttribute>
            </entry>
            <entry>
              <int>2</int>
              <ZclAttribute>
                <id>2</id>
                <name>Stack Version</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
                <lastReportTime>
                  <time>1627414953208</time>
                  <timezone>Europe/Berlin</timezone>
                </lastReportTime>
                <lastValue class="int">0</lastValue>
              </ZclAttribute>
            </entry>
            <entry>
              <int>3</int>
              <ZclAttribute>
                <id>3</id>
                <name>HW Version</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
                <lastReportTime>
                  <time>1627414953208</time>
                  <timezone>Europe/Berlin</timezone>
                </lastReportTime>
                <lastValue class="int">0</lastValue>
              </ZclAttribute>
            </entry>
            <entry>
              <int>4</int>
              <ZclAttribute>
                <id>4</id>
                <name>Manufacturer Name</name>
                <dataType>CHARACTER_STRING</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
                <lastReportTime>
                  <time>1627414953208</time>
                  <timezone>Europe/Berlin</timezone>
                </lastReportTime>
                <lastValue class="string">3A Smart Home DE</lastValue>
              </ZclAttribute>
            </entry>
            <entry>
              <int>5</int>
              <ZclAttribute>
                <id>5</id>
                <name>Model Identifier</name>
                <dataType>CHARACTER_STRING</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
                <lastReportTime>
                  <time>1627414953208</time>
                  <timezone>Europe/Berlin</timezone>
                </lastReportTime>
                <lastValue class="string">LXN56-DS27LX1.3</lastValue>
              </ZclAttribute>
            </entry>
            <entry>
              <int>6</int>
              <ZclAttribute>
                <id>6</id>
                <name>Date Code</name>
                <dataType>CHARACTER_STRING</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
                <lastReportTime>
                  <time>1627414953208</time>
                  <timezone>Europe/Berlin</timezone>
                </lastReportTime>
                <lastValue class="string">20200421</lastValue>
              </ZclAttribute>
            </entry>
            <entry>
              <int>7</int>
              <ZclAttribute>
                <id>7</id>
                <name>Power Source</name>
                <dataType>ENUMERATION_8_BIT</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>8</int>
              <ZclAttribute>
                <id>8</id>
                <name>Generic Device Class</name>
                <dataType>ENUMERATION_8_BIT</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>9</int>
              <ZclAttribute>
                <id>9</id>
                <name>Generic Device Type</name>
                <dataType>ENUMERATION_8_BIT</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>10</int>
              <ZclAttribute>
                <id>10</id>
                <name>Product Code</name>
                <dataType>CHARACTER_STRING</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>11</int>
              <ZclAttribute>
                <id>11</id>
                <name>Product URL</name>
                <dataType>CHARACTER_STRING</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>16</int>
              <ZclAttribute>
                <id>16</id>
                <name>Location Description</name>
                <dataType>CHARACTER_STRING</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>17</int>
              <ZclAttribute>
                <id>17</id>
                <name>Physical Environment</name>
                <dataType>ENUMERATION_8_BIT</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>18</int>
              <ZclAttribute>
                <id>18</id>
                <name>Device Enabled</name>
                <dataType>BOOLEAN</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>19</int>
              <ZclAttribute>
                <id>19</id>
                <name>Alarm Mask</name>
                <dataType>BITMAP_8_BIT</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>20</int>
              <ZclAttribute>
                <id>20</id>
                <name>Disable Local Config</name>
                <dataType>BITMAP_8_BIT</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
          </attributes>
          <supportedCommandsReceived class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsReceived>
          <supportedCommandsGenerated class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsGenerated>
        </ZclCluster>
        <ZclCluster>
          <clusterId>3</clusterId>
          <isClient>false</isClient>
          <attributes>
            <entry>
              <int>0</int>
              <ZclAttribute>
                <id>0</id>
                <name>Identify Time</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
          </attributes>
          <supportedCommandsReceived class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsReceived>
          <supportedCommandsGenerated class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsGenerated>
        </ZclCluster>
        <ZclCluster>
          <clusterId>4</clusterId>
          <isClient>false</isClient>
          <attributes>
            <entry>
              <int>0</int>
              <ZclAttribute>
                <id>0</id>
                <name>Name Support</name>
                <dataType>BITMAP_8_BIT</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
          </attributes>
          <supportedCommandsReceived class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsReceived>
          <supportedCommandsGenerated class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsGenerated>
        </ZclCluster>
        <ZclCluster>
          <clusterId>5</clusterId>
          <isClient>false</isClient>
          <attributes>
            <entry>
              <int>0</int>
              <ZclAttribute>
                <id>0</id>
                <name>Scene Count</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>1</int>
              <ZclAttribute>
                <id>1</id>
                <name>Current Scene</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>2</int>
              <ZclAttribute>
                <id>2</id>
                <name>Current Group</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>3</int>
              <ZclAttribute>
                <id>3</id>
                <name>Scene Valid</name>
                <dataType>BOOLEAN</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>4</int>
              <ZclAttribute>
                <id>4</id>
                <name>Name Support</name>
                <dataType>BITMAP_8_BIT</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>5</int>
              <ZclAttribute>
                <id>5</id>
                <name>Last Configured By</name>
                <dataType>IEEE_ADDRESS</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
          </attributes>
          <supportedCommandsReceived class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsReceived>
          <supportedCommandsGenerated class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsGenerated>
        </ZclCluster>
        <ZclCluster>
          <clusterId>6</clusterId>
          <isClient>false</isClient>
          <attributes>
            <entry>
              <int>0</int>
              <ZclAttribute>
                <id>0</id>
                <name>On Off</name>
                <dataType>BOOLEAN</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>true</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
                <lastReportTime>
                  <time>1627415055222</time>
                  <timezone>Europe/Berlin</timezone>
                </lastReportTime>
                <lastValue class="boolean">false</lastValue>
              </ZclAttribute>
            </entry>
            <entry>
              <int>16384</int>
              <ZclAttribute>
                <id>16384</id>
                <name>Global Scene Control</name>
                <dataType>BOOLEAN</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>16385</int>
              <ZclAttribute>
                <id>16385</id>
                <name>On Time</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>16386</int>
              <ZclAttribute>
                <id>16386</id>
                <name>Off Wait Time</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>16387</int>
              <ZclAttribute>
                <id>16387</id>
                <name>Start Up On Off</name>
                <dataType>ENUMERATION_8_BIT</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
          </attributes>
          <supportedCommandsReceived class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsReceived>
          <supportedCommandsGenerated class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsGenerated>
        </ZclCluster>
        <ZclCluster>
          <clusterId>8</clusterId>
          <isClient>false</isClient>
          <attributes>
            <entry>
              <int>0</int>
              <ZclAttribute>
                <id>0</id>
                <name>Current Level</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>true</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>true</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
                <lastReportTime>
                  <time>1627415025285</time>
                  <timezone>Europe/Berlin</timezone>
                </lastReportTime>
                <lastValue class="int">254</lastValue>
              </ZclAttribute>
            </entry>
            <entry>
              <int>16384</int>
              <ZclAttribute>
                <id>16384</id>
                <name>Start Up Current Level</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>1</int>
              <ZclAttribute>
                <id>1</id>
                <name>Remaining Time</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>2</int>
              <ZclAttribute>
                <id>2</id>
                <name>Minimum Level</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>3</int>
              <ZclAttribute>
                <id>3</id>
                <name>Maximum Level</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>4</int>
              <ZclAttribute>
                <id>4</id>
                <name>Current Frequency</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>true</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>5</int>
              <ZclAttribute>
                <id>5</id>
                <name>Minimum Frequency</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>6</int>
              <ZclAttribute>
                <id>6</id>
                <name>Maximum Frequency</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>15</int>
              <ZclAttribute>
                <id>15</id>
                <name>Options</name>
                <dataType>BITMAP_8_BIT</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>16</int>
              <ZclAttribute>
                <id>16</id>
                <name>On Off Transition Time</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>17</int>
              <ZclAttribute>
                <id>17</id>
                <name>On Level</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>18</int>
              <ZclAttribute>
                <id>18</id>
                <name>On Transition Time</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>19</int>
              <ZclAttribute>
                <id>19</id>
                <name>Off Transition Time</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
            <entry>
              <int>20</int>
              <ZclAttribute>
                <id>20</id>
                <name>Default Move Rate</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>false</implemented>
                <readable>true</readable>
                <writable>true</writable>
                <reportable>false</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
              </ZclAttribute>
            </entry>
          </attributes>
          <supportedCommandsReceived class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsReceived>
          <supportedCommandsGenerated class="java.util.Collections$UnmodifiableSet">
            <c class="set"/>
          </supportedCommandsGenerated>
          <supportedAttributes class="java.util.Collections$UnmodifiableSet">
            <c class="set">
              <int>0</int>
              <int>65533</int>
            </c>
          </supportedAttributes>
        </ZclCluster>
      </inputClusters>
      <outputClusters/>
    </ZigBeeEndpoint>
  </endpoints>
  <bindingTable/>
</ZigBeeNode>

However, the devices still do not work.
New devices, of which I have no XML-Config, are displayed in OpenHAB as “offline” with the reason “Node has not completed discovery”.
For devices for which I have a config, they are shown as online, but as soon as I try to change the value (e.g. turn on the light), they go offline.
I have this e.g. with the Philips Hue motion sensor and the Ledvance sockets.

How can I fix the whole thing again?
It’s slightly humble like that.
I’d like to keep it simple, which the ZigBee binding had managed quite well so far.
Zigbee2Mqtt I therefore do not want to do to myself.

Original post:


Hallo Zusammen,
ich habe einen Philips Hue Bewegungsmelder gekauft und wollte ihn nun in OpenHAB 3 einbauen.
Nach dem 5 oder 6 Anlauf das Gerät mit meinem CC2531EMK Coordinator zu verbinden, hat es dann auch funktioniert.
Die LED leuchtet kurz grün und geht dann aus.
OpenHAB hat das Gerät erkannt und ich kann ihm einen Namen geben.
Sobald ich das Gerät angelegt habe, bleibt es aber offline.
“Node has not completed discovery”

Ich habe mehrfach nun versucht den Bewegungsmelder neu zu verbinden, aber er bleibt immer “offline”.

Was mach ich falsch?

Hier wurde erfolgreich die Verbindung mit Zigbee2Mqtt hergestellt:

Ich habe das ganze aber mit dem normalen ZigBee-Binding versucht, was scheinbar nicht ganz so gut funktioniert.
Gibt es einen Trick?


Hello All,
I bought a Philips Hue motion sensor and now I wanted to install it in OpenHAB 3.
After the 5 or 6 attempt to connect the device to my CC2531EMK coordinator, it worked.
The LED lights up briefly green and then goes out.
OpenHAB has recognized the device and I can give it a name.
However, once I have created the device, it remains offline.
“Node has not completed discovery”.

I have tried several times now to reconnect the motion detector, but it always stays “offline”.

What am I doing wrong?

Here the connection with Zigbee2Mqtt was successfully established:

However, I tried the whole thing with the normal ZigBee binding, which doesn’t seem to work quite as well.
Is there a trick?

Have a few log entries here from connecting new devices to the ZigBee stick.

2021-08-01 14:11:44.415 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 7CB03EAA0A0B9D5D: Starting ZigBee device discovery
2021-08-01 14:11:44.438 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 804B50FFFE5834DA: Starting ZigBee device discovery
2021-08-01 14:11:44.505 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 7CB03EAA0A0C29F7: Starting ZigBee device discovery
2021-08-01 14:11:44.508 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 7CB03EAA0A0B9C86: Starting ZigBee device discovery
2021-08-01 14:11:44.519 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 60A423FFFE93C5C8: Starting ZigBee device discovery
2021-08-01 14:11:44.539 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 086BD7FFFE405E1A: Starting ZigBee device discovery
2021-08-01 14:12:43.851 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 7CB03EAA0A0B9C86: Starting ZigBee device discovery
2021-08-01 14:12:43.852 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 7CB03EAA0A0B9D5D: Starting ZigBee device discovery
2021-08-01 14:12:43.854 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 7CB03EAA0A0C29F7: Starting ZigBee device discovery
2021-08-01 14:12:43.855 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 60A423FFFE93C5C8: Starting ZigBee device discovery
2021-08-01 14:12:43.857 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 804B50FFFE5834DA: Starting ZigBee device discovery
2021-08-01 14:12:47.665 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 7CB03EAA0A0C3E05: Starting ZigBee device discovery
2021-08-01 14:12:47.674 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'zigbee:device:ZigBeeUsbStick:7cb03eaa0a0c3e05' to inbox.
2021-08-01 14:12:50.030 [ERROR] [converter.ZigBeeConverterSwitchLevel] - 086BD7FFFE405E1A: Error initialising device
2021-08-01 14:12:50.033 [INFO ] [ng.zigbee.handler.ZigBeeThingHandler] - 086BD7FFFE405E1A: Channel zigbee:device:ZigBeeUsbStick:086bd7fffe405e1a:086BD7FFFE405E1A_1_dimmer failed to initialise device
2021-08-01 14:13:22.086 [ERROR] [converter.ZigBeeConverterSwitchLevel] - 086BD7FFFE405E1A: Error initialising device
2021-08-01 14:13:22.087 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 086BD7FFFE405E1A: Channel zigbee:device:ZigBeeUsbStick:086bd7fffe405e1a:086BD7FFFE405E1A_1_dimmer failed to initialise device

After much testing, opening a Github issue and ordering new sticks, I now have a result.

The problem is still not exactly definable.
It is probably related to the firmware of the stick and the OpenHAB binding.

I have now bought a 2652P - which can not be controlled directly by the binding - and installed zigbee2mqtt as well as mosquitto.
And suddenly everything is recognized without problems.
I will work with zigbee2mqtt from now on instead of using the ZigBee binding.
Seems to me to work more smoothly, even if it is a little more configuration effort.

Correct - this is not supported. I did suggest to you to use an Ember dongle a this is what all my commercial users are using - if you go and buy an unsupported dongle, then it won’t work :wink: