Here is the github link for Netmon: https://github.com/amg0/NetMonitor
Unfortunately it does not have instructions on how to actually use the plugin, which I’ve found is too often the case with reference material for plugins.
Luckily for us, most plugins work fairly similarly.
- Install the plugin from the Apps>Install Apps side bar link in vera.
- Go to apps>my apps>Netmon and click “create device”
- Go to Devices and click on the newly created device.
- I recommend creating a new room for the netmon device as all IPs you wish to monitor will have child devices in the same room.
- Click on the new device and go to Settings.
- Add the name and ip address of the device you wish to monitor. (Yes you must assign static IP address to all monitored devices).
- The max poll rate will cycle through each device. So if it is set to 10 seconds and you have 6 devices, each device will be polled once every 60 seconds.
- Click Save and Reload.
- Go back to devices and you should now see motion sensors labelled as you labelled them in the netmon parent device.
- Tripped means - not able to ping. Untripped means - able to ping.
I’ve noticed that newly added IPs don’t always show up immediately so after adding devices you can:
- Do a luup reload by going to apps>developer apps>test luup code
- Type luup.reload() then click go.
- After you get the “successful” prompt, do a hard refresh of your browser. Command + r on a mac. Ctrl+F5 on a PC (For firefox anyway, not 100% if thats true for all browsers).
- Then you should see all the new sensors.
I am using this in combination with motion sensors to trigger or untrigger devices. I recommend the Reactor plugin for most IFFT logic.
I’m still trying to figure out if this works well with cell phones…It was showing untripped for me for a while, but then noticed it went untripped (even though my phone is still connected). My guess would be if I am using my phone while it gets polled, the sensor will go untripped. If it’s in standby mode (like in my pocket), it will go tripped when next polled.
…sorry can’t help more.
Hopefully this gets you started. Cheers!