I managed to retrieve the developerkey via an old version of the XiaomiHome app (Android).
After all I still get the following error message, but maybe it will help someonoe to get it going:
2021-12-18 20:58:50.135 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘mihome:bridge:a516905380’ changed from UNINITIALIZED (HANDLER_INITIALIZING_ERROR): Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@1b747b2[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@14f2cc2[Wrapped task = org.openhab.binding.mihome.internal.handler.XiaomiBridgeHandler$$Lambda$1227/0x9431fa28@188d21b]] rejected from org.openhab.core.internal.common.WrappedScheduledExecutorService@7fdb8e[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 1602711] to UNINITIALIZED (HANDLER_MISSING_ERROR)
2021-12-18 20:58:50.137 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘mihome:bridge:a516905380’ changed from UNINITIALIZED (HANDLER_INITIALIZING_ERROR): Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@1b747b2[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@14f2cc2[Wrapped task = org.openhab.binding.mihome.internal.handler.XiaomiBridgeHandler$$Lambda$1227/0x9431fa28@188d21b]] rejected from org.openhab.core.internal.common.WrappedScheduledExecutorService@7fdb8e[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 1602711] to INITIALIZING
==> /var/log/openhab/openhab.log <==
2021-12-18 20:58:50.142 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method ‘ThingHandler.initialize()’ on ‘org.openhab.binding.mihome.internal.handler.XiaomiBridgeHandler@cd74b8’: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@8a8246[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@e0d488[Wrapped task = org.openhab.binding.mihome.internal.handler.XiaomiBridgeHandler$$Lambda$1227/0x9431fa28@135d045]] rejected from org.openhab.core.internal.common.WrappedScheduledExecutorService@7fdb8e[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 1602711]
java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@8a8246[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@e0d488[Wrapped task = org.openhab.binding.mihome.internal.handler.XiaomiBridgeHandler$$Lambda$1227/0x9431fa28@135d045]] rejected from org.openhab.core.internal.common.WrappedScheduledExecutorService@7fdb8e[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 1602711]
at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(Unknown Source) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.reject(Unknown Source) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(Unknown Source) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(Unknown Source) ~[?:?]
at org.openhab.binding.mihome.internal.handler.XiaomiBridgeHandler.initialize(XiaomiBridgeHandler.java:137) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
at org.openhab.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:154) [bundleFile:?]
at org.openhab.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]