I was trying to use ChatGPT to create a rule to turn power on for 4 hour then off for 3, but the instruction that came back do not appear to match up with the current version of Rule Machine. Can someone help me with modifying these instructions to work? I am currently getting stuck at steps 3 and 4 of Create the Actions
- Log in to your Hubitat dashboard.
- Click on "Apps" in the top menu.
- Click on "Rule Machine 5.1" to open the Rule Machine app.
Create the Rule:
- Click on "Create New Rule" to start creating a new rule.
- Give your rule a name, such as "Repeat Tablet Power Toggle."
Define the Trigger:
- Under "Select Trigger Event," choose the appropriate trigger event that will activate the rule. For example, you can select a specific time of the day or a trigger based on some other condition.
Create the Actions:
- In the "Define Actions to Run" section, click on "Conditional Actions."
- In the conditional action, click on "IF (Condition) THEN" and choose "Simple Conditional."
- For the "IF (Condition) THEN" section, select "Elapsed Time."
- Set the elapsed time condition to "4 hours" and choose "Cancel" for the "Repeat Options."
- Click on "Select Actions to Run" within the "IF (Condition) THEN" section.
- Click on "Toggle" in the "Action Type" section.
- Select "Tablet Power" from the list of devices or switches.
- Under "Action for True," select "Turn On" to turn the Tablet Power on.
- Click on "Done with Actions" to close the "Toggle" action.
- Click on "Done" to close the "IF (Condition) THEN" section.
Create the Repeat Actions:
- Click on "Create Repeating Actions" to add a repeat loop for the rule.
- In the "Create Repeating Actions" section, click on "FOR" and set the duration to "3 hours."
- Click on "Select Actions to Run" within the "Create Repeating Actions" section.
- Click on "Toggle" in the "Action Type" section.
- Select "Tablet Power" from the list of devices or switches.
- Under "Action for True," select "Turn Off" to turn the Tablet Power off.
- Click on "Done with Actions" to close the "Toggle" action.
- Click on "Done" to close the "Create Repeating Actions" section.
- Click on "Done" to close the "Define Actions to Run" section.
Save the Rule:
- Click on "Save Rule" to save the complete rule.
With this rule, the "Tablet Power" device will be turned on automatically when the rule is triggered. It will remain on for 4 hours, then turn off for 3 hours, and then the cycle will repeat.