Search found 27 matches

by hjzwiers
Saturday 06 October 2018 19:37
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 432
Views: 28845

Re: Python plugin: Presence detection from wireless router

With Asus AImesh putting in both IP addresses does not work, still only sees the main router.

=arp fails, =brctl works

Just giving the info, I'll stick to brctl thnx
by hjzwiers
Saturday 06 October 2018 9:12
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 432
Views: 28845

Re: Python plugin: Presence detection from wireless router

I needed to add the router to known hosts again, was the reason for failing.

Just to report. I tested without =brctl again. iDetect then only sees the mac addresses on the main router, not on the mesh router. With =brctl it working again as it was :-)
by hjzwiers
Friday 05 October 2018 7:09
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 432
Views: 28845

Re: Python plugin: Presence detection from wireless router

Thanks for the suggestion, there was a firmware update. Will check the host key.
by hjzwiers
Thursday 04 October 2018 21:40
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 432
Views: 28845

Re: Python plugin: Presence detection from wireless router

Updated to 07.3. All I get now is: Error: (iDetect) Failed 3 times to get capabilities for 192.168.1.1. Retry interval automatically reduced for this router. Just also noticed the switches have not updated since 30 Sept ..... Error: (iDetect) Polling 192.168.1.1 has failed 3 times. Poll interval aut...
by hjzwiers
Thursday 04 October 2018 20:00
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 432
Views: 28845

Re: Python plugin: Presence detection from wireless router

Tried again to run without #forcegeneric or =brctl because idetect stopped logging the phones Before 0,7.2 I did not get these, but this is in the loging: 2018-10-04 19:50:13.079 Error: (iDetect) 'onHeartbeat' failed 'TypeError':'getrouter() got an unexpected keyword argument 'port''. 2018-10-04 19:...
by hjzwiers
Saturday 29 September 2018 9:39
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 432
Views: 28845

Re: Python plugin: Presence detection from wireless router

=brctl seems to work fine

what is the difference between =brctl and =arp ?
by hjzwiers
Friday 28 September 2018 22:56
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 432
Views: 28845

Re: Python plugin: Presence detection from wireless router

Just updated to version 0.7.2 Using a Asus Ac86U and Ac68u in AImesh mode. Was curious if the updates would work without the #forcegeneric use. This is not the case, without the #forcegeneric iDetect only sees the phones connected to the main router (and not phones connected to the mesh) The logging...
by hjzwiers
Wednesday 05 September 2018 20:50
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 432
Views: 28845

Re: Python plugin: Presence detection from wireless router

Running a AC86u as main router and AC68u in AImesh mode. with #forcegeneric it sees all phones, but with quite a detection delay So I tried the newest version and added both the IP of the main and mesh router. This is the log: 2018-09-05 20:40:48.391 Status: (iDetect) Initialized version 0.6.2, auth...
by hjzwiers
Saturday 01 September 2018 23:18
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 432
Views: 28845

Re: Python plugin: Presence detection from wireless router

I added #forcegeneric and now all phones are "seen". I will see how this works the coming days.

Thnx
by hjzwiers
Saturday 01 September 2018 19:21
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 432
Views: 28845

Re: Python plugin: Presence detection from wireless router

I have an Asus AC86U and AC68U now working in AiMesh configureation. The AC86U is the main router, and now only the phones are detected connected to the main router, and not the mesh node. Any way in the future it can "see" both? Probably too much to want ;)

Thnx
by hjzwiers
Monday 19 February 2018 23:27
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 432
Views: 28845

Re: Python plugin: Presence detection from wireless router

I put debian jessie on the nuc and downloaded the RTL8168 driver (Linux by default puts the 8169 driver on)

I changed the ac68u firmware to 380.69.

No more errors in the speedtest (<1sec)

So there is a clear relation to the router firmware as well.
by hjzwiers
Thursday 15 February 2018 23:41
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 432
Views: 28845

Re: Python plugin: Presence detection from wireless router

I have tried to optimize the network settings RSAAuthentication yes PubkeyAuthentication yes UseDNS no GSSAPIAuthentication no Allowed users hjz Its not due to packet loss or the connection, ping shows good statistics. --- 192.168.1.1 ping statistics --- 539 packets transmitted, 539 received, 0% pac...
by hjzwiers
Wednesday 14 February 2018 21:29
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 432
Views: 28845

Re: Python plugin: Presence detection from wireless router

I ran your script (the ssh = subprocess.Popen line was not copied right but i corrected it based on the plugin) These are the times: 0:00:00.305547 (errors=0, maxtime=0:00:00.305547) > data:assoclist 00:04:20:F1:B9:4A 0:00:00.267185 (errors=0, maxtime=0:00:00.305547) > data:assoclist 00:04:20:F1:B9:...
by hjzwiers
Wednesday 14 February 2018 0:09
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 432
Views: 28845

Re: Python plugin: Presence detection from wireless router

I started reading about debugging and then I checked the domoticz.sh file. I installed Domoticz (on Linux 17.10 NUC platform) with the command sudo curl -L install.domoticz.com | bash Seems it fills in a default user pi !!!! I changed this to hjz, and all the errors have reduced .... Any tips on deb...
by hjzwiers
Tuesday 13 February 2018 23:00
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 432
Views: 28845

Re: Python plugin: Presence detection from wireless router

Thanks for your effort. I have no problem doing any test, but I have no clue how to test this or get relevant data ....... I will google a bit as well.
by hjzwiers
Tuesday 13 February 2018 21:52
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 432
Views: 28845

Re: Python plugin: Presence detection from wireless router

Making progress :-) I have two keys now, one from root and one from the user hjz. I used the hjz one, tested the connection from the command line, then installed the new version of Presence: Because of the errors in the logging I thought it was not working. But I just tested by putting phones in air...
by hjzwiers
Tuesday 13 February 2018 8:01
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 432
Views: 28845

Re: Python plugin: Presence detection from wireless router

I ran the test scripts: Last login: Mon Feb 12 20:48:52 2018 from 192.168.1.5 hjz@domoticz:~$ sudo ssh HJZ@192.168.1.1 -i /root/.ssh/id_rsa "wl -i eth1 assoclist;wl -i eth2 assoclist" [sudo] password for hjz: sh: wl: not found sh: wl: not found hjz@domoticz:~$ sudo ssh HJZ@192.168.1.1 HJZ@RT-AC68U:/...
by hjzwiers
Tuesday 13 February 2018 0:27
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 432
Views: 28845

Re: Python plugin: Presence detection from wireless router

I will check your input tomorrow evening, seems more our joining to solve this puzzle :-)

This evening i did check the last beta from Merlin, also produced the exact same error (that was RT-AC68U_384.3_beta2)
by hjzwiers
Monday 12 February 2018 0:53
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 432
Views: 28845

Re: Python plugin: Presence detection from wireless router

I have tested the manual "wl -i eth1 assoclist;wl -i eth2 assoclist" command from /home/hjz/ and as root (with different id_rsa & pub). They both work fine from the command line (also no error in the router logging). But I get the same error within the running domoticz: Error getting data from route...
by hjzwiers
Saturday 10 February 2018 21:01
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 432
Views: 28845

Re: Python plugin: Presence detection from wireless router

I did a full reinstall of the server From root I generated the command in a ssh session to the router: wl -i eth1 assoclist;wl -i eth2 assoclist (after installing the correct keygen in the root) root@domoticz:~# ssh HJZ@192.168.1.1 HJZ@RT-AC68U:/tmp/home/root# wl -i eth1 assoclist;wl -i eth2 assocli...