I have a ceiling fan with light fixture which are operated from a single wall switch, and my goal is to install a Shelly Dimmer 2 in the ceiling to control only the light portion. The unit has separate hot wires for the fan (black wire) and light kit (blue wire), which were originally twisted together so both were controlled by the single wall switch - just like in this picture (taken from Home Depot page on how to wire a ceiling fan):
It seemed straightforward to separate the lamp and fan leads, so the lead to the lamp is attached to the dimmer output O, and split out the neutral and switched hot wires - so neutral to fan, neutral to dimmer N, switched hot to fan, switched hot to dimmer L:
It is fine that the power to the Dimmer is switched, as I keep the fan running 24/7. Is there anything wrong with this setup?
The lights work and can be dimmed, but in the web UI I am seeing "ERROR 4" but I can't find any documentation of what this means. I may also have seen earlier ERROR 5 but not at the moment. Attempting to calibrate using trailing edge (I believe this is the correct method) gets about halfway done before the lights shut off and I get an error "Calibration failed: 1" - the same happens if I select leading edge.
For reference, I am in the US, and the light kit has 4 lamps - each has a 3.5w GE LED bulb (and the web UI properly shows 15w consumption at 100% brightness).
Thank you!