Hi,Escape
Same error as igorkkk encounted, my router firmware is asus merlin.
domoticz error log as follows, pls take a look where the error is
2018-05-28 21:11:56.573 (iDetect) Started.
2018-05-28 21:11:56.856 (iDetect) Entering work loop.
2018-05-28 21:11:56.858 (iDetect) Initialized version 0.3.0, author 'ESCape'
2018-05-28 21:11:56.862 (iDetect) Debug logging mask set to: PYTHON PLUGIN QUEUE IMAGE DEVICE CONNECTION MESSAGE ALL
2018-05-28 21:11:56.862 (iDetect) Debugging mode enabled
2018-05-28 21:11:56.862 (iDetect) Monitoring {'PHONE3': 'XX:XX:28:C4:98:9E', 'PHONE1': 'XX:2D:5E:FD:CD:53', 'PHONE2': 'XX:51:BA:A9:D1:CB'} for presence.
2018-05-28 21:11:56.862 (iDetect) Pushing 'PollIntervalDirective' on to queue
2018-05-28 21:11:56.862 (iDetect) Checking router capabilities and wireless interfaces
2018-05-28 21:11:56.863 (iDetect) Using password instead of ssh public key authentication (less secure!)
2018-05-28 21:11:56.863 (iDetect) Fetching data from router using ssh
2018-05-28 21:11:56.863 (iDetect) command: ['sshpass', '-p', 'admin', 'ssh', '-o', 'StrictHostKeyChecking=no', '-o', 'ConnectTimeout=2', '
[email protected]', '#!/bin/sh\n\t\t\t\t\texport PATH=/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:$PATH\n\t\t\t\t\ttest=$(which wl > /dev/null 2>&1)\n\t\t\t\t\tif [ $? == 0 ]; then\n\t\t\t\t\t\t\tprintf "wl@"\n\t\t\t\t\t\t\tfor iface in $(ifconfig | cut -d \' \' -f1| tr \':\' \'\n\' | grep \'^eth\\|^wlan\')\n\t\t\t\t\t\t\tdo\n\t\t\t\t\t\t\t\t\ttest=$(wl -i $iface assoclist > /dev/null 2>&1)\n\t\t\t\t\t\t\t\t\tif [ $? == 0 ]; then\n\t\t\t\t\t\t\t\t\t\t\tprintf "$iface "\n\t\t\t\t\t\t\t\t\tfi\n\t\t\t\t\t\t\tdone\n\t\t\t\t\t\t\texit\n\t\t\t\t\tfi\n\t\t\t\t\ttest=$(which iwinfo > /dev/null 2>&1)\n\t\t\t\t\tif [ $? == 0 ]; then\n\t\t\t\t\t\t\tprintf "iwinfo@"\n\t\t\t\t\t\t\tfor iface in $(iwinfo | cut -d \' \' -f1| tr \':\' \'\n\' | grep \'^eth\\|^wlan\')\n\t\t\t\t\t\t\tdo\n\t\t\t\t\t\t\t\t\ttest=$(iwinfo wlan0 assoclist > /dev/null 2>&1)\n\t\t\t\t\t\t\t\t\tif [ $? == 0 ]; then\n\t\t\t\t\t\t\t\t\t\t\tprintf "$iface "\n\t\t\t\t\t\t\t\t\tfi\n\t\t\t\t\t\t\tdone\n\t\t\t\t\t\t\texit\n\t\t\t\t\tfi\t\t\t\t\t\n\t\t\t\t\ttest=$(which arp > /dev/null 2>&1)\n\t\t\t\t\tif [ $? == 0 ]; then\n\t\t\t\t\t\t\tprintf "arp"\n\t\t\t\t\tfi']
2018-05-28 21:11:56.863 Error: (iDetect) 'onStart' failed 'AttributeError'.
2018-05-28 21:11:56.863 Error: (iDetect) ----> Line 329 in /home/pi/domoticz/plugins/Domoticz_iDetect/plugin.py, function onStart
2018-05-28 21:11:56.863 Error: (iDetect) ----> Line 232 in /home/pi/domoticz/plugins/Domoticz_iDetect/plugin.py, function onStart
2018-05-28 21:11:56.863 Error: (iDetect) ----> Line 146 in /home/pi/domoticz/plugins/Domoticz_iDetect/plugin.py, function routercommand
2018-05-28 21:11:56.863 Error: (iDetect) ----> Line 107 in /home/pi/domoticz/plugins/Domoticz_iDetect/plugin.py, function getfromssh
2018-05-28 21:11:56.863 (iDetect) Processing 'PollIntervalDirective' message
2018-05-28 21:11:56.863 (iDetect) Heartbeat interval set to: 10.
2018-05-28 21:12:06.359 (iDetect) Pushing 'onHeartbeatCallback' on to queue
2018-05-28 21:12:06.387 (iDetect) Processing 'onHeartbeatCallback' message
2018-05-28 21:12:06.387 (iDetect) Calling message handler 'onHeartbeat'.
2018-05-28 21:12:06.387 (iDetect) devid2domid: {}
2018-05-28 21:12:06.388 Error: (iDetect) 'onHeartbeat' failed 'AttributeError':''BasePlugin' object has no attribute 'routercmdline''.
2018-05-28 21:12:06.388 Error: (iDetect) ----> Line 333 in /home/pi/domoticz/plugins/Domoticz_iDetect/plugin.py, function onHeartbeat
2018-05-28 21:12:06.388 Error: (iDetect) ----> Line 291 in /home/pi/domoticz/plugins/Domoticz_iDetect/plugin.py, function onHeartbeat
2018-05-28 21:12:16.360 (iDetect) Pushing 'onHeartbeatCallback' on to queue
2018-05-28 21:12:16.408 (iDetect) Processing 'onHeartbeatCallback' message
2018-05-28 21:12:16.408 (iDetect) Calling message handler 'onHeartbeat'.
2018-05-28 21:12:16.408 (iDetect) devid2domid: {}
2018-05-28 21:12:16.408 Error: (iDetect) 'onHeartbeat' failed 'AttributeError':''BasePlugin' object has no attribute 'routercmdline''.
2018-05-28 21:12:16.409 Error: (iDetect) ----> Line 333 in /home/pi/domoticz/plugins/Domoticz_iDetect/plugin.py, function onHeartbeat
2018-05-28 21:12:16.409 Error: (iDetect) ----> Line 291 in /home/pi/domoticz/plugins/Domoticz_iDetect/plugin.py, function onHeartbeat