In the past, I created a plugin that utilized a device plugged into Vera’s USB Port. I’m now creating a plugin that connects to an IP based device via Ethernet. I created my device(D_),implementation(I_) and service (S_) files and created a device on Vera. When I start the device up, I’m getting the error in the UI “Missing Port.” When I created a Serial Port based plugin, this usually meant that I hadn’t associated a Serial Port with the device I created. However, in this case can anyone explain what this means? In my configuration for the plugin, I set the variable “ip” to a valid ip address. Please note that at this point my plugin isn’t making any network calls. Could this be why I’m getting this error or is something else going on?
After I sent this, I found the problem. I had left a line of code that accesses the serial port and that is what was causing the error:
luup.io.write(“STATUS”, deviceId)