chrisb
(Chrisb)
June 25, 2014, 4:32pm
2
It’s kinda a lengthy thread, but we had some discussion about the AEON power strip here:
@jwu hi again
Device handler below is working for me as for as ON/OF of individual relays is concerned. Tiles for the individual relay (switch2 for relay1) changes colour too. Value tiles for power and energy update when I hit refresh.
Here is what I need to fix/incorporate.
A) I want to be able to update state (ON/OF) of all tiles when any one tile changes state.
B) I also want to update all power and energy tiles when A happens
can you help? I tried calling refresh() in on1() but then only refresh gets called, first part of the code does not trigger the switch.
def on1() {
delayBetween([
zwave.multiChannelV3.multiChannelCmdEncap(sourceEndPoint:1, destinationEndPoint:1, commandClass:37, command:1, parameter:[255]).format(),
zwave.multiChannelV3.multiChannelCmdEncap(sourceEndPoi…
It’s a device, like your relay, that has multiple channels (in this case, 4). There’s some examples of device type code in there that you might be able to use.