Barometer Trending Rise, Fall Steady

No, I guess I am not totally clear on this whole Hub Variable thing. After reading the Hub Variables documentation/ instructions, I have become more confused. I am confused as to do I make 1 Hub Variable and a Separate named Connector Variable,
Or do I make 1 Hub Variable and set it in the Connector Column as a string? If that is so, then do I use that very same Connector Variable as the Variable that receives the value from the OldPressure and NewPressure as Set(Hub Variable Connector ie PressureTrend)?
I've tried a few "Connectors, but they just do not update
Again, the purpose goal is to take the OldPressure and NewPressure variables that are decimal setting them as strings based into a Hub Variable that displaystheir string result as a string in a tile
My Hub Variables that I have tried to work with are pictures below:
image
Can you look at this and recommend what the Hub Variable box should contain, and what Variable to use as the set to variable in the rule?

OK, Just 1 question, do I use the same HubVariable Connector as the Variable inside the Rule?

Thanks so much. Will try that out

1 Like

I think I understood you, but that (BaroTrend now) was confusing, so I took that to mean just use the name as BaroTrend, In the second direction you indicated to use BaroTrend, but that I could rename it. So I did rename it.
image

So here is the setup i did as to what I believe that you meant.
Also, in step D) in SharpTools I will use the Variable Connector I used as BaroTrendy, correct?

If I understood you correctly you indicates to name the Hub Variable BaroTrendy and its Connector BaroTrendy, that seems to be a problem. When I try to add another BaroTrendy to Hub Variable as a Connector, the result is:
image

That is why in the previous post where I showed a Hub variable with one name and a connector with a different name because it wont let me use the same variable name twice

I have been using SharpTools for a month with several dashboards based on which tablet I am using.
This is my first attempt with Rules Machine. I have lots of Basic Rules already, and have at least 40 Webcore pistons running. Been using Webcore for 4 years. I have been using Actiontiles for 4 years. Moved from Smartthings due to deprecating some of the capabilities of Webcore.

The picture here is a shot of the dashboard I use for a 10 inch tablet. I have a separate dashboard for a 8 inch tablet that sits next to my Ambient Weather Console displaying additional info. that the Console doesn't display without pressing the Console buttons.
I very much appreciate all the guidance you have provided thus far.

2 Likes

@LibraSun has you pointed in the right direction. It's really important that everything is consistent and I agree with his recommendation to delete everything else that was just a test to avoid any confusion:

Hub Variable  ↔ Variable Connector (Thing) ↔ SharpTools

The Variable Connector is something of a 'proxy' for the real variable. It let's Hubitat expose the Hub Variable as a 'Thing' which you can then use in other apps like SharpTools.

So it's important that you create a single Hub Variable that has a Connector created for it and you use the same variable and its associated connector everywhere.

1 Like

The Dashboard shown previously was a Sharptools Dashboard.
This post my Actiontiles Dashboard for my Computer or I can use it on my other tablets as I want.

1 Like

After creating a separate RM Rule that turned on 3 separate Virtual Switches BarometerUP BarometerDown BarometerSteady I could see my new Rule was working. Then I went back to the original Rule I've been working on after seeing that I only needed 1 Variable Connector throughout the Actions and Sharptools, things started to work somewhat. However, Once I changed the Triggers in the Original, it is now working GREAT!!!
Pictured is a short Dashboard displaying both Devices from the Barometer UP,Down, Steady, and the Variable BaroTrendy.


Thanks Everyone for sticking with me on this and showing patience with my efforts. Again, many thanks!

2 Likes

Since Updating and creating the status of the Barometer Trend, I was able to add it to a Supertile in my Sharptools Dashboard for my larger tablet. Again, thanks to all the great input and guidance!
image

2 Likes

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