Newbie question - how to add a ZWave device that is not in a database?

Hi

I have just received a Smart Home SM-PZ701U Z-wave plug (US version, from AliExpress). It was detected by my Z Stick and appeared in HABmin devices list as Z-Wave Node 4 (0000:0003:0002:1.39).

So how am I supposed to use it? Can you please tell me how to create an entry in a .things file or add the device to the online database? Sorry, the current topics I have found are not clear for me - I am just beginning using OpenHAB. BTW where to get the XML file for this device (in Openhabian)?

Here are the attributes for it:
Manufacturer: Sigma Designs (Former Zensys)
Type / ID: 0003:0002
Firmware Version: 1.39
Z-Wave Plus Node Type: ON_OFF_POWER_SWITCH
Basic Class: ROUTING_SLAVE
Generic Class: BINARY_SWITCH
Specific Class: POWER_SWITCH_BINARY
Using Security: ?
Routing: V
Listening: V
Frequently listening: X
Beaming: V

Thanks in advance
Ilya

You have to do it via http://www.cd-jackson.com/

chris is the master of the binding and will add new devices if he gets the needed informations through this page

Work perfectly and very fast.

I just got a Zooz ZSE09 which OH2 seems to not yet recognize.

But, it is listed on http://www.cd-jackson.com/index.php/zwave/zwave-device-database/zwave-device-list/devicesummary/584#endpoints

That it’s listed there doesn’t mean it should work?

Are you on OH2 with a recent version of the zwave binding (post 7 Oct)?

I’m using OH2 from the latest Ubuntu distribution release according to apt-get upgrade. I find it odd that there’s nowhere in the PaperUI that actually tells me what my OH2 release version is. I can see versions for the Add-Ons, but not for the system itself?

Paper UI says I’m using binding-zwave - 2.1.0 which seems to be the latest in the Ubuntu apt-get repository?

If you are using the release version, then 2.1 is the current version and what you see in PaperUI is therefore correct.

If you are after a more recent version, then you need to be using the snapshot version.

I’m using the current version of OH2, but want to use the newest version of just the Zwave binding for the new items (I thought the binding checked your server, I didn’t realize they’re compiled into the binding).

According to http://docs.openhab.org/installation/linux.html#file-locations, I should see the addons in /usr/share/openhab2/addons, but it’s not there. Running a find on my system shows me a bunch of other versions, but I can’t really tell which one it’s actually using. Just dropping the jar file into /usr/share/openhab2/addons doesn’t seem to help.

This is where the docs are severely lacking. If I’m running OH2 and I’m told to upgrade a binding, how do I actually do that now? It was clear in OH1.

OK, I think I updated properly following the instructions here: How to upgrade Zwave-Binding to latest Snapshot?

openhab> bundle:list |grep -i zwave
230 | Active | 80 | 2.2.0.201711121147 | ZWave Binding

However, no joy. The device is still unknown.

I found the XML file for it. How can I tell if I need to submit it as a new device?

