OH2, Zooz ZSE40 4 in 1 sensor and No enum constant error

The database hasn’t been updated for a long time for the ZSE40 - the last change was a couple of months ago, but that was only to update the device category. The last “real” change was in October last year…

Interesting, I admit I’ve gone months (maybe 6-8?) without updating until now. I just enabled debug in the log (another thing that changed since I last messed with this. I full-well admit I might have done this). I’ll let you know what I find once it has a little time to log the transactions.

I’m not sure what you mean here? There’s always been debug?

I simply mean that I might have set log to info only while I was not paying attention to things.

Still messing with it trying to figure out the issue - it’s not acting right and complains about the node constantly so I did a bundle uninstall and let it pick up the binding again on a restart. (bundle restart did the same thing for whatever reason). I am starting to think perhaps it’s due to your adding associations since the last time I updated… It showed none so I’m guessing that means the new binding didn’t know to share the notifications from the sensor. Working on it.

Edit: Yep. Nevermind my rant here it appears it’s the notifications that was the issue as the new binding required a node to report them to. Now it’s working. Very temperamental this smarthome stuff.

I don’t think there have been any such changes in the master binding…

Anyway, seems like you sorted out your issues :slight_smile: .

I just got the ZSE40 VER. 2.0 - unfortunately the motion alarm portion doesn’t seem to work. Debug/Trace reports data coming from the sensor, but my mapped item doesn’t change. I’m happy to upload the XML file from my openhab2 zwave dir to the database as a different version or supply the debug log. I created an account on CD-JACKSON.com (vitaly001). Let me know either way. Anxious to get this working.

I think starting with the XML and the error log would be great. Try turning on debug log if possible.

Thanks,
Joe

2018-08-15 00:15:04.025 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 38: Application Command Request (ALIVE:DONE)

2018-08-15 00:15:04.037 [DEBUG] [alization.ZWaveNodeInitStageAdvancer] - NODE 38: Starting initialisation from DONE

2018-08-15 00:15:04.042 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 38: Incoming command class BASIC

2018-08-15 00:15:04.045 [TRACE] [ssage.ApplicationCommandMessageClass] - NODE 38: Found Command Class BASIC, passing to handleApplicationCommandRequest

2018-08-15 00:15:04.048 [DEBUG] [.commandclass.ZWaveBasicCommandClass] - NODE 38: Received Basic Request

2018-08-15 00:15:04.051 [DEBUG] [.commandclass.ZWaveBasicCommandClass] - NODE 38: Basic Set sent to the controller will be processed as Basic Report

2018-08-15 00:15:04.054 [DEBUG] [.commandclass.ZWaveBasicCommandClass] - NODE 38: Basic report, value = 0xFF

2018-08-15 00:15:04.059 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 38: Got an event from Z-Wave network: ZWaveCommandClassValueEvent

2018-08-15 00:15:04.061 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 38: Got a value event from Z-Wave network, endpoint = 0, command class = BASIC, value = 255

2018-08-15 00:15:04.087 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 38: Application Command Request (ALIVE:DONE)

2018-08-15 00:15:04.090 [DEBUG] [alization.ZWaveNodeInitStageAdvancer] - NODE 38: Starting initialisation from DONE

2018-08-15 00:15:04.095 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 38: Incoming command class ALARM

2018-08-15 00:15:04.097 [TRACE] [ssage.ApplicationCommandMessageClass] - NODE 38: Found Command Class ALARM, passing to handleApplicationCommandRequest

2018-08-15 00:15:04.100 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 38: Received ALARM command V4

2018-08-15 00:15:04.102 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 38: Process NOTIFICATION_REPORT V4

2018-08-15 00:15:04.104 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 38: NOTIFICATION report - 7 = 255, event=8, status=255

2018-08-15 00:15:04.107 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 38: Alarm Type = BURGLAR (7)

2018-08-15 00:15:04.112 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 38: Got an event from Z-Wave network: ZWaveAlarmValueEvent

