Aeotec Zwave TRV Parameter

Have not really dipped in to the world of Groovy so I’m hoping someone can assist.

On the Aeotec TRV you can set certain features in particular the LCD Invert parameter by passing a value to the TRV.

In the Aeotec guide it lists it as:
(http://manuals-backend.z-wave.info/make.php?lang=en&sku=4251295701387&cert=ZC10-19086734)

Parameter 1: LCD invert
Inverts the LCD orientation
Size: 1 Byte, Default Value: 0

Setting Description
0 Normal orientation
1 LCD content inverted

What would this be in Groovy.
Any help appreciated

You’d have to write a device handler for it, if one doesn’t exist (I didn’t check), and in the configuration section you’d set those parameters up. Here’s a sample zwave device from ST’s older, but still sometimes useful, documentation:

https://docs.smartthings.com/en/latest/device-type-developers-guide/z-wave-example.html

Go all the way to the bottom and look for the section titled “def configure()”.

For the TVR, you’d have a line like this to invert the LCD:

zwave.configurationV1.configurationSet(parameterNumber:1, size:1, scaledConfigurationValue:1).format()

EDIT:

Looks like the Hubitat community has a DTH for their hub. You could take theirs and port it over to ST: (these may be the same)

Maybe where it says “def zwaveEvent(hubitat”, try changing that to “def zwaveEvent(physicalgraph”. It’s worth a shot.

https://raw.githubusercontent.com/kkossev/Hubitat/main/Aeotec%20eTRV%20(KK%20mod).groovy
https://raw.githubusercontent.com/djashjones/Hubitat/e20a8e35f6598036209333f917387dca06083f91/Drivers/Aeotec%20eTRV.src/Aeotec%20eTRV.groovy

2 Likes

Thanks but this is all way above my current knowledge, I’ll just run it on the standard z-wave dh for now.

1 Like