Ping Sensor with UI5?

I’m trying to get started creating a plugin to do some stuff that I need, and I figured that a decent way of starting to do that is to figure out how another one works. Given that I need this particular functionality anyway, I decided to look at the PingSensor code:

http://code.mios.com/trac/mios_ping-sensor/browser/trunk

I looked through it, and everything makes a lot more sense to me now. :slight_smile: There’s only one problem - I can’t actually figure out how to configure it through the “UI” (think air quotes, but in electronic form), as the only info I could find seems to be for UI4 which appears to have been different enough from UI5 that I can’t quite grok it…

http://wiki.micasaverde.com/index.php/Ping_Sensor_Plugin

So, if anyone can help explain to me how to get from “Files for the plugin uploaded” (which is where I am) to “How do I go about correctly creating the proper device to ping test, say, 192.168.10.10”, I would greatly appreciate it.

Thanks,
+j

Upload the plugin files to Vera by Apps, Develop Apps, Luup Files, Choose Files. Typical files are:

D_.xml
I_.xml
S_.xml
D_.json

Do not check Restart Luup after upload. Click GO button.

Click Create device and enter only the following:

Description: <The name you want to use. E.g. My Whizzy Plugin>
Upnp Device Filename: D_.xml
Upnp Implementation Filename: I_.xml

Click the Create device button, click SAVE/Reload and then reload/refresh the browser page. You should now have a new device.

I guess I should have been clearer - I figured all that stuff out myself, but once the device is there, it’s unclear where I’m supposed to set the variables - in this case (the ping plugin, which I did not write but am trying to use to map concept to implementation), I would expect I should be able to set “address” and some other stuff, but I don’t see places to set them anywhere in the device setting screen - which leads me to believe either the plugin needs work for UI5, or I’m just missing something.

Thanks for the reply…

It’s not perfect, but there’s a manual for Vera UI5 - http://docs5.mios.com/doc.php?language=1&manual=1&platform=3Pro&page=control_pads_advanced

You can configure the ping sensor under the Advanced tab.

Hope that helps.

http://forum.micasaverde.com/index.php/topic,1997.0.html

Weird. I didn’t actually change anything on my end, and now there’s configuration tabs that didn’t used to be there.

I’ll take it, but boy howdy is this interface flaky.

Thanks for all the help.

If something doesn’t look like you think it should, hit Save/Reload and then refresh your browser page. The Vera UI lags current practice by a year or five. ::slight_smile:

basic practice is wait till the plugin installed… then wait another minute or so … then reload the vera luup… then after minute ctrl-f5 the browser page and it will work most of the time. just have to get used to the idea :smiley: