How do I Log RAW Z-wave bytes returned from a device?

I’ve an old Z-wave device and i suspect the drivers that im using is not parsing the data fields correctly and returning wrong data.

I found an old protocol guide and would like to look at the bytes return by my Z-wave device. It’s an old energy meter from Aeon.

I was hoping to use the parse() but im unfamiliar with this. Any guidance would be much appreciated!

Something like this?

void zwaveParse(String description) {
	hubitat.zwave.Command cmd = zwave.parse(description, commandClassVersions)

	if (cmd) {
		log.trace "parse: ${description} --PARSED-- ${cmd}"
		zwaveEvent(cmd)
	} else {
		log.warn "Unable to parse: ${description}"
	}
}

That logs the raw values and also the parsed values.
The full messages would just be the command + payload in one string.

Oh and let me know if you need any help, I have gotten pretty good with Zwave drivers.

1 Like

Write one for Schlage locks that include the alarm :stuck_out_tongue: I will send you beer

Does it actually send the message to the hub? Thats the Key.

I have been meaning to post and ask if anyone has any old locks they don't want anymore.

Yeah, it worked on ST and wink. At one point @mike.maxwell thought about it, but then they got removed from the list and he never readdressed it. It's come up a bit lately though.

See here Schlage BE469 Alerts for Wrong Code and Tamper Alarm

Thanks! That worked!