Open mtthidoteu opened 2 months ago
Having the same issue with the same debug information. HA can ping the devices, they are even on the same subnet and are having no issues communicating otherwise. Also have almost identical config in YAML and had been working fine until I recently updated HA to the following:
Core 2024.9.1 Supervisor 2024.09.1 Operating System 11.5 Frontend 20240906.0
Hi,
I am able to ping the devices from my Home Assistant installation which is not a different subnet but firewall rules are setup correctly.
This integration doesn't "ping" (as in ICMP) the tracked device, it sends a message on UDP 5353 to the IP of the device.
I also have the same problem. I'm new to this integration so I might be missing something else of course.
My config:
device_tracker:
- platform: iphonedetect
consider_home: 60
scan_interval: 10
new_device_defaults:
track_new_devices: true
hosts:
xxx_iPhone_tracker: 10.0.1.30
yyy_iphone_tracker: 10.0.1.31
zzz_iphone_tracker: 10.0.1.32
Debug log:
2024-10-29 20:47:29.541 DEBUG (SyncWorker_63) [custom_components.iphonedetect.device_tracker] Device xxx_iPhone_tracker on 10.0.1.30 is AWAY
2024-10-29 20:47:29.541 DEBUG (SyncWorker_63) [custom_components.iphonedetect.device_tracker] Device yyy_iphone_tracker on 10.0.1.31 is AWAY
2024-10-29 20:47:29.541 DEBUG (SyncWorker_63) [custom_components.iphonedetect.device_tracker] Device zzz_iphone_tracker on 10.0.1.32 is AWAY
Noticed the same issue with HAOS, iPhone was always away. However using HA container with macvlan networking it works fine. Not sure what's causing HAOS to not work but maybe this info might be useful.
Same here.
Hi, I am opening an issue as I can't find any reason this is not working and behaving as such: Config:
I am able to ping the devices from my Home Assistant installation which is not a different subnet but firewall rules are setup correctly. After enabling debug logs: