The commands i use are like this:
HIDRO1:1;
HIDRO1:0;
HIDRO1:?;
There is no CR/LF. The RS485 controller detects the semicolon as the end of command and it works.
Now, my question is: What is the easiest way to control this under Vera? I would like a “Remote” like appearance, as it was a TV Remote or something, where each button sends a different command (maybe as toggle buttons) and if possible change the button status accordingly (the HIDRO1:?; get the current status as 0 for OFF and 1 for ON).
Is this possible to accomplish in Vera UI? I’ve done something very close to this in the past using Fibaro Home Center, but i don’t know how to create a “virtual device” like Fibaro’s in Vera.
not very helpful. What i meant to say was…in Fibaro i can create Virtual Devices and assign buttons to them. Then, in each button, i can assign code to be executed, either in LUA or direct command (like for globalcache). But i’ve seen no place in Vera where i can do something like that. Is there any guide or something alike to help?
What i needed is to assign each button a command to be executed over a telnet connection.
You could create how many buttons you want and code could be easily written. Search for luup variable watch to find more about coding against sl_sceneactivated variable.
Best Home Automation shopping experience. Shop at Ezlo!