Based on personal experience, you can forget technological aids. Sorry. It's all about getting the right environment and the right carers.
One of my top ten 'clever solutions' to a problem was used (perhaps devised?) by a care home near me. They had a long driveway and trouble with residents who had a nice patio area to use wandering off and getting lost. So the home got a bus shelter built near the bottom of the drive. No buses, just an authentic shelter. Residents would get lost, wander around a bit, spot the bus shelter and go and sit down and quite happily wait ages (it was the UK) for the bus. CCTV would spot them and and an orderly would walk down and help them back again.