Z-Wave Smart Fan Control Custom Device Type

fan
dth_hvac

#78

Exactly what @ryan.ray did with virtual devices tied to the physical device. It will require a SmartApp, and what he did with Rule Machine is perfectly fine.


(Peter Richardson) #79

Thank you. I’ll play around and see if I can get this working.


(Dave) #80

Thanks for a great Device Handler!!! Hard to believe this wasn’t part of the “built-in” device handlers as ceiling fans are SO common.


(Dale C) #81

Here is a smartapp designed to do this exactly.


(Chris) #82

I would love for Echo to work with low/med/high commands. I have 8 fans, not going to set up 24 virtual switches and associated triggers.


(Ryan Ray) #83

Take look at this…


GE Ceiling Fan Switch Custom Device Type - Low, Med, High buttons w/no slider!
(Chris) #84

Perfect! I can work with that. Thanks!


(Mike) #85

@ChadCK Thanks for the custom device. Just installed it and works great!


#86

@ChadCK is there a way to have the physical switch to always reset to MED after its been turned off? This way a flick of the physical switch to ON will always start in MED?


(Chris) #87

You can do this with the Smart Lighting app. Set up a rule to Turn on and Set Level of “your fan” to 50% when “your fan” is switched on.


#88

ahhh good call. Thanks for that.

Another question, how are people using switch on the physical side? Seems a little convoluted to hold the paddle up or down and wait for the setting to go higher or lower. Is there a way to make it where one toggle of the paddle sets to low, 2 sets to med and 3 sets to high or something like that?


(Allan) #89

There doesn’t appear to be any way to do that per the switch documentation and the advanced z-wave config stuff.

http://www.ezzwave.com/advanced-operation/


(Charles) #90

@ChadCK Thanks for this DTH. I’ve been using it for a couple of days and wonder/hope you are still developing it. Something I’m looking for (that may well be beyond the ability of the device) is for an isPhysical message to be sent if it’s pressed OFF when the switch is already OFF.

I get the isPhysical event if it’s on, but nothing when the switch’s pre-existing condition is already OFF. Any chance you could look at that?


#91

Thanks for sharing this @ChadCK! I just used this on my Z-Wave Smart Fan Control, and it works exactly as I wanted to. The only modification I made was removing the slider as I didn’t need it.

I’m new to using the SmartThings IDE and Groove, so I’m pasting the changes I made in case there is a better way to remove the slider, or in case anyone else finds it useful:

Comment out (or remove) the following lines from the code:

		controlTile("levelSliderControl", "device.level", "slider", height: 2, width: 2, inactiveLabel: false) {
			state "level", action:"switch level.setLevel"
		}

Then, replace the following line (two lines below the above):
details(["switch", "lowSpeed", "medSpeed", "highSpeed", "indicator", "levelSliderControl", "refresh"])

With the following:
details(["switch", "lowSpeed", "medSpeed", "highSpeed", "indicator", "refresh"])

Again, thanks for sharing!


(YankeeJohnboy) #92

Installed a new GE fan control switch yesterday, having preloaded @ChadCK’s DTH. I was a little surprised when it didn’t pull that DTH after inclusion, using the stock dimmer instead. A quick fix in IDE had me straightened up, but wondering if I missed a step for auto-assignment?

BTW, DTH is working great, thanks for this!!


#93

Just curious: Is there any way to get the fans to reverse direction? I installed the GE switch this afternoon on my Postino fan, which has a reverse setting on its remote. (Reverse had worked fine on my old standard switch.) Since installing the smart switch, the reverse setting doesn’t seem to work anymore, and I don’t see a reverse setting in either this custom device type profile or the stock app. Any help appreciated!


#94

Reverse isn’t part of any device type, and it’s not a command supported by the zwave switch. I wish it did because I have a ceiling fan without a physical reverse switch on the motor, so it’s always going in one direction.

This is a long shot, see last post:

Use your ST mobile app instead of the remote?


(Dale C) #95

I found this that should help which is similar to @johnconstantelo suggestion.

If you have a remote controlled ceiling fan with no reverse switch don’t worry if you lost the remote. You can reverse the direction of the fan manually. Remote controlled fans are controlled with a sequencing code from the remote which is simply controlled by cutting the power ON and OFF. To reverse your fan direction turn off the power switch to the fan. Take a broom and hold the blades still. Flick the power on and off a few times leaving the power off. Wait a few second then turn the fan blades in the direction you desire then turning the power back on to the fan. The fan should now continue in the direction of your choice.

If this works for you post back because you would think then this can be mimicked in the device handler or a smartapp for those lucky enough to have that style of ceiling fan.


(Mauricio) #96

Trying to install this device handler but not able to see the device types in update from Repo. I am entering Owner ChadCK, Name SmartThings, Branch Master but nothing is coming up. Is my info incorrect?


(Charles) #97

Not sure if it matters, but I have “master” (lower case m).