Did you get it to work with compose file ?
Yes, Iāve had zero issues now I use Compose.
Finally solved it, in my case it was entry in knows_devices ( from ping device_tracker ) has ātrack: falseā by default. After changing it in known_devices.yml file it worked.
I canāt get this to work at all.
Iām running HA Container in Docker for Mac. I tried both solutions (above) chmod u+s /bin/ping
and setting track: true
in known_devices.yaml - Iām using binary_sensor
not device_tracker
though.
Can you advise?
Hi jchh,
MacOS is notoriously difficult to use networking on. Host networking donāt work as expected.
Getting around Dockerās host network limitation on Mac | by Laila Abudahi | Medium.
Unfortunately thereās no solution for this - You may want to look into using a Virtualbox VM (a lot more resource intensive) or a RPi if ping sensing is really needed.
Hope this helps.
wow - thanks for such a quick response!
Actually, I do use a RPi for my own HA instance (HA Core on DietPi OS) and use mumās iMac for hers as itās always on for other reasons. Iād happily get her a RPi if only there were any to buy! Docker Desktop for Mac actually works quite well in principle but you cannot run network_mode: host
nor have USB passthrough which is limiting. I only want to use ping
to diagnose some issues with her Hive integration.
I found these out the hard way too!
I wonder if you could find a Mac app or a shell script that can do something similar, like logging to a CSV?
great idea! Iāll have a look around