I must be doing something wrong with the use of connectors.
I have a rule (running 2.2.8.133) and it has 5 variable numbers. Two variables are user inputs set with a dashboard, and three variables are determined by the math in my rule. They all have connectors and are displayed on my dashboard. When I change the input variables on my dashboard, the change does not appear in the ruleās variables. However, when I manually change an input variable from inside the rule using the variable control box, the updated value is displayed by the dashboard. And, variables calculated by running the rule are displayed correctly on the dashboard. It seems data is flowing into my dashboard but not out. Note: I am programming the hub remotely. Thanks!
Sounds like a issue i found with local variables not working with dashboard well. I reported it as a bug a long time ago. The work around is if you are using local variables and connectors to switch from these to use global variables instead. They play well with the dashboard. hope this helps. j
I think my problem is from my lack of understanding of how to use variables. I was proficient with local and global variables on older firmware, but the newer content with connectors and hub variables confuses me. Rule machine 5.0 no longer has an option for global variables. Do I use hub variables now, and global variables are no longer supported?
Local variables - created inside a rule and used inside that rule ā easy!
Global variables ā used by multiple rules and dashboards - are these still supported? ā where do I create them as they are missing from my rule machine 5.0 menu?
Hub variables ā are these now used instead of global variables?
Connectors ā are these used when you want external devices (Alexa and others) to interact with variables? If so, I donāt see myself using these anytime soon.
Any help here would be appreciated. Thanks!
Through some trial and error, I have the dashboard tiles talking with my rules. My hub variables would not show up as dashboard variables, but after I added collectors to each hub variable, I was able to get them loaded and working on my dashboard. Is it true that hub variables need to have collectors created to be used in dashboards?
Time trigger with Rule 5.0
I have a date/time hub variable with a date/time collector ā I want to trigger my rule on the time of day set in the variable. When I put a time in my dashboard variable, the updated time shows up in the rule trigger, but the rule trigger does not fire at that selected time. The 'use date' box is not checked in the ruleāany ideas why my rule it's not triggering.