Author Topic: Z-Wave capabilities List  (Read 9797 times)

Armor Gnome

  • Guru
  • ****
  • Posts: 309
    • View Profile
Z-Wave capabilities List
« on: August 31, 2012, 11:31:18 pm »
Copied from micasa verde wiki.  I was hoping a lmce/zwave pro could take a look and verify these are the same numbers that web-admin displays?  I am troubleshooting a problem getting energy usage from a module and wanted to make sure it was configured properly.

On a ZWave's properties you'll find 2 values to show what the device can do:

Capabilities    209,140,0,4,17,1|38,39,112,114,115,117,134,
Version    6,1,91,3,11

The first 6 numbers in capabilities are what is reported by the ZWave ZW_GetNodeProtocolInfo function (0x41): Capability, Security, Reserved, Basic Device Class (, Generic Device Class, Specific Device Class. If the Capability is >= 128 then the device listens for commands, otherwise it's a battery operated device that only wakes up occasionally.

The version is what's reported by the COMMAND_CLASS_VERSION command VERSION_REPORT. There are 5 values: Z-Wave Library Type, Z-Wave Protocol Version, Z-Wave Protocol Sub Version, Application Version, Application Sub Version. The Application version is specific to the device and not defined by Z-Wave.

The library types are:

C
ONTROLLER_STATIC               1
CONTROLLER                               2
SLAVE_ENHANCED                       3
SLAVE                                       4
INSTALLER                                  5
SLAVE_ROUTING                          6
CONTROLLER_BRIDGE                   7
DUT                                          8



Alphabetical Name                                                                    Hex Dec     Numeric

COMMAND_CLASS_ALARM                                                                  0x71     113
COMMAND_CLASS_APPLICATION_STATUS                                          0x22      34
COMMAND_CLASS_ASSOCIATION_COMMAND_CONFIGURATION                  0x9B     155
COMMAND_CLASS_ASSOCIATION                                                          0x85     133
COMMAND_CLASS_ASSOCIATION_V2                                                  0x85    133
COMMAND_CLASS_AV_CONTENT_DIRECTORY_MD                                  0x95    149
COMMAND_CLASS_AV_CONTENT_SEARCH_MD                                          0x97    151
COMMAND_CLASS_AV_RENDERER_STATUS                                          0x96    150
COMMAND_CLASS_AV_TAGGING_MD                                                  0x99    153
COMMAND_CLASS_BASIC_WINDOW_COVERING                                  0x50    80
COMMAND_CLASS_BASIC                                                                  0x20    32
COMMAND_CLASS_BATTERY                                                                  0x80    128
COMMAND_CLASS_CHIMNEY_FAN                                                           0x2A    42
COMMAND_CLASS_CLIMATE_CONTROL_SCHEDULE                                   0x46    70
COMMAND_CLASS_CLOCK                                                                   0x81    129
COMMAND_CLASS_COMPOSITE                                                        0x8D    141
COMMAND_CLASS_CONFIGURATION                                                 0x70    112
COMMAND_CLASS_CONFIGURATION_V2                                                 0x70    112
COMMAND_CLASS_CONTROLLER_REPLICATION                                         0x21    33
COMMAND_CLASS_DOOR_LOCK                                                         0x62    98
COMMAND_CLASS_DOOR_LOCK_LOGGING                                          0x4C    76
COMMAND_CLASS_ENERGY_PRODUCTION                                         0x90    144
COMMAND_CLASS_FIRMWARE_UPDATE_MD                                         0x7A    122
COMMAND_CLASS_GEOGRAPHIC_LOCATION                                         0x8C    140
COMMAND_CLASS_GROUPING_NAME                                                0x7B    123
COMMAND_CLASS_HAIL                                                                0x82    130
COMMAND_CLASS_INDICATOR                                                        0x87    135
COMMAND_CLASS_IP_CONFIGURATION                                                0x9A    154
COMMAND_CLASS_LANGUAGE                                                        0x89    137
COMMAND_CLASS_LOCK                                                                0x76    118
COMMAND_CLASS_MANUFACTURER_PROPRIETARY                                0x91    145
COMMAND_CLASS_MANUFACTURER_SPECIFIC                                         0x72    114
COMMAND_CLASS_MARK                                                                 0xEF    239
COMMAND_CLASS_METER_PULSE                                                         0x35    53
COMMAND_CLASS_METER                                                                 0x32    50
COMMAND_CLASS_MTP_WINDOW_COVERING                                         0x51    81
COMMAND_CLASS_MULTI_CHANNEL_ASSOCIATION_V2                         0x8E    142
COMMAND_CLASS_MULTI_CHANNEL_V2                                                 0x60    96
COMMAND_CLASS_MULTI_CMD                                                         0x8F    143
COMMAND_CLASS_MULTI_INSTANCE_ASSOCIATION                                 0x8E    142
COMMAND_CLASS_MULTI_INSTANCE                                                 0x60    96
COMMAND_CLASS_NO_OPERATION                                                         0x00    0
COMMAND_CLASS_NODE_NAMING                                                         0x77    119
COMMAND_CLASS_NON_INTEROPERABLE                                         0xF0    240
COMMAND_CLASS_POWERLEVEL                                                         0x73    115
COMMAND_CLASS_PROPRIETARY                                                         0x88    136
COMMAND_CLASS_PROTECTION                                                         0x75    117
COMMAND_CLASS_PROTECTION_V2                                                 0x75    117
COMMAND_CLASS_REMOTE_ASSOCIATION_ACTIVATE                         0x7C    124
COMMAND_CLASS_REMOTE_ASSOCIATION                                         0x7D    125
COMMAND_CLASS_SCENE_ACTIVATION                                                 0x2B    43
COMMAND_CLASS_SCENE_ACTUATOR_CONF                                         0x2C    44
COMMAND_CLASS_SCENE_CONTROLLER_CONF                                         0x2D    45
COMMAND_CLASS_SCHEDULE_ENTRY_LOCK                                         0x4E    78
COMMAND_CLASS_SCREEN_ATTRIBUTES                                                 0x93    147
COMMAND_CLASS_SCREEN_ATTRIBUTES_V2                                         0x93    147
COMMAND_CLASS_SCREEN_MD                                                         0x92    146
COMMAND_CLASS_SCREEN_MD_V2                                                 0x92    146
COMMAND_CLASS_SECURITY                                                         0x98    152
COMMAND_CLASS_SENSOR_ALARM                                                 0x9C    156
COMMAND_CLASS_SENSOR_BINARY                                                 0x30    48
COMMAND_CLASS_SENSOR_CONFIGURATION                                         0x9E    158
COMMAND_CLASS_SENSOR_MULTILEVEL                                                 0x31    49
COMMAND_CLASS_SENSOR_MULTILEVEL_V2                                         0x31    49
COMMAND_CLASS_SILENCE_ALARM                                                 0x9D    157
COMMAND_CLASS_SIMPLE_AV_CONTROL                                                 0x94    148
COMMAND_CLASS_SWITCH_ALL                                                         0x27    39
COMMAND_CLASS_SWITCH_BINARY                                                 0x25    37
COMMAND_CLASS_SWITCH_MULTILEVEL                                                 0x26    38
COMMAND_CLASS_SWITCH_MULTILEVEL_V2                                         0x26    38
COMMAND_CLASS_SWITCH_TOGGLE_BINARY                                         0x28    40
COMMAND_CLASS_SWITCH_TOGGLE_MULTILEVEL                                 0x29    41
COMMAND_CLASS_THERMOSTAT_FAN_MODE                                         0x44    68
COMMAND_CLASS_THERMOSTAT_FAN_STATE                                         0x45    69
COMMAND_CLASS_THERMOSTAT_HEATING                                         0x38    56
COMMAND_CLASS_THERMOSTAT_MODE                                                 0x40    64
COMMAND_CLASS_THERMOSTAT_OPERATING_STATE                                 0x42    66
COMMAND_CLASS_THERMOSTAT_SETBACK                                         0x47    71
COMMAND_CLASS_THERMOSTAT_SETPOINT                                         0x43    67
COMMAND_CLASS_TIME_PARAMETERS                                                 0x8B    139
COMMAND_CLASS_TIME                                                                 0x8A    138
COMMAND_CLASS_USER_CODE                                                         0x63    99
COMMAND_CLASS_VERSION                                                                 0x86    134
COMMAND_CLASS_WAKE_UP                                                                 0x84    132
COMMAND_CLASS_WAKE_UP_V2                                                         0x84    132
COMMAND_CLASS_ZIP_ADV_CLIENT                                                 0x34    52
COMMAND_CLASS_ZIP_ADV_SERVER                                                 0x33    51
COMMAND_CLASS_ZIP_ADV_SERVICES                                                 0x2F    47
COMMAND_CLASS_ZIP_CLIENT                                                         0x2E    46
COMMAND_CLASS_ZIP_SERVER                                                         0x24    36
COMMAND_CLASS_ZIP_SERVICES                                                         0x23    35

And here again listed by number.  Sorry but hand is sore from the above formating.


Name                                                                             Hex Dec         Numeric
COMMAND_CLASS_NO_OPERATION    0x00    0
COMMAND_CLASS_BASIC    0x20    32
COMMAND_CLASS_CONTROLLER_REPLICATION    0x21    33
COMMAND_CLASS_APPLICATION_STATUS    0x22    34
COMMAND_CLASS_ZIP_SERVICES    0x23    35
COMMAND_CLASS_ZIP_SERVER    0x24    36
COMMAND_CLASS_SWITCH_BINARY    0x25    37
COMMAND_CLASS_SWITCH_MULTILEVEL    0x26    38
COMMAND_CLASS_SWITCH_MULTILEVEL_V2    0x26    38
COMMAND_CLASS_SWITCH_ALL    0x27    39
COMMAND_CLASS_SWITCH_TOGGLE_BINARY    0x28    40
COMMAND_CLASS_SWITCH_TOGGLE_MULTILEVEL    0x29    41
COMMAND_CLASS_CHIMNEY_FAN    0x2A    42
COMMAND_CLASS_SCENE_ACTIVATION    0x2B    43
COMMAND_CLASS_SCENE_ACTUATOR_CONF    0x2C    44
COMMAND_CLASS_SCENE_CONTROLLER_CONF    0x2D    45
COMMAND_CLASS_ZIP_CLIENT    0x2E    46
COMMAND_CLASS_ZIP_ADV_SERVICES    0x2F    47
COMMAND_CLASS_SENSOR_BINARY    0x30    48
COMMAND_CLASS_SENSOR_MULTILEVEL    0x31    49
COMMAND_CLASS_SENSOR_MULTILEVEL_V2    0x31    49
COMMAND_CLASS_METER    0x32    50
COMMAND_CLASS_ZIP_ADV_SERVER    0x33    51
COMMAND_CLASS_ZIP_ADV_CLIENT    0x34    52
COMMAND_CLASS_METER_PULSE    0x35    53
COMMAND_CLASS_METER_TBL_CONFIG    0x3C    53
COMMAND_CLASS_METER_TBL_MONITOR    0x3D    53
COMMAND_CLASS_METER_TBL_PUSH    0x3E    53
COMMAND_CLASS_THERMOSTAT_HEATING    0x38    56
COMMAND_CLASS_THERMOSTAT_MODE    0x40    64
COMMAND_CLASS_THERMOSTAT_OPERATING_STATE    0x42    66
COMMAND_CLASS_THERMOSTAT_SETPOINT    0x43    67
COMMAND_CLASS_THERMOSTAT_FAN_MODE    0x44    68
COMMAND_CLASS_THERMOSTAT_FAN_STATE    0x45    69
COMMAND_CLASS_CLIMATE_CONTROL_SCHEDULE    0x46    70
COMMAND_CLASS_THERMOSTAT_SETBACK    0x47    71
COMMAND_CLASS_DOOR_LOCK_LOGGING    0x4C    76
COMMAND_CLASS_SCHEDULE_ENTRY_LOCK    0x4E    78
COMMAND_CLASS_BASIC_WINDOW_COVERING    0x50    80
COMMAND_CLASS_MTP_WINDOW_COVERING    0x51    81
COMMAND_CLASS_MULTI_CHANNEL_V2    0x60    96
COMMAND_CLASS_MULTI_INSTANCE    0x60    96
COMMAND_CLASS_DOOR_LOCK    0x62    98
COMMAND_CLASS_USER_CODE    0x63    99
COMMAND_CLASS_CONFIGURATION    0x70    112
COMMAND_CLASS_CONFIGURATION_V2    0x70    112
COMMAND_CLASS_ALARM    0x71    113
COMMAND_CLASS_MANUFACTURER_SPECIFIC    0x72    114
COMMAND_CLASS_POWERLEVEL    0x73    115
COMMAND_CLASS_PROTECTION    0x75    117
COMMAND_CLASS_PROTECTION_V2    0x75    117
COMMAND_CLASS_LOCK    0x76    118
COMMAND_CLASS_NODE_NAMING    0x77    119
COMMAND_CLASS_FIRMWARE_UPDATE_MD    0x7A    122
COMMAND_CLASS_GROUPING_NAME    0x7B    123
COMMAND_CLASS_REMOTE_ASSOCIATION_ACTIVATE    0x7C    124
COMMAND_CLASS_REMOTE_ASSOCIATION    0x7D    125
COMMAND_CLASS_BATTERY    0x80    128
COMMAND_CLASS_CLOCK    0x81    129
COMMAND_CLASS_HAIL    0x82    130
COMMAND_CLASS_WAKE_UP    0x84    132
COMMAND_CLASS_WAKE_UP_V2    0x84    132
COMMAND_CLASS_ASSOCIATION    0x85    133
COMMAND_CLASS_ASSOCIATION_V2    0x85    133
COMMAND_CLASS_VERSION    0x86    134
COMMAND_CLASS_INDICATOR    0x87    135
COMMAND_CLASS_PROPRIETARY    0x88    136
COMMAND_CLASS_LANGUAGE    0x89    137
COMMAND_CLASS_TIME    0x8A    138
COMMAND_CLASS_TIME_PARAMETERS    0x8B    139
COMMAND_CLASS_GEOGRAPHIC_LOCATION    0x8C    140
COMMAND_CLASS_COMPOSITE    0x8D    141
COMMAND_CLASS_MULTI_CHANNEL_ASSOCIATION_V2    0x8E    142
COMMAND_CLASS_MULTI_INSTANCE_ASSOCIATION    0x8E    142
COMMAND_CLASS_MULTI_CMD    0x8F    143
COMMAND_CLASS_ENERGY_PRODUCTION    0x90    144
COMMAND_CLASS_MANUFACTURER_PROPRIETARY    0x91    145
COMMAND_CLASS_SCREEN_MD    0x92    146
COMMAND_CLASS_SCREEN_MD_V2    0x92    146
COMMAND_CLASS_SCREEN_ATTRIBUTES    0x93    147
COMMAND_CLASS_SCREEN_ATTRIBUTES_V2    0x93    147
COMMAND_CLASS_SIMPLE_AV_CONTROL    0x94    148
COMMAND_CLASS_AV_CONTENT_DIRECTORY_MD    0x95    149
COMMAND_CLASS_AV_RENDERER_STATUS    0x96    150
COMMAND_CLASS_AV_CONTENT_SEARCH_MD    0x97    151
COMMAND_CLASS_SECURITY    0x98    152
COMMAND_CLASS_AV_TAGGING_MD    0x99    153
COMMAND_CLASS_IP_CONFIGURATION    0x9A    154
COMMAND_CLASS_ASSOCIATION_COMMAND_CONFIGURATION    0x9B    155
COMMAND_CLASS_SENSOR_ALARM    0x9C    156
COMMAND_CLASS_SILENCE_ALARM    0x9D    157
COMMAND_CLASS_SENSOR_CONFIGURATION    0x9E    158
COMMAND_CLASS_MARK    0xEF    239
COMMAND_CLASS_NON_INTEROPERABLE    0xF0    240
I made a wiki!  Click here to check out my system.

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Z-Wave capabilities List
« Reply #1 on: September 01, 2012, 09:01:36 pm »
I'm not exactly sure what you're trying to tell us with the post... It would really help if you could state what exact device you're using, how it is configured (config params), what you would expect it to do and how it is behaving differently from that.
rock your home - http://www.agocontrol.com home automation

Armor Gnome

  • Guru
  • ****
  • Posts: 309
    • View Profile
Re: Z-Wave capabilities List
« Reply #2 on: September 01, 2012, 10:58:53 pm »
Thanks Hari,

I have an Aeon Labs Smart Energy switch.  When I select Web-Admin>Automation>Show Energy Usage I get an error saying it cannot find the database.

To troubleshoot this I first went on the assumption that the switch was not detected as a energy meter so the database wasn't installed.  To test this theory I needed to know the above codes were.  Using that I looked up the codes showing in device data for this switch.  If none of the numbers in device data list equated to energy meter I would be correct. 

The above number meanings tell me that the switch is detected as both a switch and an energy meter but ONLY if that list is the same as the one LMCE uses for its device data.  I wanted to move on in troubleshooting so posted the above to confirm.

My next step will be to try and figure out where Web-Admin>Automation>Show Energy Usage points to.  If it is a pathname I can follow it until I see other db directories.  This would test another assumption that the link is wrong and energy usage db does exist. 

If both of the above options are checked out then my troubleshooting ability is expended and I would then ask for help with sqlCVS lookups.  Device Tree>Dcerouter>show entire log, shows that the device is changing usage info about 15 times a minute but is not clear if this is being logged anywhere.  How a switch in the off position is changing usage is another mystery I will need to figure out.
I made a wiki!  Click here to check out my system.

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Z-Wave capabilities List
« Reply #3 on: September 02, 2012, 11:46:44 am »
I think that stuff (not added by me) just tracks on/off events and then cumulates the configured Watt setting of any device. But we also support true energy meter reading with the AEON Labs HEM. Adding this unit will deliver values to the data logger.
For your device there is some code missing. It needs to be queried. You can send me a unit (working on EU frequencies) for my demo lab if you want it supported.
rock your home - http://www.agocontrol.com home automation

Armor Gnome

  • Guru
  • ****
  • Posts: 309
    • View Profile
Re: Z-Wave capabilities List
« Reply #4 on: September 03, 2012, 12:39:22 pm »
So my options are:

1.Enter my best guess for watt usage on that switch into device data.
2.Buy a HEM.
3.Buy you a European unit.
4.(Add the code myself)

1?  DCE router log shows energy usage changes when the switch state hasn't changed.  Adding a guess into wattage in device data would guess my watt usage based on time in the 'on' position I assume?  This would give me historical guess data but don't think it would resolve the constant unhandled socket communications.

2?  Are you saying that by adding a HEM, my system will then be able to write data from my switch to the log, or that it would right data from the HEM to a log?  If the former is correct could I just add a faux HEM to my device tree so that data logging would activate?

3?  I would if I could.  Alternatively, could I send you my US AEON Labs USB stick, my US AEON Labs smart energy switch and my US inclusion controller and return postage?  I would be without z-wave a while until you found time for it but I survived 30+ years of reaching for a light switch, I'm sure I can manage.  :)

4?  Since the device is reporting changes that dcerouter is able to understand (mostly) then I may be able to add code to get this data to the logger.  Perhaps a plugin that gets energy usage changes from dcerouter and throws them into a txt file?  Alternatively, do you know of a way I can tell a z-wave device to stop reporting and just act like an on/off switch.  Given other option $/time costs, I don't need energy monitoring and would be happy with on/off and a clean log.

I made a wiki!  Click here to check out my system.

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Z-Wave capabilities List
« Reply #5 on: September 03, 2012, 10:54:23 pm »
re 1), yes

re 2), the HEM data will be logged by the data logger plugin. That would be completely separate from the switch.

shipping back and forth for 3) would probably be more expensive than the unit itself..

I did look at the code and I do request multilevel sensor data on polling, but I send it to the broadcast address. Maybe the unit does not honor that.. Would you be available for a debug session in IRC? But I will need ssh access to your core, that would speed up things.

rock your home - http://www.agocontrol.com home automation

Armor Gnome

  • Guru
  • ****
  • Posts: 309
    • View Profile
Re: Z-Wave capabilities List
« Reply #6 on: September 03, 2012, 11:16:03 pm »
Wrapping up a long holiday weekend of remodeling.  Once I recover I can spend some time with you on this.

No problem at all setting up ssh permissions for you, I will need to do some reading to make sure I understand that process before I use any of your IRC time.  How does Thurs/Friday sound?
I made a wiki!  Click here to check out my system.

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Z-Wave capabilities List
« Reply #7 on: September 04, 2012, 12:13:28 am »
what's your nick on irc?
rock your home - http://www.agocontrol.com home automation

Armor Gnome

  • Guru
  • ****
  • Posts: 309
    • View Profile
Re: Z-Wave capabilities List
« Reply #8 on: September 04, 2012, 06:20:42 am »
Armorgnome. 

I usually get on fairly late in (my time) -5 GMT.  I will catch up with you but it means moving some things around to devote time in the morning.

The more I think about it the more I have to laugh at the shipping back and forth to you would probably cost more than the device.  However, tv aside this is the most expensive device in my linuxmce setup.  Typically my limit on buying new hardware is around $20.  I really should grab old receipts and see if I can ballpark a total build cost.  Willing to bet it's way below $300 (tv excluded).
I made a wiki!  Click here to check out my system.