I’ve used the code from @ChadCK and @dalec to create a Z-Wave 3-Speed Fan DTH with children switches. What this means is that whatever you name your device, three additional child devices will be created. They will be called ‘DEVICE NAME’ LOW, MEDIUM and HIGH. These additional child devices can be accessed from other smart apps and more importantly from an Echo or Google Home device. These child devices will not show up on your device list (only inside the parent DTH).
As a note, this should be fully upgradeable from ChadCK’s DTH (should not break any existing integration).
Continues to support custom commands:
You will need to install both the parent and child DTH from my repository at jhamstead/jhamstead to IDE.
As a note, the child devices are there if you have LOW, MED and HIGH buttons in your device. Those buttons will be missing if the child devices fail to install. They are accessable through routines, SmartApps, Google Home and Amazon Echos.
If not, in IDE you’ll need to install and publish both the Z-Wave Fan Control and Z-Wave Fan Control - Child Device DTHs. Afterward, set your device to Z-Wave Fan Control in IDE. The children should automatically be created. You can force a child build by entering and saving the settings for your device in the SmartThings Classic App.
If that still fails PM me with your live logs. I’m sure we’ll be able to track down the issue.
Thanks for the handler, works great in ST. With my echo’s I’m experiencing so issues. “Alexa fan medium” doesn’t work but “Alexa fan med” does. And “Alexa fan low” does nothing while the fan is off and lowers the current speed by 10% when the fan is on. “Alexa fan on low” works in both cases.
I’ve now installed a second GE Z-Wave Controller Switch and set it up to use your DTH. I’m wondering if I need to have a seperate DTH for each fan. As it is, I just pointed my new fan controller device to the existing copy of your DTH. The parent and three children were created and I can use them with ST Classic, Action tiles but when using Alexa, the three children only turn the fan on and off at it’s previous setting. I can tell Alexa to set a certain percent and that works - including setting the proper child switch on/off. I do not have this issue with the original fan that was set to use this same DTH.
I hope that makes sense - and do I need to have seperate DTH copies for each fan? I didn’t think so but trying to figure out the issue?
I have installed the DTH and updated the device. Works good in Classic App but now my fan doesn’t work at all in new smartthings app. I am getting "Network or server error occurred. Try again later. Any recommendation how to fix it. Thanks
In my case it was Smarthing problem. It was outage from their side
Check if they have any outage or not. Also you can remove and readd the device
Generally if this kind of error occurred it is some kind off problem on their side
Also unplug your hub wait a bit and plug it in to power again
Hope this helps
I’m attempting to use this custom handler for the GE Z Wave Fan switch. From what I’m seeing, it’s as though the fan can’t stay on. I choose “on” and it turns on for just a second or two. The fan visibly does run, but then immediately switches off. This powering off is also reflected in the Smart Things app.
Is this something to do with the handler, or am I possibly trying to use a switch that just won’t work with my fan? My fan came with a “dumb” switch, showing 4 possible settings, 0-3. Zero is off, 1 is high, 2 medium, 3 low.
Any advice is appreciated. I’ve had quite a time getting a switch that will work with these fans at all.