Ceiling Fan Speed Reverts to Original State After Piston Runs


#1

1) Give a description of the problem
I want my piston to set the ceiling fan speed based on the current indoor temperature when the fan is initially turned on. The log shows the piston runs fine, but then the fan speed always reverts back to the speed setting prior to the piston running.
2) What is the expected behavior?
Have ceiling fan automatically go to proper speed setting associated with indoor temperature when initially turned on.

3) What is happening/not happening?
Ceiling fan speed adjusts to proper speed via piston but then ends on the speed setting prior to the piston running (can see this happening in smartthings ide log)

**4) Post a Green Snapshot of the piston!

**5) Attach any logs (From ST IDE and by turning logging level to Fu


#3

I try to avoid ELSE IF statements whenever possible.

This piston should work for you:


#4

Thank you for the prompt response and good counsel on the “Else if”. Interestingly, with your simplified piston it runs and tries to move the fan to medium speed (temp below 79F) but gets stuck at the prior “low speed” setting and simply says “adjusting.” So the device is trying move put stuck in prior position. Weird.


#5

Is this Smart Fan a new device in your household? Have you successfully ran a piston to change the speed of the fan prior to making this piston, or is this your first piston controlling this device?

Also, to help us understand better, can you please turn Logging level to “Full” and then run the test again? You can then copy the log found below the piston and paste into a new post here.

Thanks


#6

I’ve had this GE fan control switch installed for a while, but this is the first time I’ve tried to run a piston to control this device.

Here’s the full log. Thanks for investigating!

image


#7

Hmmm, I am tempted to guess the issue is with the device handler.

To see if I am right, can you make a new one line piston and then manually test it?

temp

If the command will not work by itself, then no piston can resolve it.


#8

It failed. I’m using the Z-wave smart fan control device handler. Ideas for another device handler for the GE smart fan switch?


#9

As you suspected…it was the device handler. I was using an upgraded device handler, so I switched to the generic z-wave dimmer and now it works fine. I also had to use “set switch” instead of “high” or “med” for condition. Wonder what it was about that DH??


Here’s the working piston. Very simple!

Thanks for your help!


#10

Many Device Handlers are made because there was no other DH out there at the time. Often, it’s a labor of love, or a hobby; which means many DH are still in beta IMO… (but something is better than nothing)

I have a hunch there is a thread opened somewhere focused entirely on your old DH. This is often where the dev posts changes, and users can make comments or bug reports etc.
(I try to bookmark the main thread for each DH I install for future reference)


Glad you got it working! Breaking down problem pistons is often a great way to narrow down the issues!


#11

Indeed. thanks again for the help. Working great now!