Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


davidcole

6029 posts

Uber Geek

Trusted

#272532 30-Jun-2020 09:23
Send private message

Anyone seeing this?  On the community, or your own controller?

 

Have a device, (2 iphones and iPad), one has left the house, the other 2 Ive turned wifi off) they disconnect from the wireless but still show as on the lan.

 

Show up in their UI and in the api.

 

I'm trying to use it for presence detection.





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


Create new topic
  #2514907 30-Jun-2020 09:27
Send private message

I see this from time to time, not sure the last time I saw this but I haven’t been looking. I on the latest stable controller.



cyril7
9058 posts

Uber Geek

ID Verified
Trusted
Subscriber

  #2514913 30-Jun-2020 09:42
Send private message

Hi, I presume its related to wireless is seen by wireless association, so when dis associated then its gone, where as wired will be taken from the arp table and waiting to age out.

 

Cyril


muppet
2566 posts

Uber Geek

Trusted

  #2514915 30-Jun-2020 09:46
Send private message

It usually takes ~5 minutes for my Unifi controller to change a device into the disconnected state.  So there's usually a 5 minute delay before my home assistant will turn the alarm on when it sees all our devices have left the house.

 

I've not managed to figure out how to change this.  The main thing is though as soon as you connect, it updates, so you can use this to trigger turning the alarm off.




davidcole

6029 posts

Uber Geek

Trusted

  #2514969 30-Jun-2020 11:48
Send private message

muppet:

 

It usually takes ~5 minutes for my Unifi controller to change a device into the disconnected state.  So there's usually a 5 minute delay before my home assistant will turn the alarm on when it sees all our devices have left the house.

 

I've not managed to figure out how to change this.  The main thing is though as soon as you connect, it updates, so you can use this to trigger turning the alarm off.

 

 

I'm sure I left it longer than that....and certainly the wife was away from the house longer than that this morning.

 

What controller version?

 

I was trying presence in openhab.  Not sure if HA has something else to figure out it's changed from wireless to wired and therefore says it's away

 

 





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


Yoban
447 posts

Ultimate Geek


  #2514972 30-Jun-2020 11:53
Send private message

Have a read through this for HA...seems to be a bug as outlined in the post 12-Jan.

 

"The bug was that when the device connects to a Unifi AP it’s MAC gets written to the data file as “wireless”. As soon as the device roams off the Unifi AP and connects to the ASUS router it is then reported as wired so it stops being tracked and is always “not_home”."

 

edit: Just noted you are on openhab..


  #2514976 30-Jun-2020 12:23
Send private message

Yoban:

Have a read through this for HA...seems to be a bug as outlined in the post 12-Jan.


"The bug was that when the device connects to a Unifi AP it’s MAC gets written to the data file as “wireless”. As soon as the device roams off the Unifi AP and connects to the ASUS router it is then reported as wired so it stops being tracked and is always “not_home”."


edit: Just noted you are on openhab..



That reads if the device is roaming to a SSID on the Asus router, so no surprise there is issues.

davidcole

6029 posts

Uber Geek

Trusted

  #2515024 30-Jun-2020 13:02
Send private message

Yoban:

 

Have a read through this for HA...seems to be a bug as outlined in the post 12-Jan.

 

"The bug was that when the device connects to a Unifi AP it’s MAC gets written to the data file as “wireless”. As soon as the device roams off the Unifi AP and connects to the ASUS router it is then reported as wired so it stops being tracked and is always “not_home”."

 

edit: Just noted you are on openhab..

 

 

 

 

I have both (greedy).  HA didnt pick up my wife leaving after adding the unifi integration earlier.

 

Seems both are doing it.  When you look at the details of the off site device, is_wired is true





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


 
 
 

Cloud spending continues to surge globally, but most organisations haven’t made the changes necessary to maximise the value and cost-efficiency benefits of their cloud investments. Download the whitepaper From Overspend to Advantage now.
davidcole

6029 posts

Uber Geek

Trusted

  #2515037 30-Jun-2020 13:30
Send private message

Downstairs UAP-AC-Lite after turning off the wifi

 

```

 

Tue Jun 30 13:20:07 2020 daemon.info hostapd: ath4: STA d0:xx:xx:xx:xx:cc IEEE 802.11: sta_stats

 

Tue Jun 30 13:20:07 2020 daemon.info hostapd: ath4: STA d0:xx:xx:xx:xx:cc IEEE 802.11: disassociated

 

Tue Jun 30 13:20:07 2020 daemon.info hostapd: ath4: STA d0:xx:xx:xx:xx:cc IEEE 802.11: disassociated

 

Tue Jun 30 13:20:07 2020 user.info : stahtd[25775]: [STA-TRACKER].stahtd_dump_event(): {"event_id":"1","message_type":"STA_ASSOC_TRACKER","event_type":"sta_leave","mac":"d0:xx:xx:xx:xx:cc","vap":"ath4","assoc_status":"0"}

 

Tue Jun 30 13:20:08 2020 user.info libubnt[25774]: wevent[25774]: wevent.ubnt_custom_event(): EVENT_STA_LEAVE ath4: d0:xx:xx:xx:xx:cc / 2

 

```

 

 

 

And it's moved to a UAP and gone onto the LAN.

 

```

 

Tue Jun 30 13:19:10 2020 user.info : stahtd[1884]: [STA-TRACKER].stahtd_dump_event(): {"message_type":"STA_ASSOC_TRACKER","mac":"d0:xx:xx:xx:xx:cc,"auth_ts":"4574416.851959","vap":"ath0","event_type":"success","assoc_status":"0","assoc_delta":"10000","ip_delta":"4150000","ip_assign_type":"dhcp","wpa_auth_delta":"30000","arp_reply_gw_seen":"yes","auth_delta":"0","event_id":"1","dns_resp_seen":"yes"}

 

Tue Jun 30 13:19:54 2020 user.info : mcad[1878]: wireless_agg_stats.log_sta_anomalies(): bssid=00:xx:xx:xx:xx:b                        f radio=wifi0 vap=ath0 sta=d0:xx:xx:xx:xx:cc satisfaction_now=60 anomalies=wifi_retries wifi_latency

 

Tue Jun 30 13:20:00 2020 daemon.info snmpd[1873]: snmpd[1873]: wireless_agg_stats.log_sta_anomalies(): bssid=00:xx:xx:xx:xx:bf radio=wifi0 vap=ath0 sta=d0:xx:xx:xx:xx:cc satisfaction_now=60 anomalies=wifi_retries wifi_latency

 

```

 

 

 

So at 13:20 it "moved" to the roof, even though it's sitting here with the wifi turned off and I rebooted it.

 

 





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.