Today I installed the plugin an configured it. I prefer using SSH public auth., but for now use password.
The plugin initializes correctly, but cannot reach my Orbi router for some reason. I logged out of my router before starting the plugin.
Code: Select all
2019-12-01 21:44:39.478 (iDetect Wifi presence detection) Debug logging mask set to: PYTHON
2019-12-01 21:44:39.478 (iDetect Wifi presence detection) Not running on Windows
2019-12-01 21:44:39.503 (iDetect Wifi presence detection) The OS user profile running domoticz is: root
2019-12-01 21:44:39.536 (iDetect Wifi presence detection) Checking if [ssh -V] will run: OK
2019-12-01 21:44:39.536 (iDetect Wifi presence detection) Parsing user and optional keyfile from:admin
2019-12-01 21:44:39.561 (iDetect Wifi presence detection) Checking if [sshpass -V] will run: OK
2019-12-01 21:44:39.561 (iDetect Wifi presence detection) Monitoring {'PhoneMTel': {'ignore': False, 'mac': 'XX:XX:XX:XX:XX:XX', 'lastseen': None}, 'LaptTel': {'ignore': False, 'mac': 'XX:XX:XX:XX:XX:XX', 'lastseen': None}} for presence.
2019-12-01 21:44:39.562 (iDetect Wifi presence detection) 2 of them will control the Anyone home switch
2019-12-01 21:44:39.562 (iDetect Wifi presence detection) Router configuration:192.168.1.1
2019-12-01 21:44:39.562 (iDetect Wifi presence detection) Using password instead of ssh public key authentication for 192.168.1.1 (less secure!)
2019-12-01 21:44:39.562 (iDetect Wifi presence detection) Fetching data from 192.168.1.1 using: sshpass -p **secret** ssh -o StrictHostKeyChecking=no -o ConnectTimeout=3 -p22 [email protected]
2019-12-01 21:44:39.607 (iDetect Wifi presence detection) SSH subprocess for 192.168.1.1 failed with error (255):b''
2019-12-01 21:44:39.607 (iDetect Wifi presence detection) SSH command on 192.168.1.1 took 45 milliseconds.
2019-12-01 21:44:39.607 (iDetect Wifi presence detection) Could not retreive available commands on 192.168.1.1
2019-12-01 21:44:39.608 (iDetect Wifi presence detection) Router initialized as:{'192.168.1.1': {'initialized': False, 'errorcount': 1, 'user': 'admin', 'prospone': datetime.datetime(2019, 12, 1, 21, 44, 51, 607871), 'port': 22, 'cmd': ''}}
2019-12-01 21:44:39.608 (iDetect Wifi presence detection) iDetect Wifi presence detection - PhoneTel is stil in use
2019-12-01 21:44:39.608 (iDetect Wifi presence detection) iDetect Wifi presence detection - LaptTel is stil in use
2019-12-01 21:44:39.608 (iDetect Wifi presence detection) Devicenames and their Domoticz (subdevice) index: {'PhoneTel': 2, 'LaptTel': 3}
2019-12-01 21:44:39.608 (iDetect Wifi presence detection) MAC addresses to monitor: {'PhoneTel': {'ignore': False, 'mac': 'XX:XX:XX:XX:XX:XX', 'lastseen': None}, 'LaptTel': {'ignore': False, 'mac': 'XX:XX:XX:XX:XX:XX', 'lastseen': None}}
2019-12-01 21:44:39.608 (iDetect Wifi presence detection) Plugin initialization done.
2019-12-01 21:44:39.203 Status: (iDetect Wifi presence detection) Started.
2019-12-01 21:44:39.473 Status: (iDetect Wifi presence detection) Entering work loop.
2019-12-01 21:44:39.475 Status: (iDetect Wifi presence detection) Initialized version 0.7.7, author 'ESCape'
2019-12-01 21:44:49.521 (iDetect Wifi presence detection) Prosponed connection to 192.168.1.1 for 0:00:02.086432
2019-12-01 21:44:49.521 (iDetect Wifi presence detection) Did not retreive WLAN information from any router
2019-12-01 21:44:49.522 (iDetect Wifi presence detection) Entire poll took 0% of the poll interval time (1 milliseconds)
2019-12-01 21:45:04.508 (iDetect Wifi presence detection) 192.168.1.1 was not properly initialized. Retrying to get router capabilities (and skipping this poll round).
2019-12-01 21:45:04.508 (iDetect Wifi presence detection) Using password instead of ssh public key authentication for 192.168.1.1 (less secure!)
2019-12-01 21:45:04.508 (iDetect Wifi presence detection) Fetching data from 192.168.1.1 using: sshpass -p **secret** ssh -o StrictHostKeyChecking=no -o ConnectTimeout=3 -p22 [email protected]
2019-12-01 21:45:04.553 (iDetect Wifi presence detection) SSH subprocess for 192.168.1.1 failed with error (255):b''
2019-12-01 21:45:04.553 (iDetect Wifi presence detection) SSH command on 192.168.1.1 took 44 milliseconds.
2019-12-01 21:45:04.553 (iDetect Wifi presence detection) Could not retreive available commands on 192.168.1.1
2019-12-01 21:45:04.553 (iDetect Wifi presence detection) Routerinfo:{'initialized': False, 'errorcount': 2, 'user': 'admin', 'prospone': datetime.datetime(2019, 12, 1, 21, 46, 4, 553818), 'port': 22, 'cmd': ''}
2019-12-01 21:45:04.553 (iDetect Wifi presence detection) Did not retreive WLAN information from any router
2019-12-01 21:45:04.554 (iDetect Wifi presence detection) Entire poll took 0% of the poll interval time (45 milliseconds)