@Michael_Horton, well this question came in just at the right time. We just rolled out the rule HTTP Trigger feature this morning, and this would make it easer to pass Hubitat variables to SharpTools variables, which can be displayed in the dashboard(s) then.
Step 1: Create a rule in SharpTools to set variable based on the value passed in
- Create a variable in SharpTools using the same type as your Hubitat variable (ex: String)
- Create a rule in SharpTools using HTTP Trigger, and add a “value” parameter
- In the rule flow, set the newly created variable using the Context Variable → Event → HTTP Event → Parameters → value (the parameter name you added from previous step)
- Copy the Trigger URL and save the rule
Step 2: Create a rule in Hubitat to send HTTP request with the HE variable value to the SharpTools rule created in Step 1
- Create a rule in Rule Machine, and to be triggered when the desired variable is changed
- Add the “Send HTTP Request” action using the Trigger URL from the step 1, and add the
?value=%your_variable_name%
in the end of URL so it will pass the desired variable value via the HTTP request.
Now whenever this HE variable is changed it will be synced to the SharpTools variable as well. More details and instructions about this Rule HTTP Trigger can be found in the help article below.