Data Event for Virtual Device
remeolb
Posts: 79
Do virtual devices create data events? Will this code work? The vdvVANTAGE is the virtual device for the Vantage lighting control module. I want to set the ip address every time it comes online.
DATA_EVENT[vdvVANTAGE] { ONLINE: { SEND_COMMAND DATA.DEVICE, "'PROPERTY-IP_ADDRESS,192.168.1.30'" SEND_COMMAND DATA.DEVICE, "'REINIT'" } }
0
Comments
Yes, they do. But, keep in mind that they come online before most of the hardware devices do. So, if the vdv is communicating with a real device you might be sending commands to a port that hasn't come online yet.