anbork
December 19, 2018, 10:24pm
1
The Aeotec LED6 bulbs have come cool built-in effects that you can trigger from within their driver.
How do I trigger them from rule machine or HSM? I cant find any configuration option that allows these more specific control options
Thanks
Can you create a custom command to do this?
Expert Features: Custom Commands
With custom commands, you can explore any device you have to see the commands that it offers. There are two steps required to use those commands in your rules, and then a third to manage your commands.
Create, test and save your custom command with “Tap to create Custom Commands” on the Rule Machine main page
Incorporate the saved custom command into your rules with “Run custom commands”
Manage custom commands with “Delete saved commands” and “Test saved command on…”
Create, test and save your custom command
• Open Rule Machine
• Under Expert Features “Tap to create Custom Commands”
• Select a capability for devices to test for available commands (if unsure, try Actuator)
• Select a device of that capability to test for commands
• Select New custom command to see the available commands, then select the command you want
• Once selected, the command will be tested on the selected device and the results of the command execution shown
• Add any required parameters to the command
• After the command is executing against the device as expected, select Save command now, then Done, then Done again to return to the Custom Commands page
• The saved custom command will now be available in your new and existing rules
Select the custom command to run in your rule and the devices to run it on
• Create a new rule or edit an existing one
• In the Actions section (at the very bottom), select Run custom command, then select the custom command (saved above) and the devices to run it on
Be sure that each device selected supports the selected command; any errors will be trapped and shown in the logs.
Manage custom commands One or more custom commands can be removed by selecting them in Delete Custom Commands, then Delete commands now, then Done. You can also test saved custom commands against other devices you might select.
anbork
December 19, 2018, 10:28pm
3
Hmm, I think that would work, I see the parameters in the custom commands section (Never looked there )
So I make a two-step thing, have my rules execute the custom commands.
Is it possible to have HSM execute those custom commands as well?
Thanks
Not directly, but Rule Machine can be triggered from an HSM event to do something.
anbork
December 19, 2018, 11:41pm
5
Thanks all,
It would be nice to be able to rename the custom commands, the name setEffect(4) is fine now that I remember what 4 is, but in 3 months it will be annoying to have to go look that up again asking myself what the difference between setEffect(3) and 4 is once I forget everything....
system
Closed
September 19, 2022, 6:05pm
6
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.