/var/lib/openhab2/zwave# cat node49.xml 
<node>
  <deviceClass>
    <basicDeviceClass>ROUTING_SLAVE</basicDeviceClass>
    <genericDeviceClass>SENSOR_NOTIFICATION</genericDeviceClass>
    <specificDeviceClass>NOTIFICATION_SENSOR</specificDeviceClass>
  </deviceClass>
  <homeId>0x18511bd</homeId>
  <nodeId>49</nodeId>
  <version>4</version>
  <manufacturer>0x27a</manufacturer>
  <deviceId>0x83</deviceId>
  <deviceType>0x3</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>POWERLEVEL</commandClass>
    <commandClass>BATTERY</commandClass>
    <commandClass>SENSOR_MULTILEVEL</commandClass>
    <commandClass>ALARM</commandClass>
    <commandClass>SENSOR_BINARY</commandClass>
    <commandClass>CONFIGURATION</commandClass>
    <commandClass>ASSOCIATION</commandClass>
    <commandClass>ASSOCIATION_GROUP_INFO</commandClass>
    <commandClass>WAKE_UP</commandClass>
  </nodeInformationFrame>
  <supportedCommandClasses>
    <entry>
      <commandClass>BASIC</commandClass>
      <basicCommandClass>
        <version>1</version>
        <instances>1</instances>
        <versionSupported>1</versionSupported>
        <isGetSupported>true</isGetSupported>
      </basicCommandClass>
    </entry>
    <entry>
      <commandClass>ASSOCIATION</commandClass>
      <associationCommandClass>
        <version>2</version>
        <instances>1</instances>
        <versionSupported>2</versionSupported>
        <maxGroups>4</maxGroups>
      </associationCommandClass>
    </entry>
    <entry>
      <commandClass>ASSOCIATION_GROUP_INFO</commandClass>
      <associationGroupInfoCommandClass>
        <version>1</version>
        <instances>1</instances>
        <versionSupported>1</versionSupported>
        <autoSubscribeGroups>
          <int>1</int>
          <int>3</int>
          <int>4</int>
        </autoSubscribeGroups>
      </associationGroupInfoCommandClass>
    </entry>
    <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>300</minInterval>
        <maxInterval>16777200</maxInterval>
        <defaultInterval>43200</defaultInterval>
        <intervalStep>60</intervalStep>
        <lastWakeup>2017-11-16 02:04:50.936 UTC</lastWakeup>
        <isGetSupported>true</isGetSupported>
      </WakeUpCommandClass>
    </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>
        </sensors>
        <isGetSupported>true</isGetSupported>
      </multiLevelSensorCommandClass>
    </entry>
    <entry>
      <commandClass>MANUFACTURER_SPECIFIC</commandClass>
      <manufacturerSpecificCommandClass>
        <version>1</version>
        <instances>1</instances>
        <versionSupported>2</versionSupported>
        <initSerialNumber>false</initSerialNumber>
        <deviceManufacturer>634</deviceManufacturer>
        <deviceType>3</deviceType>
        <deviceId>131</deviceId>
      </manufacturerSpecificCommandClass>
    </entry>
    <entry>
      <commandClass>VERSION</commandClass>
      <versionCommandClass>
        <version>2</version>
        <instances>1</instances>
        <versionSupported>2</versionSupported>
        <libraryType>LIB_SLAVE_ROUTING</libraryType>
        <protocolVersion>4.5</protocolVersion>
        <applicationVersion>3.80</applicationVersion>
        <hardwareVersion>66</hardwareVersion>
      </versionCommandClass>
    </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>CONFIGURATION</commandClass>
      <configurationCommandClass>
        <version>1</version>
        <instances>1</instances>
        <versionSupported>1</versionSupported>
        <configParameters/>
      </configurationCommandClass>
    </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>8</int>
              </reportedEvents>
              <outer-class reference="../../../.."/>
            </alarmState>
          </entry>
        </alarms>
        <v1Supported>true</v1Supported>
        <isGetSupported>true</isGetSupported>
      </alarmCommandClass>
    </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>DEVICE_RESET_LOCALLY</commandClass>
      <deviceResetLocallyCommandClass>
        <version>1</version>
        <instances>1</instances>
        <versionSupported>1</versionSupported>
      </deviceResetLocallyCommandClass>
    </entry>
    <entry>
      <commandClass>NO_OPERATION</commandClass>
      <noOperationCommandClass>
        <version>1</version>
        <instances>1</instances>
        <versionSupported>1</versionSupported>
      </noOperationCommandClass>
    </entry>
    <entry>
      <commandClass>SENSOR_BINARY</commandClass>
      <binarySensorCommandClass>
        <version>2</version>
        <instances>1</instances>
        <versionSupported>2</versionSupported>
        <isGetSupported>true</isGetSupported>
        <types>
          <binarySensorType>MOTION</binarySensorType>
        </types>
      </binarySensorCommandClass>
    </entry>
  </supportedCommandClasses>
  <securedCommandClasses/>
  <associationGroups>
    <entry>
      <int>1</int>
      <associationGroup>
        <index>1</index>
        <name>Lifeline</name>
        <profile1>0x0</profile1>
        <profile2>0x1</profile2>
        <commands>
          <commandClass>ALARM</commandClass>
          <commandClass>BATTERY</commandClass>
          <commandClass>DEVICE_RESET_LOCALLY</commandClass>
          <commandClass>SENSOR_MULTILEVEL</commandClass>
          <commandClass>SENSOR_BINARY</commandClass>
        </commands>
        <associations/>
      </associationGroup>
    </entry>
    <entry>
      <int>2</int>
      <associationGroup>
        <index>2</index>
        <name>Sensor Basic Set</name>
        <profile1>0x71</profile1>
        <profile2>0x7</profile2>
        <commands>
          <commandClass>BASIC</commandClass>
        </commands>
        <associations/>
      </associationGroup>
    </entry>
    <entry>
      <int>3</int>
      <associationGroup>
        <index>3</index>
        <name>Sensor notifi rep</name>
        <profile1>0x71</profile1>
        <profile2>0x7</profile2>
        <commands>
          <commandClass>ALARM</commandClass>
        </commands>
        <associations/>
      </associationGroup>
    </entry>
    <entry>
      <int>4</int>
      <associationGroup>
        <index>4</index>
        <name>Sensor notifi rep</name>
        <profile1>0x71</profile1>
        <profile2>0x7</profile2>
        <commands>
          <commandClass>SENSOR_BINARY</commandClass>
        </commands>
        <associations/>
      </associationGroup>
    </entry>
  </associationGroups>
  <nodeNeighbors>
    <int>21</int>
    <int>24</int>
    <int>44</int>
    <int>46</int>
  </nodeNeighbors>
  <lastSent>2017-11-16 02:04:51.937 UTC</lastSent>
  <lastReceived>2017-11-16 02:04:52.79 UTC</lastReceived>

What is the device? Is it ZSE09? Looking at the database it seems to me that either Zooz changed their IDs around, or someone has entered data into the database incorrectly.

Yes, it’s a ZSE09.

I will swap the values around - I’m pretty sure whoever added did it wrong…

Thanks. I’ll try it again tomorrow if the update is ready.

It probably won’t be tomorrow - I’ll likely do a binding update tomorrow night, so Saturday it should be available.

1 Like

That’s still a whole lot faster than the 3-12 months I’d have to wait for SmartThings to do an update, IF they chose to do one. :grinning:

1 Like

I’m the guy that tried to get zse09 working initally, and tried to creat it in the database. I never did (on OH2). I’ve had to stick with OH1. I’d love to try to get it working in OH2 again. And I’d be thrilled to know I did something wrong that is correctable. BTW, probably deserves a new thread but… shouldn’t there be a way to mark in the database once something is tested and working? I tend to look to see if something is in the database before buying it. But it really sucks to buy something in the database, only to find out it never got working.

1 Like