exemconcepts Posted July 21, 2022 Share Posted July 21, 2022 Using latest composer version and EA-1 Trying to figure out a way to do programming so that when the dimming / brightness is adjusted on a Kasa dimmer (H203), it sends a command to the fan (via bond bridge driver) to control the fan speed. When I attempted this, the fan just goes berserk (keeps changing speeds). I did program the actual switch to turn the fan light on and off via programming and that wasn't too hard. See attached image. Am I even close? It's too bad there isn't an "in between" command, just = < > so I tried doing the "and" boolean but I just can't figure this out. Quote Link to comment Share on other sites More sharing options...
msgreenf Posted July 22, 2022 Share Posted July 22, 2022 You didn't indent your commands under the IFs Quote Link to comment Share on other sites More sharing options...
exemconcepts Posted July 22, 2022 Author Share Posted July 22, 2022 7 minutes ago, msgreenf said: You didn't indent your commands under the IFs Not following you. Appreciate the response though! Quote Link to comment Share on other sites More sharing options...
exemconcepts Posted July 22, 2022 Author Share Posted July 22, 2022 I did a google search for "indent control4" and found an earlier thread where you showed how to do this. Will give it a shot! Quote Link to comment Share on other sites More sharing options...
msgreenf Posted July 22, 2022 Share Posted July 22, 2022 Drag each arrow line over the? And that will indent it which actually makes it an if. Right now you have an if with no claws under it. So it's just executing all the commands sequentially which is why the fan is bouncing Quote Link to comment Share on other sites More sharing options...
Andrew luecke Posted July 22, 2022 Share Posted July 22, 2022 36 minutes ago, exemconcepts said: Using latest composer version and EA-1 Trying to figure out a way to do programming so that when the dimming / brightness is adjusted on a Kasa dimmer (H203), it sends a command to the fan (via bond bridge driver) to control the fan speed. When I attempted this, the fan just goes berserk (keeps changing speeds). I did program the actual switch to turn the fan light on and off via programming and that wasn't too hard. See attached image. Am I even close? It's too bad there isn't an "in between" command, just = < > so I tried doing the "and" boolean but I just can't figure this out. You need to drag the set commands onto the if's.. The cursor will change to a right arrow, and the Set Speed commands will appear indented Quote Link to comment Share on other sites More sharing options...
exemconcepts Posted July 22, 2022 Author Share Posted July 22, 2022 Yep, works a charm now. Thanks guys! Wish there was a debug window to show the commands being sent raw so I could troubleshoot. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.