Accessing CAMERA_STATE and related variables?

The docs list a number of camera variables under Camera Variables but none of these seems to return any data (using the 0.20.3.0 SimConnect.dll and the python simconnect package. Also tried older versions of SimConnect.dll but none of them seem to yield any data). Do they actually work/exist?

I see the note saying “When Microsoft Flight Simulator is running in multiplayer mode, only a small number of variables are communicated between aircraft. Those variables that are available will say so in the description as being either for All Aircraft or for Shared Cockpit” but I’m not trying to communicate anything between aircraft, I’m just trying to get the user’s local camera properties.

(aircraft simvars work fine, so I’m wondering whether this is python’s simconnect acting up, or whether other tools also can’t read CAMERA_STATE and friends…)

After some digging, in the hopes that this will help others too: python-simconnect doesn’t actually have any code in place to deal with the camera vars, but thankfully the RequestList.py file is easily amended with the data necessary. I have filed Add support for Camera variables by Pomax · Pull Request #126 · odwdinc/Python-SimConnect · GitHub to get that addressed in the package.

Until that is merged in and a new version of python-simconnect gets released, you should be able to just copy the RequestList.py content from that PR and update the lib/site-packages/SimConnect/RequestList.py file in your python venv.