2018-08-15 00:15:04.114 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 38: Got a value event from Z-Wave network, endpoint = 0, command class = ALARM, value = 255

2018-08-15 00:15:16.868 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 38: Application Command Request (ALIVE:DONE)

2018-08-15 00:15:16.871 [DEBUG] [alization.ZWaveNodeInitStageAdvancer] - NODE 38: Starting initialisation from DONE

2018-08-15 00:15:16.878 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 38: Incoming command class BASIC

2018-08-15 00:15:16.882 [TRACE] [ssage.ApplicationCommandMessageClass] - NODE 38: Found Command Class BASIC, passing to handleApplicationCommandRequest

2018-08-15 00:15:16.885 [DEBUG] [.commandclass.ZWaveBasicCommandClass] - NODE 38: Received Basic Request

2018-08-15 00:15:16.889 [DEBUG] [.commandclass.ZWaveBasicCommandClass] - NODE 38: Basic Set sent to the controller will be processed as Basic Report

2018-08-15 00:15:16.893 [DEBUG] [.commandclass.ZWaveBasicCommandClass] - NODE 38: Basic report, value = 0x00

2018-08-15 00:15:16.900 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 38: Got an event from Z-Wave network: ZWaveCommandClassValueEvent

2018-08-15 00:15:16.903 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 38: Got a value event from Z-Wave network, endpoint = 0, command class = BASIC, value = 0

2018-08-15 00:15:16.930 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 38: Application Command Request (ALIVE:DONE)

2018-08-15 00:15:16.932 [DEBUG] [alization.ZWaveNodeInitStageAdvancer] - NODE 38: Starting initialisation from DONE

2018-08-15 00:15:16.936 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 38: Incoming command class ALARM

2018-08-15 00:15:16.938 [TRACE] [ssage.ApplicationCommandMessageClass] - NODE 38: Found Command Class ALARM, passing to handleApplicationCommandRequest

2018-08-15 00:15:16.940 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 38: Received ALARM command V4

2018-08-15 00:15:16.942 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 38: Process NOTIFICATION_REPORT V4

2018-08-15 00:15:16.944 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 38: NOTIFICATION report - 7 = 0, event=0, status=255

2018-08-15 00:15:16.947 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 38: Alarm Type = BURGLAR (7)

2018-08-15 00:15:16.951 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 38: Got an event from Z-Wave network: ZWaveAlarmValueEvent

2018-08-15 00:15:16.953 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 38: Got a value event from Z-Wave network, endpoint = 0, command class = ALARM, value = 255

2018-08-15 00:15:16.959 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 38: Updating channel state zwave:device:160248e398e:node38:alarm_motion to OFF [OnOffType]

