oh ok. The manual says Parameter 20 should = 2 for this setup;
2 - roller blind switch - two switches operate
the Dimmer 2 (S1 to brighten, S2 to dim)
His latest code has this in a function but it doesn’t work for me unfortunately:
def configureTwoWayThreePositionMomentary() { //define configuration 2 parameters log.debug "configureTwoWayThreePositionMomentary()" secureSequence([ zwave.configurationV1.configurationSet(parameterNumber: 20, size: 1, scaledConfigurationValue: 2), // Enable Dimmer to work with 3 Position Momentary Switch zwave.configurationV1.configurationSet(parameterNumber: 35, size: 1, scaledConfigurationValue: 2), // Auto Calibration (0=No after Power On, 1=On First Power On, 2=On Each Power On) // Register for Group 1 zwave.associationV2.associationSet(groupingIdentifier:1, nodeId: [zwaveHubNodeId]), // Register for Group 2 zwave.associationV2.associationSet(groupingIdentifier:2, nodeId: [zwaveHubNodeId]), ]) }
Well, in the parameters section for mine, I have everything commented out:
[code]def configureAfterSecure() {
log.debug "configureAfterSecure()"
secureSequence([
/** zwave.configurationV1.configurationSet(parameterNumber: 20, size: 1, scaledConfigurationValue: 1), // Enable Dimmer to work with Toggle Switch
zwave.configurationV1.configurationSet(parameterNumber: 26, size: 1, scaledConfigurationValue: 1), // S2 can control dimmer as well
zwave.configurationV1.configurationSet(parameterNumber: 32, size: 1, scaledConfigurationValue: 1), // On/Off Mode (0=Dimmer,1=On/Off,2=Auto)
zwave.configurationV1.configurationSet(parameterNumber: 35, size: 1, scaledConfigurationValue: 2), // Auto Calibration (0=No after Power On, 1=On First Power On, 2=On Each Power On)
*/
// Register for Group 1
zwave.associationV2.associationSet(groupingIdentifier:1, nodeId: [zwaveHubNodeId]),
// Register for Group 2
zwave.associationV2.associationSet(groupingIdentifier:2, nodeId: [zwaveHubNodeId]),
])
}[/code]
And from here, it looks like you need parameter 26. I’d leave all others as default (comment them out) and try that.
Rajiv originally wrote his script for on/off (non momentary) wall switches.
Thanks a lot, in the end I actually took the original template for the 211 dimmer and re-wrote it myself and it works. The issue was purely the scripts I had downloaded form here were not sending the parameters or even the on/off codes correctly and I’m still not sure why they are different to v1. I wonder if it has anything to do with me using a 2 wire config instead of 3?
Anyway, I can now set it up correctly and have a list function to ensure the parameters are correct:
That is strange. I’m on a 2-wire system and this worked for me.
Still - glad you have it sorted. I think these Fibaro’s are great but there still seems to be a bit of black magic here and there when using with SmartThings!
Can anyone help with a bit of wiring advice? The switch on the left is the one I want to use for my Fibaro Dimmer, but I’m unsure as to the best / correct way to wire it up. Anyone able to help?
That looks bog standard to me, and everything you need should be in the instructions.
If you’re at all unsure or not confident, you should use an electrician. Taking these things on yourself is one thing (although technically against the law, even in your own house if you’re not an electrician). Advising others on internet forums is quite another.
Every time I try to create a code I get this message below, and it won’t let me create it. I’m only trying to directly use one of the codes here. I haven’t changed anything as I’m unsure what to change but it seems I have the same setup as shazbot.
If anyone can help I’d be very grateful.
No signature of method: script14707559575621462335626.metadata() is applicable for argument types: (script14707559575621462335626$_run_closure1) values: [script14707559575621462335626$_run_closure1@4f85bd41] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)
Thank you for your help although when I tried this code, I had the same response. I’m a real novice so any help greatly appreciated. I literally copy and paste. Should I be changing anything specifically?
That’s what I was doing! Thank you. I will try Rajiv’s code. In a previous post you mentioned you commented out a parameter. What does this mean? All I need to do is make S2 work and both on momentary switches.
Many thanks
There’s a parameter section in the manual for the module, well worth a look over as it explains a lot about what it can do. Previous to Rajiv’s code, it was necessary to go into the development interface to set (or comment out) parameter settings.
Now these can be accessed directly through the ST app on your phone (cog icon). You will need to play around with these to get S2 to do what you want it to do.
I will have a read through that tonight. Could you just tell me, the cog icon just takes me into a section that says the device name and ON, then Give your device a name and the name again and then two buttons saying replace and remove. Am I looking at the right thing?
You’re looking at the right thing, although it doesn’t sound like you’re using Rajiv’s code (or at least the most recent variation) as there should be a lot more in there.
Hi, any news on the official ST certification on the Fibaro Dimmer 2? - I have the latest SmartThings Hub and the Fibaro FGD-212 installed - but not sure how to pair it to my hub as there is no such device listed in the app. Have others got this working? How do you pair it up?
I discovered that you can pair the Fibaro Dimmer 2 through flicking the light switch on/off three (3) times - whilst selecting the clicking on “Add a thing”, “Start looking for Things” … and eventually it paired. This is great to know as the unit was installed behind a wall and not easily accessible.