Z-Wave motion sensor: NODE 4: No database entry: Manufacturer:398 [ID:2,Type:1]

Get this message when I hi-jacked the motion sensor from my alarm-company. Apparently they are using z-wave :smile:

Now, what do I need to do in order to use this sensor with OpenHAB? Clearly there is a db entry missing somewhere, but I don’t know if that is important to interact with it.

I found this in etc/node4.xml

|node|
  |deviceClass|
    |basicDeviceClass|ROUTING_SLAVE|/basicDeviceClass|
    |genericDeviceClass|GARAGE_DOOR|/genericDeviceClass|
    |specificDeviceClass|SIMPLE_GARAGE_DOOR|/specificDeviceClass|
  |/deviceClass|
  |homeId|0xd1eea35f|/homeId|
  |nodeId|4|/nodeId|
  |version|4|/version|
  |manufacturer|0x18e|/manufacturer|
  |deviceId|0x2|/deviceId|
  |deviceType|0x1|/deviceType|
  |listening|false|/listening|
  |frequentlyListening|false|/frequentlyListening|
  |routing|true|/routing|
  |supportedCommandClasses|
    |entry|
      |commandClass|WAKE_UP|/commandClass|
      |WakeUpCommandClass|
        |version|2|/version|
        |instances|1|/instances|
        |targetNodeId|1|/targetNodeId|
        |interval|86400|/interval|
        |minInterval|60|/minInterval|
        |maxInterval|86400|/maxInterval|
        |defaultInterval|86400|/defaultInterval|
        |intervalStep|60|/intervalStep|
        |lastWakeup|2015-10-22 23:07:39.509 UTC|/lastWakeup|
      |/WakeUpCommandClass|
    |/entry|
    |entry|
      |commandClass|NO_OPERATION|/commandClass|
      |noOperationCommandClass|
        |version|1|/version|
        |instances|1|/instances|
      |/noOperationCommandClass|
    |/entry|
    |entry|
      |commandClass|VERSION|/commandClass|
      |versionCommandClass|
        |version|1|/version|
        |instances|1|/instances|
        |libraryType|LIB_SLAVE_ENHANCED|/libraryType|
        |protocolVersion|3.95|/protocolVersion|
        |applicationVersion|1.3|/applicationVersion|
      |/versionCommandClass|
    |/entry|
    |entry|
      |commandClass|BASIC|/commandClass|
      |basicCommandClass|
        |version|1|/version|
        |instances|1|/instances|
        |isGetSupported|true|/isGetSupported|
      |/basicCommandClass|
    |/entry|
    |entry|
      |commandClass|ASSOCIATION|/commandClass|
      |associationCommandClass|
        |version|1|/version|
        |instances|1|/instances|
        |configAssociations|
          |entry|
            |int|1|/int|
            |associationGroup|
              |Index|1|/Index|
              |Nodes/|
            |/associationGroup|
          |/entry|
        |/configAssociations|
        |maxGroups|1|/maxGroups|
      |/associationCommandClass|
    |/entry|
    |entry|
      |commandClass|ALARM|/commandClass|
      |alarmCommandClass|
        |version|1|/version|
        |instances|1|/instances|
        |alarms/|
        |isGetSupported|true|/isGetSupported|
      |/alarmCommandClass|
    |/entry|
    |entry|
      |commandClass|BATTERY|/commandClass|
      |batteryCommandClass|
        |version|1|/version|
        |instances|1|/instances|
        |batteryLevel|100|/batteryLevel|
        |batteryLow|false|/batteryLow|
        |isGetSupported|true|/isGetSupported|
      |/batteryCommandClass|
    |/entry|
    |entry|
      |commandClass|CONFIGURATION|/commandClass|
      |configurationCommandClass|
        |version|1|/version|
        |instances|1|/instances|
        |configParameters/|
      |/configurationCommandClass|
    |/entry|
    |entry|
      |commandClass|MANUFACTURER_SPECIFIC|/commandClass|
      |manufacturerSpecificCommandClass|
        |version|1|/version|
        |instances|1|/instances|
      |/manufacturerSpecificCommandClass|
    |/entry|
  |/supportedCommandClasses|
  |nodeNeighbors|
    |int|1|/int|
    |int|2|/int|
  |/nodeNeighbors|
  |lastSent|2015-10-22 23:07:39.750 UTC|/lastSent|
  |lastReceived|2015-10-22 23:07:39.810 UTC|/lastReceived|
  |applicationUpdateReceived|true|/applicationUpdateReceived|
|/node|

tried uploading node4.xml as attachment, but new users apparently cannot do that.

Please add an issue to the issue tracker and I’ll take a look at it when I get some time.

Ok, done!

I would love to link it directly from here, but as a “new user” I’m not allowed. Issue no 3341.

I’m just curious if you’d be able to offer me some pointers as to what changes are required to implement this. I would be happy to give it a go and create a pull request.

Thanks,
Geir

Take a look here. This describes the database format - any questions, just ask.

Chris