If this is your first visit, be sure to check out the FAQ. You must register before you can post. Your first post will be checked for appropriate content
(SPAM) - please allow a bit of time for that. After that, you'll be able to post at will!

Dim 1% = off?

November 5th, 2018, 11:45 PM

Good evening.

In my new build I've installed dimmers (some HS, many Jasco) and the most important person to please in the house would rather have the switches operate w/out local dimming capabilities (not a bad thing IMHO really) so I've configured all of them as following:

which is doing a great job if you just click the top button or click the bottom button. However... it seems as if people just can't seem to help but hold the button down when turning off the lights which results in a Dim = 1% status:

And when someone goes to turn it back on they have to click it off and then back on to get it back to responding in a "normal" fashion. Is there a setting at the switch level or global script that I can put into place that will make this behavior go away and, on the local level, just let these switches either be on or off?

The obvious thing is that, hindsight being 20/20, I should have not purchased dimmers and just switches .. but if I could read minds I probably would have someone else doing this post for me from my luxury villa in the Maldives

Also -- For the Ramp Rate for local commands it seems that the lowest parameter I can get to stick is 3 for the timer. I'm not sure if this is related but it seems to not matter the type of switch, etc.

Thanks in advance. I'm loving getting up and running with HS.... I'm an ex Smartthings user and the reliability alone is mind boggling when compared with that platform not to mention how great it is to be able to control and program the switches directly.

This is possible with an event. Here's one way you can set it up for the HS dimmers (I don't own Jasco):

Some things of note:

IF [ This device had its value set to... ] <--- Choose this one and NOT if this device changes and becomes
[ XXXXX Central Scene ] <--- This is the device that reports the switch toggle status
[ Bottom Released ] <--- I renamed mine and I cannot for the life of me remember what the default phrase is, but you want whatever maps to status value 2001 for HS dimmers

Then [Control a Device]
[ XXXXX Switch Multilevel] <--- This is the device that you can actually control with the on/off and slider

Once you get it working for one switch you can then copy the event and change the devices on each one to match your switches.

You can use the same event template to force a single press to turn the light on to full... just replace the trigger with the single top press and change the "off" to "on"

Comment

Thanks much on this! I'll try setting up some events tonight and run some tests. Nice and straightforward (and I should have thought of it ). Does seem like I'll have to do it switch by switch... but that's finite and I'm a-ok with a one time setup for sure. I'll let y'all know how it goes.

Comment

If you have the Easy Trigger plugin, you could create a group with all of the dimmers and just write one event that triggers if any device in the group is set below a set %. You would need to do some simple scripting though since you would respond to the trigger using a script that reads the Reference # that caused the trigger to fire and then adjusting that device using a simple immediate script -- I think the following script would work to set the triggering device to off:

&hs.setdevicevaluebyref($$GLOBALVAR:ETDeviceValue:,0,True )

Comment

If you have the Easy Trigger plugin, you could create a group with all of the dimmers and just write one event that triggers if any device in the group is set below a set %. You would need to do some simple scripting though since you would respond to the trigger using a script that reads the Reference # that caused the trigger to fire and then adjusting that device using a simple immediate script -- I think the following script would work to set the triggering device to off:

&hs.setdevicevaluebyref($$GLOBALVAR:ETDeviceValue:,0,True )

Oh this idea sounds great. I'm going to try this and see if I can get this to work.

Comment

Oh this idea sounds great. I'm going to try this and see if I can get this to work.

Sounds like a great idea, but ... I just tried it and learned that hs.setdevicevaluebyref command works on a virtual device, but does not appear to work on a physical device. For that, you have to use a "CAPI" script command. I'll try to figure out the correct command.

Comment

Here's the event I came up with using Easy Trigger and a CAPI command. The group "Office_Dimmers" has all of my office dimmer devices in it.
The event triggers when one of the dimmers is sent below 5% and *should* turn that light to off using $$GLOBALVAR:etdeviceref: to determine which was the triggering device, but it doesn't work and I"m not sure why. The Log gives the error: