Z-Wave Interpretation Questions
Posted: Wed Nov 04, 2020 9:17 am
As part of improving my TRV plugin, I have embarked on an ambitious (for me!) side-project to develop a separate plugin to interpret (in a user friendly manner), incoming and outgoing Z-Wave commands.
I am using the Silicon Labs documentation to do this.
Example output includes:
My guess is:
Also looking to understand if you can tell the version of the command class being reported on. The Meter Command Class has five versions documented. If not, how is it determined?
In the examples above
If the Command Class and command aren't recognised, then the log will show e.g. :
Apart from being a standalone plugin which is a wrapper around the Z-Wave Interpreter method. This method returns a dictionary of the interpreted command so it can be embedded in any plugin that needs a detail understanding of an incoming or outgoing Indigo Z-wave message. This is how I intend to use it in my TRV plugin.
Another message that I have intercepted, has the following structure:
Another message, I have received is for a device not included in Indigo and as far as I can tell not in the Z-Stick [At least it isn't listed if I try and include a new Z-Wave device]:
Any guidance on the above questions would be appreciated.
I am using the Silicon Labs documentation to do this.
Example output includes:
- Code: Select all
2020-11-04 RCVD: '[1, 24, 0, 4, 0, 4, 18, 50, 2, 33, 100, 0, 50, 208, 95, 2, 26, 0, 50, 208, 57, 0, 0, 0, 0, 254]' from 'Power - APC 1500 UPS - Indigo iMac etc'
at 08:23:57.933 Z-Wave Command 'Report' not yet supported for Z-Wave Command Class 'Meter'
2020-11-04 SENT: '[1, 9, 0, 19, 119, 2, 49, 4, 37, 232, 104]' to 'T06 - Cloakroom - Spirit Thermostat'
at 08:36:54.847 Class: 'Multilevel Sensor', Command: 'Get'
2020-11-04 RCVD: '[1, 12, 0, 4, 0, 119, 6, 49, 5, 1, 66, 5, 191, 75]' from 'T06 - Cloakroom - Spirit Thermostat'
at 08:36:54.925 Class: 'Multilevel Sensor', Command: 'Report', Sensor: 'Air Temperature', Value: '14.71º C'
2020-11-04 RCVD: '[1, 9, 0, 4, 0, 86, 3, 32, 3, 0, 132]' from 'Utility Room Ceiling Light'
at 08:38:40.717 Class: 'Basic Command', Command: 'Report', value: '0' | False | 'Off'
My guess is:
- Controlling Node
- Frame Length
- ?
- ?
- ?
Also looking to understand if you can tell the version of the command class being reported on. The Meter Command Class has five versions documented. If not, how is it determined?
In the examples above
- Code: Select all
Z-Wave Command 'Report' not yet supported for Z-Wave Command Class 'Meter'
If the Command Class and command aren't recognised, then the log will show e.g. :
- Code: Select all
2020-11-04 RCVD: '[1, 12, 0, 4, 0, 102, 6, 67, 3, 1, 66, 2, 88, 206]' from 'T92 - Testing - Popp Thermostat'
at 08:30:03.479 Logic not yet programmed for Z-Wave Command: 'Thermostat Setpoint' and Z-Wave Command Class: 'Report'
Apart from being a standalone plugin which is a wrapper around the Z-Wave Interpreter method. This method returns a dictionary of the interpreted command so it can be embedded in any plugin that needs a detail understanding of an incoming or outgoing Indigo Z-wave message. This is how I intend to use it in my TRV plugin.
Another message that I have intercepted, has the following structure:
- Code: Select all
2020-11-04 RCVD: '[1, 20, 0, 4, 0, 30, 14, 250, 3, 71, 6, 69, 167, 5, 15, 229, 211, 67, 69, 167, 15, 55]' from 'Power - Yamaha NX-N500 Speakers'
at 08:22:43.219 Logic not yet programmed for Z-Wave Command Class: '250 [0xfa]'
Another message, I have received is for a device not included in Indigo and as far as I can tell not in the Z-Stick [At least it isn't listed if I try and include a new Z-Wave device]:
- Code: Select all
2020-11-04 RCVD: '[1, 10, 0, 4, 0, 123, 4, 70, 8, 0, 127, 191]' from '123 Unknown Indigo device'
at 08:30:13.818 Logic not yet programmed for Z-Wave Command: 'Climate Control Schedule' and Z-Wave Command Class: 'Override Report'
Any guidance on the above questions would be appreciated.