Custom apps

I have been trying to write a custom apps that needs to assign a string value to the previously created global variable under Rule Machine. Could anyone suggest me how to call/select this global variable in my apps? Any example will be appreciated. Thanks

If you don't want to use a global variable connector device (which I've never done for this purpose but assume it would also work...), then the Rule Machine API sounds like your best bet. Here are the docs for that, which include an example of setting a global variable: Rule Machine - Hubitat Documentation

1 Like

Thank you very much, now I have some information to continue my script. Thanks gain

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.