Shelly4pro binding

I am trying to add Shelly4pro to my openhab, but it stops at Status:UNKNOWN CONFIGURATION_PENDING. I have other shelly devices that are added without problem. The shelly is up and running I can access it by ip in the browser. I tried to reinstall the shelly binding, but it didn’t help. This is the log from openhab.log

2022-01-23 14:51:43.909 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.lang.NullPointerException: null
at org.openhab.binding.shelly.internal.handler.ShellyBaseHandler.initializeThing( ~[?:?]
at org.openhab.binding.shelly.internal.handler.ShellyBaseHandler.lambda$0( ~[?:?]
at java.util.concurrent.Executors$ ~[?:?]
at ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker( [?:?]
at java.util.concurrent.ThreadPoolExecutor$ [?:?]
at [?:?]

Running openhab 3.1.0
shelly binding: 3.1.0
Running on raspberry 3