[quote=“garrettwp, post:12, topic:164851”]Does the device even support the modification of the led? The only devices that I know of that allow the modification of the led is the Leviton scene and zone controllers.
The doc for the GE ZW3003 switch says that:
0 = LED is on if switch is off (default)
1 = LED is on if switch is on
2 = LED is off always
By setting this manually in Configuration Settings under Device Options on the Vera, it works as advertised. So one would assume it should also be programmable because the result gets posted to the Advanced variable, “urn:micasaverde-com:ServiceId:ZWaveDevice1, ConfiguredVariable”. Go figure.
[quote=“guessed, post:13, topic:164851”]Setting Variables via variable_set does just that, these values are not propagated to the physical device. You’ll probably need to muck with the SendData service method… If those devices are able to take commands, and you can work out how to send it in ZWave form.
For the Leviton’s, there’s a built in method as Garrett indicates:
Guessed, I am not sure what you mean, "… does just that, … " Do you mean it gets posted in Vera, but not transmitted to the physical device? That would match the symptoms, except that the ConfiguredVariable field does sometimes change, but it is not consistent. I’m not certain why. Perhaps I should be more rigorous in my testing.
[quote=“oTi@, post:14, topic:164851”]You’d probably have to do a [tt]Reconfigure[/tt] on the device to actually get the settings updated in the device itself, not just the variable in Vera.
[tt]Reconfigure[/tt] is a bit of a crude method though, as it does ‘too much’. However, I’m not aware of a call (other than low-level Z-Wave) to rewrite just the configuration parameter in the device.
Also, I’m guessing the LED parameter takes 0 or 1 as a value, but perhaps anything other than 0 is fine to invert.
Are you going to invert the LED with every state toggle, also?
Edit: partial cross-reply with @guessed; the low-level Z-Wave command I mentioned, is the [tt]SendData[/tt] @guessed is referring to.[/quote]
The parameter it takes is: “3,1d,n”, where n is the value I mention in reply to Garret above. The 3 means parameter 3 in the switch (7 sets the dimming rate, 9 sets the steps in dimmer’s rocker, etc. etc.) … 1d is the format, that is, 1 byte decimal. All this works fine manually, so I suspect you are correct that this is never getting downloaded to the device. And yes, I plan to set the value when the switch changes from off to on, or vice versa,but is also being driven by other events such as a sensor being tripped.
Any help on “Reconfigure” and the SendData command would be appreciated.