So. Mixed results.
I set up my test bed. A simple switch, light bulb and associated wiring to mimick a two wire switch, no neutral at the switch.
I set the dimmer 2 up as per the wiring guide on vesternet and added a customer device based on the code from rajiv posted here:
At first after the device had been discovered as a fibaro dimmer, I didn’t realise that I had to set it in ide as the newly created fibaro dimmer 2 UK.
After doing this, the device eventually behaved. I could switch it on using the switch and using the smartthings app.
So, I decided to unplug my test bed and move it to a location where I could test while seated and reading the forum for further information.
However when powered back up in its new location the light did not work.
When first plugged in it cycles from off to full brightness twice, then a third time but much slower. Then it goes off. When I try turning it on from the switch, it turns on (full brightness) then goes off after a second. Same action when turning on from the app. Status goes to “turning on”, briefly shows as “on”, then goes “off”.
Does exactly he same when I now move it back to the test location near the hub.
I’m concerned that I’ve just mimicked a power cut, and what happened was apparently the dimmer going screwy and not reverting to how it should.
Any ideas?
I’m nowhere near giving up, but I must say I’m disappointed that there isn’t a simple setup for a lightswitch, and it involves the use of custom code to get a basic device close to working with smartthings. It’s not filling a newbie with confidence that smartthings actually care about sorting the basics in the UK.