[OBSOLETE] 3 Speed Ceiling Fan Thermostat

Sorry Daniel. can you let me know what version you loaded? It shows up on the user preferences at the bottom, right above the Assign a name. I made a bunch of little changes to clean it up before submitting it to SmartThings and I must have dinged it. I’m looking for the bug now and it will help speed it up if I know which version you got this error at.

It’s 1.0.20160515d

Thanks. OK, I think I found my typo error that caused your issue. It was like I thought when I was cleaning up the code I neglected a line. The IDE simulator didn’t flag it.

Go back to github link above and get the latest code from today,

Version: 1.0.20160516

Yes this did the trick, thank you. This app makes it much simpler.

Like you I also used Rule Machine to do these rules before, but for my bedroom ceiling fans I rely on presense as a trigger because I don’t want them to shut off at night.

1 Like

I have a couple of questions to see if this may work for me. Hopefully one of you using this app or @dalec will be able to advise me.

I’m using GE 12727 switches which are strictly on/off. What I would like is to turn my fans on when ecobee reported temp gets to 75 or more and mode is home. If temp drops below 75 turn fans off. If mode changes from away to home evaluate temp and turn fans on if 75 or more.

I know this app was created to control speed as well but would the scenario I described above be possible with this app?

Dale,
Thanks for putting in the time to get this cool app up and running. I am new to all this. I have a GE 12730 switch and was using it with the device handler jscgs350 : My GE Fan Control Switch and that works well. ( it was only a week ago and my first customer handler). I came across you post and have a Aeon Labs MultiSensor 6 and the 12730 fan switch to changed my device handler to your recommended ChadCK : Z-Wave Smart Fan Control. I have added your code to My SmartApp seciont
configured as follows for Version:1.0.160603

Location: Home
Temperature Sensor: Physical Device :Aeon Labs MultiSensor 6
Fan Control Device: Physical Device : GE12730
Room Setpoint Temp: 75
Fan Differential Temp: "default"
Motion Device: "blank"
Enable Ceiling Fan Thermostat?: "default"
Assign a Name: FamilyRoomFan
Mode: “blank”

The error I get is as follows

grails.validation.ValidationException: Validation Error(s) occurred during save():

Field error in object ‘physicalgraph.app.InstalledSmartAppData’ on
field ‘name’: rejected value []; codes
[physicalgraph.app.InstalledSmartAppData.name.blank.error.physicalgraph.app.InstalledSmartAppData.name,physicalgraph.app.InstalledSmartAppData.name.blank.error.name,physicalgraph.app.InstalledSmartAppData.name.blank.error.java.lang.String,physicalgraph.app.InstalledSmartAppData.name.blank.error,installedSmartAppData.name.blank.error.physicalgraph.app.InstalledSmartAppData.name,installedSmartAppData.name.blank.error.name,installedSmartAppData.name.blank.error.java.lang.String,installedSmartAppData.name.blank.error,physicalgraph.app.InstalledSmartAppData.name.blank.physicalgraph.app.InstalledSmartAppData.name,physicalgraph.app.InstalledSmartAppData.name.blank.name,physicalgraph.app.InstalledSmartAppData.name.blank.java.lang.String,physicalgraph.app.InstalledSmartAppData.name.blank,installedSmartAppData.name.blank.physicalgraph.app.InstalledSmartAppData.name,installedSmartAppData.name.blank.name,installedSmartAppData.name.blank.java.lang.String,installedSmartAppData.name.blank,blank.physicalgraph.app.InstalledSmartAppData.name,blank.name,blank.java.lang.String,blank];
arguments [name,class physicalgraph.app.InstalledSmartAppData]; default
message [{0} cannot be blank]

Any guidance on what I am doing wrong or where to look.

And again Thanks for creating the app.

Regards
-j

My smartapp won’t work for your use case but there is a solution for you. Since you only have on-off control without multi-speeds you could use the basic Virtual Thermostat . You will find it on your SmartThings mobile app in the Marketplace section under Climate Control.

Just to make sure, my smartapp is loaded on your phone, correct? Sometimes it is easy to forget where you are in the IDE when you are working with device handler code @ChadCK versus the smartapp code that I did. Make sure you are in the “My SmartApps” of the IDE when saving my Thermostat code and in the “My Device Handlers” of the IDE when saving the device code.

I haven’t seen that error before. Just to be sure, your temp input from the Aeon Labs MultiSensor 6 is reporting a temperature in its default configuration when viewed from the mobile app? And the same with your GE 12730 switch, does it control manually now through each of the speeds when you have the device up on your mobile app. I have these exact same hardware devices and the smartapp definitely works with them. And the error is the smartapp is not saving the configuration or it is saving the configuration but it is not controlling the fan.

Thanks for your information and questions. I need to make some decisions of what control I need. I will try your app and see how it works. Sorry if i don’t get back and give you an update.

No worries Bob. Just trying to help. :slight_smile:

FYI, you accidentally posted your reply here in the wrong thread instead of where your original post is at.

I love this app design and going to set it up.
On qn.
Does it have any timer feature? Or any plans to include? Or is there any app you can suggest which will work well with this. My use case: Stop the fan after 4/5 hours as typically here in Colorado, the temp drops to comfortable almost always during midnight.

I think that is an interesting idea to add the feature but I need to understand a little more detail.

I am in Albuquerque and the same occurs where it gets comfortable during the night. But that is why built the smartapp so that it would automatically turn off the fan when it got temperature comfortable.

So are you NOT wanting to use a temperature sensor to control the speeds of the fan? Or are you wanting to add a stop timer after the temperature sensor has been controlling it for the 4/5 hours regardless of the lack of comfort from a high temp? Remember the fan will turn off as soon as it reaches setpoint regardless of time so you see my confusion.

Agreed on this use-case. A timer for when its on AUTO vs OFF would be cool!

Be more specific please on exactly the use case.

The timer needs to act how?

  • You have AUTO for temperature control and a totally different operational mode TIMER control that turns the Fan on and keeps it on until the Timer times out regardless of temperature?

  • Or are you saying when I am in AUTO mode controlling by temperature I want to be able to stop AUTO control after the TIMER times out? I think this is what you all are talking about but I just need to make sure of the use case

I could see it being used as:

For the next 4 hours run AUTO mode
or
For the next 2 hours run OFF mode

The second would actually be better for those times you come in from the hot FL sun and want the ceiling fan to crank up to full (and essentially override the AUTO mode) - I use an “OVERRIDE” home mode now to accomplish this. But to have it in the app would be nice.

2 Likes

This would be a great addition. My wife and I have had a few nights recently where the temp is below our auto setting but we had to get up and attend to our daughter. This raised our heart rate and when we lie back in bed, we are hot and need a cool off. I turn on the fan but two seconds later it shuts off. A 30 minute override would be ideal.
I had considered working on a piston in CoRE to do this, but why add complications if it can be handled in the app. Of course not being a coder, I have no idea what it takes to implement this. :slight_smile:

Does anyone have an alternative to this app that they are using? Too many times over the last few days I’ve noticed the fans not on, when the sensors are clearly reporting movement and temp that should be triggering the fan? I guess CORE could do it?

Something is going on for sure causing erratic behavior. I am in process trying to isolate why because things had been fine…

I had an issue with the fan not working properly for a day but it turned out to be because the Netatmo Connect link I was using to get the temperature in that room had broken.

I have an alternative temperature sensor in the room and have switched to that… and it seems to be working again now.

It is a weird non-consistent issue… right now with me it has been the SmartThings temp sensor? SmartThings is a hard one to troubleshoot when the system is behaving poorly.