cdjackson / HABmin

A web admin console for openHAB home automation
http://www.cd-jackson.com/index.php/openhab/habmin
217 stars 51 forks source link

Missing device in Product Database (Manufacturer Id: 0x86, Device Type: 0x2, Device ID: 0x64 #249

Closed rezethon closed 8 years ago

rezethon commented 9 years ago

Hello I have a Aeon Labs ZW100-C Multisensor 6 that is missing from the database. Could you please add it to the database? There is no xml on Pepper site but I think it should be no different than the one for U.S. market that is already in the database. Here is the data on the U.S. version including manual http://products.z-wavealliance.org/products/1390 My current xml:

<node>
  <deviceClass>
    <basicDeviceClass>ROUTING_SLAVE</basicDeviceClass>
    <genericDeviceClass>MULTILEVEL_SENSOR</genericDeviceClass>
    <specificDeviceClass>ROUTING_SENSOR_MULTILEVEL</specificDeviceClass>
  </deviceClass>
  <homeId>0xc11510d7</homeId>
  <nodeId>7</nodeId>
  <version>4</version>
  <manufacturer>0x86</manufacturer>
  <deviceId>0x64</deviceId>
  <deviceType>0x2</deviceType>
  <listening>true</listening>
  <frequentlyListening>false</frequentlyListening>
  <routing>true</routing>
  <supportedCommandClasses>
    <entry>
      <commandClass>CONFIGURATION</commandClass>
      <configurationCommandClass>
        <version>1</version>
        <instances>1</instances>
        <configParameters>
          <entry>
            <int>9</int>
            <configurationParameter>
              <index>9</index>
              <size>2</size>
              <value>0</value>
              <readOnly>false</readOnly>
              <writeOnly>false</writeOnly>
            </configurationParameter>
          </entry>
        </configParameters>
      </configurationCommandClass>
    </entry>
    <entry>
      <commandClass>NO_OPERATION</commandClass>
      <noOperationCommandClass>
        <version>1</version>
        <instances>1</instances>
      </noOperationCommandClass>
    </entry>
    <entry>
      <commandClass>SENSOR_BINARY</commandClass>
      <binarySensorCommandClass>
        <version>1</version>
        <instances>1</instances>
        <isGetSupported>true</isGetSupported>
      </binarySensorCommandClass>
    </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>MANUFACTURER_SPECIFIC</commandClass>
      <manufacturerSpecificCommandClass>
        <version>1</version>
        <instances>1</instances>
      </manufacturerSpecificCommandClass>
    </entry>
    <entry>
      <commandClass>ASSOCIATION</commandClass>
      <associationCommandClass>
        <version>1</version>
        <instances>1</instances>
        <configAssociations>
          <entry>
            <int>1</int>
            <associationGroup>
              <Index>1</Index>
              <Nodes>
                <int>1</int>
              </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>VERSION</commandClass>
      <versionCommandClass>
        <version>1</version>
        <instances>1</instances>
        <libraryType>LIB_SLAVE_ENHANCED</libraryType>
        <protocolVersion>4.5</protocolVersion>
        <applicationVersion>1.4</applicationVersion>
      </versionCommandClass>
    </entry>
    <entry>
      <commandClass>BASIC</commandClass>
      <basicCommandClass>
        <version>1</version>
        <instances>1</instances>
        <isGetSupported>true</isGetSupported>
      </basicCommandClass>
    </entry>
    <entry>
      <commandClass>WAKE_UP</commandClass>
      <WakeUpCommandClass>
        <version>2</version>
        <instances>1</instances>
        <targetNodeId>1</targetNodeId>
        <interval>3600</interval>
        <minInterval>240</minInterval>
        <maxInterval>3600</maxInterval>
        <defaultInterval>3600</defaultInterval>
        <intervalStep>60</intervalStep>
        <lastWakeup>2015-07-19 22:19:34.523 UTC</lastWakeup>
      </WakeUpCommandClass>
    </entry>
    <entry>
      <commandClass>SENSOR_MULTILEVEL</commandClass>
      <multiLevelSensorCommandClass>
        <version>5</version>
        <instances>1</instances>
        <sensors>
          <entry>
            <multilevelSensorType>RELATIVE_HUMIDITY</multilevelSensorType>
            <multilevelSensor>
              <sensorType>RELATIVE_HUMIDITY</sensorType>
              <initialised>true</initialised>
            </multilevelSensor>
          </entry>
          <entry>
            <multilevelSensorType>TEMPERATURE</multilevelSensorType>
            <multilevelSensor>
              <sensorType>TEMPERATURE</sensorType>
              <initialised>true</initialised>
            </multilevelSensor>
          </entry>
          <entry>
            <multilevelSensorType>ULTRAVIOLET</multilevelSensorType>
            <multilevelSensor>
              <sensorType>ULTRAVIOLET</sensorType>
              <initialised>true</initialised>
            </multilevelSensor>
          </entry>
          <entry>
            <multilevelSensorType>LUMINANCE</multilevelSensorType>
            <multilevelSensor>
              <sensorType>LUMINANCE</sensorType>
              <initialised>true</initialised>
            </multilevelSensor>
          </entry>
        </sensors>
        <isGetSupported>true</isGetSupported>
      </multiLevelSensorCommandClass>
    </entry>
  </supportedCommandClasses>
  <nodeNeighbors>
    <int>1</int>
    <int>4</int>
    <int>6</int>
  </nodeNeighbors>
  <lastSent>2015-07-19 22:46:55.19 UTC</lastSent>
  <lastReceived>2015-07-19 22:46:58.39 UTC</lastReceived>
  <applicationUpdateReceived>true</applicationUpdateReceived>
</node>
cdjackson commented 9 years ago

I'll have a look tonight. I think this was added recently, but the codes might be different (or maybe I just saw the request for it to be added - in any case, I'll take a look).

