How to call a DTH command from a WC piston


#1

Can someone point me to examples of, or give instruction on how to call a DTH command from a piston? I have a device that sometimes needs to be reset by a command defined inside a (custom) DTH, which I would like to automate. My quick searches here suggests it is possible with a custom DTH command that somehow gets exposed to WC, but I could not find sufficient details/examples to figure out how to do that. (My coding skills on DTH/groovy side are pretty basic.)

Thanks


#2

Here is my IR controller for wall unit ACs
They use DTH and here where you see the custom/device commands


#3

Ah, much easier than I thought. Thanks!