OK, update to Kodi 17.6 didn’t help. I have waited and tried some more things since and now my problem is fixed. It looks like the January OSMC update has fixed it. My uptime is now at about 9 days which is probably the longest it has ever been since experiencing the issue.
Thank you very much for your help!
Martin