Here is the beta build of driven property constraint, that will connect property of one object to a property of another object. Plugin works with non activable properties as well.
Open a “testScene”, and in the driven constrain’s setup tab fill the fuilds like on picture. After that You can move box along X axis, that will change camera’s focus distance according to box translation X value.
Test scene – testScene