Leonardo and Firmata problem

Hi, I want to use Standard Firmata to communicate through the Leonardo USB port with a PC and can’t get it to work. The firmata code compiles well, but I am unable to connect through the Windows Firmata test client. (all works well on a Mega)

Since I need Serial1 for a sensor, I would like to use Serial.

I am on the latest Arduino IDE and use Firmata Version 2.5.8

Any help is much appreciated. Thanks

I am unable to connect through the Windows Firmata test client. (all works well on a Mega)

How does that mysterious code open the serial port? The DTR Enable flag must be set in order to communicate with the Leonardo, but does not need to be set to communicate with the Mega.

StandardFirmata uses serial and not serial1, so I am not sure if you think it uses serial1 or not.

I can communicate to a Leonardo running StandardFirmata without issue using either Python client libraries: PyMata or pymata-aio