2018-08-15 00:15:16.966 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 38: Updating channel state zwave:device:160248e398e:node38:alarm_tamper to OFF [OnOffType]
<node>
  <deviceClass>
    <basicDeviceClass>ROUTING_SLAVE</basicDeviceClass>
    <genericDeviceClass>SENSOR_NOTIFICATION</genericDeviceClass>
    <specificDeviceClass>NOTIFICATION_SENSOR</specificDeviceClass>
  </deviceClass>
  <homeId>0xddf44fd8</homeId>
  <nodeId>38</nodeId>
  <version>4</version>
  <manufacturer>0x27a</manufacturer>
  <deviceId>0x2101</deviceId>
  <deviceType>0x2021</deviceType>
  <listening>false</listening>
  <frequentlyListening>false</frequentlyListening>
  <routing>true</routing>
  <security>false</security>
  <beaming>true</beaming>
  <maxBaudRate>40000</maxBaudRate>
  <nodeInformationFrame>
    <commandClass>ZWAVE_PLUS_INFO</commandClass>
    <commandClass>VERSION</commandClass>
    <commandClass>MANUFACTURER_SPECIFIC</commandClass>
    <commandClass>DEVICE_RESET_LOCALLY</commandClass>
    <commandClass>ASSOCIATION</commandClass>
    <commandClass>ASSOCIATION_GROUP_INFO</commandClass>
    <commandClass>POWERLEVEL</commandClass>
    <commandClass>BATTERY</commandClass>
    <commandClass>ALARM</commandClass>
    <commandClass>SENSOR_MULTILEVEL</commandClass>
    <commandClass>CONFIGURATION</commandClass>
    <commandClass>WAKE_UP</commandClass>
    <commandClass>FIRMWARE_UPDATE_MD</commandClass>
  </nodeInformationFrame>
  <supportedCommandClasses>
    <entry>
      <commandClass>POWERLEVEL</commandClass>
      <powerLevelCommandClass>
        <version>1</version>
        <instances>1</instances>
        <versionSupported>1</versionSupported>
        <powerLevel>0</powerLevel>
        <powerTimeout>0</powerTimeout>
      </powerLevelCommandClass>
    </entry>
    <entry>
      <commandClass>WAKE_UP</commandClass>
      <WakeUpCommandClass>
        <version>2</version>
        <instances>1</instances>
        <versionSupported>2</versionSupported>
        <targetNodeId>1</targetNodeId>
        <interval>43200</interval>
        <minInterval>600</minInterval>
        <maxInterval>604800</maxInterval>
        <defaultInterval>43200</defaultInterval>
        <intervalStep>600</intervalStep>
        <lastWakeup>2018-08-15 02:42:14.207 UTC</lastWakeup>
        <isGetSupported>true</isGetSupported>
      </WakeUpCommandClass>
    </entry>
    <entry>
      <commandClass>ALARM</commandClass>
      <alarmCommandClass>
        <version>4</version>
        <instances>1</instances>
        <versionSupported>4</versionSupported>
        <alarms>
          <entry>
            <alarmType>BURGLAR</alarmType>
            <alarmState>
              <alarmType>BURGLAR</alarmType>
              <reportedEvents>
                <int>3</int>
                <int>8</int>
              </reportedEvents>
              <outer-class reference="../../../.."/>
            </alarmState>
          </entry>
        </alarms>
        <v1Supported>false</v1Supported>
        <isGetSupported>true</isGetSupported>
      </alarmCommandClass>
    </entry>
    <entry>
      <commandClass>ASSOCIATION</commandClass>
      <associationCommandClass>
        <version>2</version>
        <instances>1</instances>
        <versionSupported>2</versionSupported>
        <maxGroups>1</maxGroups>
      </associationCommandClass>
    </entry>
    <entry>
      <commandClass>VERSION</commandClass>
      <versionCommandClass>
        <version>2</version>
        <instances>1</instances>
        <versionSupported>2</versionSupported>
        <libraryType>LIB_SLAVE_ENHANCED</libraryType>
        <protocolVersion>4.54</protocolVersion>
        <applicationVersion>17.9</applicationVersion>
        <hardwareVersion>1</hardwareVersion>
      </versionCommandClass>
    </entry>
    <entry>
      <commandClass>ASSOCIATION_GROUP_INFO</commandClass>
      <associationGroupInfoCommandClass>
        <version>1</version>
        <instances>1</instances>
        <versionSupported>1</versionSupported>
        <autoSubscribeGroups>
          <int>1</int>
        </autoSubscribeGroups>
      </associationGroupInfoCommandClass>
    </entry>
    <entry>
      <commandClass>CONFIGURATION</commandClass>
      <configurationCommandClass>
        <version>1</version>
        <instances>1</instances>
        <versionSupported>1</versionSupported>
        <configParameters>
          <entry>
            <int>1</int>
            <configurationParameter>
              <index>1</index>
              <size>1</size>
              <value>1</value>
              <readOnly>false</readOnly>
              <writeOnly>false</writeOnly>
            </configurationParameter>
          </entry>
          <entry>
            <int>2</int>
            <configurationParameter>
              <index>2</index>
              <size>1</size>
              <value>10</value>
              <readOnly>false</readOnly>
              <writeOnly>false</writeOnly>
            </configurationParameter>
          </entry>
          <entry>
            <int>3</int>
            <configurationParameter>
              <index>3</index>
              <size>1</size>
              <value>10</value>
              <readOnly>false</readOnly>
              <writeOnly>false</writeOnly>
            </configurationParameter>
          </entry>
          <entry>
            <int>4</int>
            <configurationParameter>
              <index>4</index>
              <size>1</size>
              <value>10</value>
              <readOnly>false</readOnly>
              <writeOnly>false</writeOnly>
            </configurationParameter>
          </entry>
          <entry>
            <int>5</int>
            <configurationParameter>
              <index>5</index>
              <size>1</size>
              <value>15</value>
              <readOnly>false</readOnly>
              <writeOnly>false</writeOnly>
            </configurationParameter>
          </entry>
          <entry>
            <int>6</int>
            <configurationParameter>
              <index>6</index>
              <size>1</size>
              <value>4</value>
              <readOnly>false</readOnly>
              <writeOnly>false</writeOnly>
            </configurationParameter>
          </entry>
          <entry>
            <int>7</int>
            <configurationParameter>
              <index>7</index>
              <size>1</size>
              <value>4</value>
              <readOnly>false</readOnly>
              <writeOnly>false</writeOnly>
            </configurationParameter>
          </entry>
        </configParameters>
      </configurationCommandClass>
    </entry>
    <entry>
      <commandClass>ZWAVE_PLUS_INFO</commandClass>
      <zwavePlusCommandClass>
        <version>1</version>
        <instances>1</instances>
        <versionSupported>2</versionSupported>
        <zwPlusVersion>1</zwPlusVersion>
        <zwPlusRole>6</zwPlusRole>
        <zwPlusNodeType>0</zwPlusNodeType>
        <zwPlusDeviceType>0xc07</zwPlusDeviceType>
        <zwPlusInstallerIcon>0xc07</zwPlusInstallerIcon>
        <isGetSupported>true</isGetSupported>
      </zwavePlusCommandClass>
    </entry>
    <entry>
      <commandClass>SENSOR_BINARY</commandClass>
      <binarySensorCommandClass>
        <version>0</version>
        <instances>0</instances>
        <versionSupported>0</versionSupported>
        <isGetSupported>true</isGetSupported>
        <types/>
      </binarySensorCommandClass>
    </entry>
    <entry>
      <commandClass>SENSOR_MULTILEVEL</commandClass>
      <multiLevelSensorCommandClass>
        <version>7</version>
        <instances>1</instances>
        <versionSupported>7</versionSupported>
        <sensors>
          <entry>
            <multilevelSensorType>LUMINANCE</multilevelSensorType>
            <multilevelSensor>
              <sensorType>LUMINANCE</sensorType>
              <initialised>true</initialised>
            </multilevelSensor>
          </entry>
          <entry>
            <multilevelSensorType>TEMPERATURE</multilevelSensorType>
            <multilevelSensor>
              <sensorType>TEMPERATURE</sensorType>
              <initialised>true</initialised>
            </multilevelSensor>
          </entry>
          <entry>
            <multilevelSensorType>RELATIVE_HUMIDITY</multilevelSensorType>
            <multilevelSensor>
              <sensorType>RELATIVE_HUMIDITY</sensorType>
              <initialised>true</initialised>
            </multilevelSensor>
          </entry>
        </sensors>
        <isGetSupported>true</isGetSupported>
      </multiLevelSensorCommandClass>
    </entry>
    <entry>
      <commandClass>BATTERY</commandClass>
      <batteryCommandClass>
        <version>1</version>
        <instances>1</instances>
        <versionSupported>1</versionSupported>
        <batteryLevel>100</batteryLevel>
        <batteryLow>false</batteryLow>
        <isGetSupported>true</isGetSupported>
      </batteryCommandClass>
    </entry>
    <entry>
      <commandClass>MANUFACTURER_SPECIFIC</commandClass>
      <manufacturerSpecificCommandClass>
        <version>1</version>
        <instances>1</instances>
        <versionSupported>2</versionSupported>
        <initSerialNumber>false</initSerialNumber>
        <deviceManufacturer>634</deviceManufacturer>
        <deviceType>8225</deviceType>
        <deviceId>8449</deviceId>
      </manufacturerSpecificCommandClass>
    </entry>
    <entry>
      <commandClass>DEVICE_RESET_LOCALLY</commandClass>
      <deviceResetLocallyCommandClass>
        <version>1</version>
        <instances>1</instances>
        <versionSupported>1</versionSupported>
      </deviceResetLocallyCommandClass>
    </entry>
    <entry>
      <commandClass>FIRMWARE_UPDATE_MD</commandClass>
      <firmwareUpdateCommandClass>
        <version>1</version>
        <instances>1</instances>
        <versionSupported>2</versionSupported>
      </firmwareUpdateCommandClass>
    </entry>
    <entry>
      <commandClass>NO_OPERATION</commandClass>
      <noOperationCommandClass>
        <version>1</version>
        <instances>1</instances>
        <versionSupported>1</versionSupported>
      </noOperationCommandClass>
    </entry>
    <entry>
      <commandClass>BASIC</commandClass>
      <basicCommandClass>
        <version>1</version>
        <instances>1</instances>
        <versionSupported>1</versionSupported>
        <isGetSupported>true</isGetSupported>
      </basicCommandClass>
    </entry>
  </supportedCommandClasses>
  <securedCommandClasses/>
  <associationGroups>
    <entry>
      <int>1</int>
      <associationGroup>
        <index>1</index>
        <name>Lifeline</name>
        <profile1>0x0</profile1>
        <profile2>0x1</profile2>
        <commands>
          <commandClass>SENSOR_MULTILEVEL</commandClass>
          <commandClass>BATTERY</commandClass>
          <commandClass>ALARM</commandClass>
          <commandClass>DEVICE_RESET_LOCALLY</commandClass>
          <commandClass>BASIC</commandClass>
        </commands>
        <associations>
          <associationMember>
            <node>1</node>
            <endpoint>0</endpoint>
          </associationMember>
        </associations>
      </associationGroup>
    </entry>
  </associationGroups>
  <nodeNeighbors>
    <int>1</int>
    <int>20</int>
    <int>22</int>
    <int>23</int>
    <int>24</int>
    <int>28</int>
  </nodeNeighbors>
  <lastSent>2018-08-15 03:59:06.897 UTC</lastSent>
  <lastReceived>2018-08-15 03:43:27.943 UTC</lastReceived>
</node>

  • Tried Item Type as Contact and Number. No reaction.
  • Tamper alarm will properly report as ALARM when device is opened.
  • Binary Sensor never changes values

referencing the screenshot:
1 - never changes to a value - always blank
2 - always OK

My guess is that the binary sensor doesn’t do anything and I will remove it. I’ve also updated the database to fix the alarm report, so once this flows through the system in the next few days, it should sort itself out.

You will need to delete the thing and add it back once the binding is updated so that it picks up the latest definition.

Thanks Chris.

How will I know that it got updated? The binary sensor channel will be missing?

Yes, that will be a good sign. However it’s likely I won’t do the binding update until tomorrow or even Friday, so give it a day or two at least…

Just for clarity, what is the next step that I need to do to get these sensors operational – other than delete and re-add the thing in Habmin/PaperUI? Which binding will you be updating? Ty.

The ZWave binding is updated to include the new database. You need to be using the snapshot runtime, and then reinstall the binding.

Thank you. Done and done. Hey, my office lights now turn on when I walk in. Saved myself having to flip the switch. :slight_smile:

1 Like