Tobii Eyetracker Plugin

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Win10
PsychoPy version (e.g. 2024.2.4 Py 3.8): 2025.1.1 Py10
Standard Standalone Installation? (y/n) Y
Do you want it to also run online? (y/n) N
What are you trying to achieve?:
Properly integrate Tobii Fusion
What did you try to make it work?:
Installed PsychoPy, installed Tobii Plugin, then testing.
What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information.

Calibration works perfectly. But when Start recording, below error seems happen every frame.

“C:\Users\User\AppData\Roaming\psychopy3\packages\Python310\site-packages\psychopy_eyetracker_tobii\tobii\eyetracker.py”, line 458, in _getIOHubEventObject
right_gx, right_gy, right_gz = eye_data_event[‘right_gaze_origin_in_trackbox_coordinate_system’]
KeyError: ‘right_gaze_origin_in_trackbox_coordinate_system’
Traceback (most recent call last):

So above error message continously fill the log window, and nothing related to gaze info saves.

Try installing the newest version and you should not encounter that error anymore.

I Installed using the latest github version yesterday. Was it recently changed? Especially Plugin?

Hello,

Can you please share if you have Tobii eye tracker working with PsychoPy? I am using Tobii Pro Nano (60Hz). Calibration works well, validation doesn’t. Eye tracker record component doesn’t trigger the eye tracker. I am using PsychoPy 2025.1.1

Please help.

Hello,

Can you kindly share if you got the eye tracking working with the latest PsychoPy version?

Best wishes

@jgeller112
Hello, sorry for late reply. Yes, I am using Pro Fusion with latest version, but not using plugin, but directly communicate using tobii SDK library implemented in PsychoPy.

Are you using mac or windows? I will check if I can help.

@Becca is there anything ET users can do to help test the tracker components before roll-out? It seems that with every new release the ET components break. I just upgraded to 2025.1.1 and I am encountering some issues when calibrating/validating.

Hi Jason,

Absolutely - we actually have an alpha tester group for keen users who want to bug test - I shall drop you an email to get you added to the group!

Becca

I verified ET works with Titta on 2025.1.1 so it is something with iohub.

Hello @ipsych - I could get Tobii Pro Nano working on latest PsychoPy version after editing a file in ioHub as it was throwing error during validation. Everything seems to work except the fixation, blinks and saccade files are empty. What I am missing?

Somehow I am unable to get Tobii Pro SDK working to control the tracker. Can you help? I am running it in Win 10, Python 3.10 and Tobii Pro Nano.

I have exactly the same issues. I am using PsychoPy 2025.2.3 py3.10 on Win 11 with a Tobii Pro Spark. After installing the plugin, I can select Tobii Technology (iohub) or Tobii Technology in the Eyetracking properties, both having the same results.
The eye tracker seems to work (the infrared lights are on), but it crashes after the validation and I have the same error message described by ipsych filling the log window. No gaze data is saved.

I now use PsychoPy 2024.2.4, which does work with the (new) Tobii eye trackers.

@pp2025 can you explain what ioHub file you edited and how you edited it exactly?

We do have the same issue, with the right gaze origin error. OS WIN 11, we tried PsychoPy 2025.2.4 and 2025.1.1. The Eye Tracker is a Tobii Pro Spectrum. We did run a python script with tobii_research from here: Create an eye-tracking experiment – DevStart and this has worked, so generally communication with ET is ok and we are getting data. We just cannot use the PsychoPy builder, which is not optimal. Does anyone have any ideas how to solve this issue?

I recommend Titta. Titta: A toolbox for creating PsychToolbox and Psychopy experiments with Tobii eye trackers | Behavior Research Methods | Springer Nature Link

It is pretty stable across versions of PsychoPy. It also comes with a nicer calibration routine than iohub.

1 Like