Back to the drawing board. I cut the breaker to the bedroom, and even let it sit off for a few minutes. As soon as I turned it back on, nothing. Checking the logs, it's showing the fan turned off physical and on physical in relation to the breaker being off and on. What's odd is while power was out, the fan was showing as still being on in the dashboard. So, not sure why that would be.
But, in any event, when power goes out, HE ultimately thinks the fan was turned off by the physical switch. So that pretty much rules out any kind of virtual or actual device that basically mirrors the fan control as a way of remembering the state.
I'm still trying to figure it out, but at the same time, I'm not going to add extra scene controllers next to my existing fan control on the wall. It's annoying but I also still want a clean install in the house.
I don't think this is surprising. The last report from the switch was that the fan was on. When you lose power the switch can't communicate with the hub so it still thinks it's on. I'm surprised, though, that the switch is reporting a physical event when the power comes back on.
Are you using the GE Smart Fan Controller driver? If so, does the double tap work?
@tpaairman Ok... Been thinking more about this.... Again I'm going back to using the Ring v2 extender. So everytime the fan switch is turned on, have a variable populated. When it's off have the variable changed to reflect. (Lets call the variable FAN-OFF and FAN-ON for giggles) My understanding is this will survive a reboot as well. Now create your conditional rule trigger with the change of the power status on the extender switching to battery and back. Start with if the variable fan-on is there when the extender changes back to mains the fan gets turned on, but if it's fan-off then do nothing. Now if the power goes out for an extended period of time after the hub shuts down (this would be a guestamation of how long the ups lasts with the hub on it). Anyway upon reboot you can have the reboot itself trigger the rule and check that variable for fan-on or fan-off and act accordingly.
If there was a off or on event then you can trigger on it. So you set a virtual switch or variable that indicates if the fan is supposed to be on when you go to sleep, and if there is any kind of off or on event while you sleep, send a on command. Maybe do a refresh and then send a on command.
Does the Ring Extender connect to HE on it's own? When I look on Amazon, it says it needs a Ring base station.
But, along the lines of what you are saying, I'm thinking a virtual switch. A variable could work, but I'd think the V-swtich is more likely to survive a reboot. But, I'm thinking more along the lines that if the extender switches off main, but the fan shows on, then turn the V switch on. Then when power is restored, that would trigger a rule that would turn the fan on if the V switch is on.
If double tap works on this switch then button 1 should be on and button 2 off. You just need to double tap the off to make this updated rule work.
Trigger Events:
Fan Switch physical on
Actions to Run
Repeat every 0:10:00 (stoppable)
On: Fan Switch
Wait for event: Fan Switch button 2 doubleTapped off OR Button 1 pushed
Stop Repeating Actions
END-REP
Off: Fan Switch
I did some more digging and i can't find anything indicating that switch should have a option for power restore action. I know that is no surprise considering this thread but it just blows me away that Jasco/GE doesn't have such a basic function built in. I have the Inovelli Red fan switch and it works well 99.9% of the time. I think I have had to pull the air gap twice in my few years of having it. Hopefully they come out with a replacement soon.
That said I would suggest you reach out to Ge/Jasco and see if they can help you set that option. I feel like it has to be in the device programming just not exposed for setting. Heck it knows enough to tell the hub it is off when power is restored.
Not in a full sense. It has a preset to use when turning on that is either a preprogrammed fan speed value or a the last used fan speed value (Parameter 5). It should simplify state restoration but not fully solve by itself unfortunately
That said I would suggest you reach out to Ge/Jasco and see if they can help you set that option. I feel like it has to be in the device programming just not exposed for setting
I asked Leviton support about it. They seem to think it reverts to previous state. I guess it would take someone on this forum to verify its behavior to be certain.
The documentation is very limited. What i am suggesting and hoping is that something isn't documented. Controlling the state of a device after it recovers from a power loss is a very basic feature and it would be a huge oversight for Jasco to miss that. I suspect there may be a button combination that will change it even if it isn't exposed via z-Wave parm.
I suspect ultimately if that isn't the case the OP will need to look at a different fan controller. Something that handles recovery from power loss gracefully. The inovelli does a good job of it, but it discontinued. The old KOF zigbee device handled it well but is gone as well. The leviton option looks good and if it is able to return to last powered state that probably will do it. Another option may be to look at a Bond Controller to manipulate the fan via the RF controller it had.
I have 6 of the GE/Jasco fan controllers in my house of varying age. The latest firmware is 5.24 on their GitHub site. I just conducted a little experiment to see if cutting power to an older 5.22 and a 5.24 behaved the same and unfortunately they both remain off after power is restored.
I still stand by my suggestion above though that will keep things simple and no additional devices required.
Well i would suggest looking for a new controlling device.
That said. The fact the switch tells the hub it is off when power is restored could be used to trigger off of.
I would suggest similar to @ritchierich the use of something like Mode/virtual switch/hub variable or really anything to indicate the room/house is sleeping. When that happens use a hub variable to track the state of the fan speed before that was initated. Then when in that sleeping condition have a rule that reacts to that device being set off and turning it back to the stored speed setting.
It isn't perfect because you can't change the fan speed once it has started. You could add RM rule to adjust them fan based on temp to address this as well.
I haven't had the chance to try this one out yet. I've had a couple things come up that I've had to deal with, but I'll be back on this in a few days. I had already set up something of my own just before this was posted where I'm using a virtual switch and a rule that if the V switch is on but the fan is off, turn the fan on, and using the fan controller on the wall, by double tapping the off button.
It's working for the most part, though I do want to try the above rule, but for some reason, when I double tap, the fan still turns back on. It's not every time though. I think the problem is it's not turning off the V switch in time.