Hi,
I don’t have the impression that this plugin is working on my Veraplus / UI7 / latest FW
So I defined just 2 IP’s to check, 1 if certainly online, the other not.
Still they are bot reported online and nothing really seems to happen ?
I’m just seeing the main Netmon-app/device, no “child” devices/sensors are visible in my GUI even after browser-reload (latest Chrome , Version 72.0.3626.81 (Official Build) (64-bit) on Ubuntu)
I’ve put on the debug-mode and captured some output, followed by 2 ping tests myself from the console.
50 02/01/19 21:54:47.104 luup_log:6432: NETMON: debug: setVariableIfChanged(urn:upnp-org:serviceId:netmon1,DevicesStatus,[ { “name”: “TV”, “ipaddr”: “172.29.45.17” }, { “name”: “FAKE”, “ipaddr”: “172.29.45.18” } ],6432) <0x748d8520>
50 02/01/19 21:54:47.105 luup_log:6432: NETMON: debug: setVariableIfChanged(urn:upnp-org:serviceId:netmon1,DevicesOfflineCount,0,6432) <0x748d8520>
50 02/01/19 21:54:47.105 luup_log:6432: NETMON: debug: programming next refreshDevices(6432) in 10 sec <0x748d8520>
50 02/01/19 21:54:57.100 luup_log:6432: NETMON: debug: refreshDevices(6432) <0x748d8520>
50 02/01/19 21:54:57.102 luup_log:6432: NETMON: debug: refreshOneDevice(6432,null) <0x748d8520>
50 02/01/19 21:54:57.102 luup_log:6432: NETMON: debug: getDevicesStatus(6432) <0x748d8520>
50 02/01/19 21:54:57.104 luup_log:6432: NETMON: debug: setVariableIfChanged(urn:upnp-org:serviceId:netmon1,DevicesNotification,6432) <0x748d8520>
50 02/01/19 21:54:57.104 luup_log:6432: NETMON: debug: setVariableIfChanged(urn:upnp-org:serviceId:netmon1,DevicesStatus,[ { “name”: “TV”, “ipaddr”: “172.29.45.17” }, { “name”: “FAKE”, “ipaddr”: “172.29.45.18” } ],6432) <0x748d8520>
50 02/01/19 21:54:57.105 luup_log:6432: NETMON: debug: setVariableIfChanged(urn:upnp-org:serviceId:netmon1,DevicesOfflineCount,0,6432) <0x748d8520>
50 02/01/19 21:54:57.105 luup_log:6432: NETMON: debug: programming next refreshDevices(6432) in 10 sec <0x748d8520>
50 02/01/19 21:55:07.100 luup_log:6432: NETMON: debug: refreshDevices(6432) <0x748d8520>
50 02/01/19 21:55:07.102 luup_log:6432: NETMON: debug: refreshOneDevice(6432,null) <0x748d8520>
50 02/01/19 21:55:07.102 luup_log:6432: NETMON: debug: getDevicesStatus(6432) <0x748d8520>
50 02/01/19 21:55:07.104 luup_log:6432: NETMON: debug: setVariableIfChanged(urn:upnp-org:serviceId:netmon1,DevicesNotification,6432) <0x748d8520>
50 02/01/19 21:55:07.104 luup_log:6432: NETMON: debug: setVariableIfChanged(urn:upnp-org:serviceId:netmon1,DevicesStatus,[ { “name”: “TV”, “ipaddr”: “172.29.45.17” }, { “name”: “FAKE”, “ipaddr”: “172.29.45.18” } ],6432) <0x748d8520>
50 02/01/19 21:55:07.105 luup_log:6432: NETMON: debug: setVariableIfChanged(urn:upnp-org:serviceId:netmon1,DevicesOfflineCount,0,6432) <0x748d8520>
50 02/01/19 21:55:07.105 luup_log:6432: NETMON: debug: programming next refreshDevices(6432) in 10 sec <0x748d8520>
50 02/01/19 21:55:17.100 luup_log:6432: NETMON: debug: refreshDevices(6432) <0x748d8520>
50 02/01/19 21:55:17.102 luup_log:6432: NETMON: debug: refreshOneDevice(6432,null) <0x748d8520>
50 02/01/19 21:55:17.102 luup_log:6432: NETMON: debug: getDevicesStatus(6432) <0x748d8520>
50 02/01/19 21:55:17.104 luup_log:6432: NETMON: debug: setVariableIfChanged(urn:upnp-org:serviceId:netmon1,DevicesNotification,6432) <0x748d8520>
50 02/01/19 21:55:17.105 luup_log:6432: NETMON: debug: setVariableIfChanged(urn:upnp-org:serviceId:netmon1,DevicesStatus,[ { “name”: “TV”, “ipaddr”: “172.29.45.17” }, { “name”: “FAKE”, “ipaddr”: “172.29.45.18” } ],6432) <0x748d8520>
50 02/01/19 21:55:17.105 luup_log:6432: NETMON: debug: setVariableIfChanged(urn:upnp-org:serviceId:netmon1,DevicesOfflineCount,0,6432) <0x748d8520>
50 02/01/19 21:55:17.105 luup_log:6432: NETMON: debug: programming next refreshDevices(6432) in 10 sec <0x748d8520>
^C
root@MiOS_50160552:/tmp/log/cmh# ping 172.29.45.17
PING 172.29.45.17 (172.29.45.17) 56(84) bytes of data.
64 bytes from 172.29.45.17: icmp_req=1 ttl=64 time=0.410 ms
64 bytes from 172.29.45.17: icmp_req=2 ttl=64 time=0.300 ms
64 bytes from 172.29.45.17: icmp_req=3 ttl=64 time=0.295 ms
^C
— 172.29.45.17 ping statistics —
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.295/0.335/0.410/0.053 ms
root@MiOS_50160552:/tmp/log/cmh# ping 172.29.45.18
PING 172.29.45.18 (172.29.45.18) 56(84) bytes of data.
From 172.29.45.250 icmp_seq=1 Destination Host Unreachable
From 172.29.45.250 icmp_seq=2 Destination Host Unreachable
From 172.29.45.250 icmp_seq=3 Destination Host Unreachable
^C
— 172.29.45.18 ping statistics —
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3999ms
pipe 4
root@MiOS_50160552:/tmp/log/cmh#