cdjackson commented 9 years ago

This is now added...

rezethon commented 9 years ago

Are you sure it's the correct one? It should be Multisensor 6 and it has 6 sensors. Check the link I provided. It also should have 25 parameters

rezethon commented 9 years ago

This one should be used https://github.com/cdjackson/openhab/blob/3e6cdd0587c07e0e1e1bdd8f7e3c8110fed446a8/bundles/binding/org.openhab.binding.zwave/database/aeon/zw100-a.xml

cdjackson commented 9 years ago

Thanks - as posted elsewhere I didn't have the time to add all parameters so only added the main configuration/associations last night (which should now be in todays snapshot). The number of sensors is not relevant for the XML file, and I just added some parameters...

I'll copy over the extra paramaters when I get home... Thanks.

rezethon commented 9 years ago

I think all you need to do is reference zw100-a.xml (which you already have) in products.xml Something like:

        <Product>
            <Reference>
                <Type>0002</Type>
                <Id>0064</Id>
            </Reference>
            <Model>ZW100-B</Model>
            <Label lang="en">MultiSensor 6 EU</Label>
            <ConfigFile>aeon/zw100-a.xml</ConfigFile>
        </Product>
cdjackson commented 9 years ago

Ok - I'll have a look - I didn't realise that someone had already added the zw100-a.xml file? I'm not sure why it would have been added without adding the reference to the products file but sorry if I missed it last night.

rezethon commented 9 years ago

Thanks Chris :)

cdjackson commented 9 years ago

I don't seem to have the zw100-a file already in the repo (I just checked) so I'll stick with the file I added yesterday... Will update tonight anyway.

rezethon commented 9 years ago

You do :) https://github.com/cdjackson/openhab/blob/3e6cdd0587c07e0e1e1bdd8f7e3c8110fed446a8/bundles/binding/org.openhab.binding.zwave/database/aeon/zw100-a.xml

And I've made a mistake with my sampe product code. It should be:

        <Product>
            <Reference>
                <Type>0002</Type>
                <Id>0064</Id>
            </Reference>
            <Model>ZW100-C</Model>
            <Label lang="en">MultiSensor 6 EU</Label>
            <ConfigFile>aeon/zw100-a.xml</ConfigFile>
        </Product>
cdjackson commented 9 years ago

Ok - so this file isn't merged so I don't see it in the repo - there doesn't even seem to be a PR for it, so it's a bit of a shame as we've now duplicated the effort :(. I think I'll still stick with the file I did last night now - I'm not sure where the other one is from... At the end of the day, the filename makes little difference...

The products file needs to be updated as well - what you have is the same as I added last night but I need to add more references...

rezethon commented 9 years ago

That's ok final effect is what matters. I'll test latest build this evening. Just one note. You call it 4 in 1 while it's actually 6 in 1 :) Finally I knew about the existence of U.S. Multisensor 6 in the database because with latest (5 days old I guess) cloudbees build of zwave binding it's there :)

cdjackson commented 9 years ago

Yes - you’re right. My repo was not synced, so I didn’t see the file… (I thought I’d synced up first, but clearly not).