Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

One Button KPL Fan Control

Featured Replies

Posted

I did a quick search on the forum and couldn't find someone that has a similar scenario to use the FanLinc on one button. I have been running this for about a week now. It's been working nicely.

 

I have a scene named "Fan", with the FanLinc and non toggle KPL button for status purposes. I also use a RemoteLinc in the room to control the fan in similar fashion.

 

The KPL button is "MB_B Fan Control".

The RemoteLinc button is "MB_RMC".

 

If there is some code can be cleaned up, please don't hesitate to suggest.

 

The programs are as follows:

 

Click to High:

If
       Status  'Second Level / Devices / Master Bedroom / MasterBed Fan' is Off
   And-(
      |     Control 'Second Level / Devices / Master Bedroom / MB_RMC - Fan' is switched On
      |  Or Control 'Second Level / Devices / Master Bedroom / MB_B Fan Control' is switched On
      -)
    Or-(
      |     Status  'Second Level / Devices / Master Bedroom / MasterBed Fan' is Low
      | And Control 'Second Level / Devices / Master Bedroom / MB_RMC - Fan' is switched On
      -)

Then
       Set Scene 'Second Level / Scenes / Fan' On

Else
  - No Actions - (To add one, press 'Action')

 

Click to Medium:

If
       Status  'Second Level / Devices / Master Bedroom / MasterBed Fan' is High
   And-(
      |     Control 'Second Level / Devices / Master Bedroom / MB_RMC - Fan' is switched On
      |  Or Control 'Second Level / Devices / Master Bedroom / MB_B Fan Control' is switched On
      -)

Then
       Set 'Second Level / Devices / Master Bedroom / MasterBed Fan' Med

Else
  - No Actions - (To add one, press 'Action')

 

Click to Low:

If
       Status  'Second Level / Devices / Master Bedroom / MasterBed Fan' is Med
   And-(
      |     Control 'Second Level / Devices / Master Bedroom / MB_RMC - Fan' is switched On
      |  Or Control 'Second Level / Devices / Master Bedroom / MB_B Fan Control' is switched On
      -)

Then
       Set 'Second Level / Devices / Master Bedroom / MasterBed Fan' Low

Else
  - No Actions - (To add one, press 'Action')

 

Click to Off:

If
       Control 'Second Level / Devices / Master Bedroom / MB_RMC - Fan' is switched Off
    Or-(
      |     Status  'Second Level / Devices / Master Bedroom / MasterBed Fan' is Low
      | And Control 'Second Level / Devices / Master Bedroom / MB_B Fan Control' is switched On
      -)

Then
       Set Scene 'Second Level / Scenes / Fan' Off

Else
  - No Actions - (To add one, press 'Action')

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.