Hi - the roof is quite complex and has its own control unit with its own diagnostic memory. In the first instance I would recommend the car is checked on Mercedes STAR diagnostic tool to see what codes are stored.
There are several limit switches around the roof and quite often a fault like this is with a bad switch.
A very common problem for what you have described is with a sticking roof closed or roof locked switch - these often stick in the heat and later on will work fine as if nothing is wrong like you have described.
When this fault occurs we usually replace all 3 switches as they are all common failure points.
There are 2 locked switches on the roof catches on the front of the roof centre section (these come as one part from Mercedes joined together with a wiring harness) and the roof closed switch is located on the right latch on the bodywork above the windscreen
Let me know if you need anything else
Best regards, Paul
Thank you for your response. I have it booked in tomorrow morning with Mercedes for them to take a look at.
Just one thing, the luggage rack in the boot doesn't roll back like it should although it did when I bought it. Now it is just floppy and has no tension (if that's the right word).
Hi, the luggage cover does need to be in place - however the tension does not really make that much difference as long as the micro switch is engaged where it locates in the rear trim panel
As long as this is engaging (you can usually hear or feel a slight click as you insert it) and the switch is functioning then this should be ok
As the fault is intermittent and affected by heat then I would say that the front switches are a likely cause - we do replace quite a few for the exact symptoms you have described
Mercedes have determined it is the luggage cover that is the problem and not the switches. It's being fixed on Monday (hopefully). I hope they are right.
ok - it is a little odd that it is intermittent how you described it especially being temperature dependant but without actually physically seeing the car myself to inspect it is obvioul
sorry - obviously difficult at times to say for sure over the internet!
I hope all goes well and please let me know if you need anything else