Skip to main content

Red Series MM-Wave How to Disable Auto On/Off of Load on a Schedule • Hubitat

This article will teach you how to change a parameter inside the Hubitat app as well as provide specific examples.

L
Written by Lance M
Updated today

Introduction

This guide covers the process of using Rule Machine, Hubitat’s automation engine to modify a device’s internal configuration parameters based on a schedule.

This is particularly useful for tasks like dimming the LED indicators on smart switches at night or changing the sensitivity of motion sensors during specific hours.


Prerequisites

  • Device Driver Support: Ensure you have the Inovelli drivers installed (manually or with Hubitat Package Manager) as the Inovelli device drivers support the setParameter command. Most community drivers and advanced built-in drivers include this.

  • Parameter Details: You will need the Parameter Number and the Value you wish to set. These are usually found in the device's manual or the manufacturer's online documentation.

  • Creating Rules in Rule Machine

  • Creating If This -Than That based rules in Rule Machine


Step-by-Step Configuration Of a Conditional Rule

Create a Conditional Rule (If This Event-Then That Action)

  1. 1. Create a New Rule

  2. Navigate to the Apps tab on your Hubitat dashboard.

  3. Open Rule Machine and select Create New Rule.

  4. Select Create New Rule

  5. Give Your Rule a Unique Descriptive Name

  6. Create Your Triggers

  7. Then click the +

  8. Then

  9. Then Certain Time

  10. Then pick one of the three options Certain Time, Sunrise, or Sunset

  11. Then set your time

  12. Then select Done with this trigger event

Note: You will need to create 2 (two) triggers. One to start the rule and one to stop the rule


2. Create The Condition (If This -Than That)

  1. Select Actions To Run

  2. Click the +

  3. Select select action type to add

  4. Select Conditional Actions

  5. Click select which action

  6. Select IF expression THEN

  7. Define the condition

  8. Select New Condition

  9. Select Capability

    Then

  10. Set you from and to times

  11. Select done with this condition

  12. Repeat steps 8 through 11 to create the condition to stop the rule between the hours you want the load to be controlled from the MMWave sensor.

  13. Once both conditions are created select done with this condition

  14. Select create new action

  15. Select action type to add

  16. Select IF expression THEN

  17. Select the starting condition you created

  18. Select done with IF expression THEN

  19. Click Create New Action

  20. Select Action to Add

  21. Select Run Custom Action

  22. Select capability for action: Choose the capability of your device (usually Switch, Dimmer or Actuator).

  23. Select devices to add to action: Pick the specific device you want to modify.

  24. Select custom command: Look for setParameter.

    • Note: If setParameter isn't there, the driver may not support manual overrides via Rule Machine.

  25. Add Parameter(s): You will need to add two parameters the parameter number and the value

    • Parameter 1: Parameter Number (Integer)

      Then enter parameter number (in the example it is 110 and click done with parameter

    • Parameter 2: Value (Integer), add parameter, select parameter type, and integer value for load control 1 (One=Enabled), on (1) or off(0), etc.

    • Then enter Value (Integer)

  26. Click Done with Action, then Done with Actions.

  27. Click Create New Action

  28. Click ELSE-IF Expression THEN

  29. Then select the condition created to stop enable load control of the MMWave switch

  30. Click Done with IF Expression THEN

  31. Click Create New Action

  32. Select Set Variable or File, Run Custom Action and Run Custom Action and Actuator and Actuators to act on select your MMWave switch and setParameter

  33. Select Add a parameter

  34. Select parameter type and add integer value for load control parameter 110 and Done with parameter

  35. Select Add a parameter

  36. Select parameter type number, integer value 1 (one) to enable load control and click Done with parameter

  37. Click Done with Action

  38. Click END-IF

  39. Click Done with Actions

  40. Click Install Rule

Did this answer your question?