I have good news. I have now tried to connect the lamp and the switch / dimmer from my Windows laptop and both worked immediately. Why doesn’t the Rasp Pi work? I hope the log files might provide some information.
Edit: Another piece of information: I don’t have a desktop installation on the Rasp Pi. I tried connecting via the Phoscon app via the browser.
Regards Daniel