Hubigraphs 4.8 (The Final Chapter)

Nope. Chrome.

Hmmmm... how are you adding it to the tile? Using the attribute? Do you have any other CSS settings?

Am using smartly inject.
Will try again on a native dashboard

Yep. That did it. Smartly inject messed with the CSS of the tile.

Apologies for the question, I did try and search but couldn't find the answer? My graph only appears to show a days worth of readings even though I have set it for 3 days? Is there some kind of setting I am missing? Any help or direction would be appreciated.

No issues; just take a look about 10 posts up :slight_smile: what you are seeing is an effect of Hubitat not “storing” 1000 events anymore. Making that change had good reasons as far as performance and stability go. It really helped the hub but “broke” HubiGraphs.

There are two “work around”

  1. Each device now has a “Event History" and "State" that is set to 101 and 30 respectively. If you change those numbers, then HubiGraphs can pull in more data without "losing it". See below.

  1. I have implemented Long-term Storage (available from the Setup screen). This is, in my mind a better solution since it doesn't hit the hub performance.

1 Like

Thank you very much, will work on my searching skills!
I don't seem to have the 'Long Term Storage' button?

Are you using LineGraph? LTS is implemented for TimeGraph. LineGraphs will be removed in the next release since TimeGraphs do EVERYTHING and MORE that Line Graphs support.

1 Like

Ah, amazing. Had a few 404 errors but sorted those out. Now working, thank you @thomas.c.howard for your time and patience.

Hi, just installed 4.2 from package manager. Configured a line chart with temp data from a samsung MPS. AFAIK I configured everything in the line grpah setup page. When I try to load the URL http://192.168.1.236/apps/api/148/graph/?access_token=f8592ed7-bb70-4e9d-a7ed-59006f35c1d3

it's stuck at Getting Options 1/4.
What am I missing?

At stage 1, you should have something in the logs... anything there?

I ran into something similar, somehow managed to miss the entire "Configure Graph" step... :roll_eyes:

Configure

Odd, today it's working... I went through all Hubigraph apps and clicked OAuth -> Update. Not sure if that was it.

Now I want to have my charts in a dashboard inline. I have added a tile to a dashboard with Link. Link: http://192.168.1.236/apps/api/154/graph/?access_token=bf6c9367-xxxxxxxx-xxxxx-48c4bbe0a4f3

Now the Dashboard shows a tile with the Title and I have to click on it to see the graph.
How do I get the graph to show inline directly on the dashboard?

Hi @christian.busch
You may want to blank out your access token.

I’ll take a look. There is a typo on line 944. Set your Longterm storage to something other than 5 minutes. That will fix it until I upload a fix.

How do I add a graph to the dashboard to show the graph directly in the dashboard?

There is a slider labeled Hubigraph tile installation, turn that on. Then a device is created that can be placed on the dashboard. Monthly Energy Graph in this case

Then add that device to you dashboard using attribute as the template. Then pick an attribute over to the right.

2 Likes

Tried to install your app from HPM. Got error installing (see logs below).
Any ideas?

app:412020-12-24 08:51:48.704 am infoFatal error occurred, rolling back
app:412020-12-24 08:51:48.698 am errorError installing file: groovyx.net.http.HttpResponseException: Server Error
app:412020-12-24 08:51:48.609 am infoInstalling https://raw.githubusercontent.com/tchoward/Hubitat/master/HubiGraph.js
app:412020-12-24 08:51:48.406 am infoInstalling Hubigraph OpenWeather Device
app:412020-12-24 08:51:48.254 am infoInstalling Hubigraph Tile Device
app:412020-12-24 08:51:45.715 am infoInstalling Hubigraph Weather Tile 2
app:412020-12-24 08:51:44.882 am infoInstalling Hubigraph Radar Tile
app:412020-12-24 08:51:43.314 am infoInstalling Hubigraph Forecast Tile
app:412020-12-24 08:51:41.733 am infoInstalling Hubigraph Weather Tile
app:412020-12-24 08:51:40.111 am infoInstalling Hubigraph Heat Map
app:412020-12-24 08:51:37.286 am infoInstalling Hubigraph Time Graph
app:412020-12-24 08:51:35.783 am infoInstalling Hubigraph Bar Graph
app:412020-12-24 08:51:34.033 am infoInstalling Hubigraph Range Bar
app:412020-12-24 08:51:31.896 am infoInstalling Hubigraph Time Line
app:412020-12-24 08:51:29.774 am infoInstalling Hubigraph Gauge
app:412020-12-24 08:51:25.025 am infoInstalling Hubigraph Line Graph
app:412020-12-24 08:51:21.282 am infoInstalling Hubigraphs
app:412020-12-24 08:51:20.966 am infoDownloading Hubigraph OpenWeather Device
app:412020-12-24 08:51:20.698 am infoDownloading Hubigraph Tile Device
app:412020-12-24 08:51:20.325 am infoDownloading Hubigraph Weather Tile 2
app:412020-12-24 08:51:20.036 am infoDownloading Hubigraph Radar Tile
app:412020-12-24 08:51:19.747 am infoDownloading Hubigraph Forecast Tile
app:412020-12-24 08:51:19.390 am infoDownloading Hubigraph Weather Tile
app:412020-12-24 08:51:18.983 am infoDownloading Hubigraph Heat Map
app:412020-12-24 08:51:18.582 am infoDownloading Hubigraph Time Graph
app:412020-12-24 08:51:18.219 am infoDownloading Hubigraph Bar Graph
app:412020-12-24 08:51:17.855 am infoDownloading Hubigraph Range Bar
app:412020-12-24 08:51:17.508 am infoDownloading Hubigraph Time Line
app:412020-12-24 08:51:17.149 am infoDownloading Hubigraph Gauge
app:412020-12-24 08:51:16.793 am infoDownloading Hubigraph Line Graph
app:412020-12-24 08:51:16.345 am infoDownloading Hubigraphs
app:412020-12-24 08:51:15.969 am infoDownloading https://raw.githubusercontent.com/tchoward/Hubitat/master/WeatherTile2.css
app:412020-12-24 08:51:15.646 am infoDownloading https://raw.githubusercontent.com/tchoward/Hubitat/master/WeatherTile2.js
app:412020-12-24 08:51:15.336 am infoDownloading https://raw.githubusercontent.com/tchoward/Hubitat/master/WeatherTile.js
app:412020-12-24 08:51:15.032 am infoDownloading https://raw.githubusercontent.com/tchoward/Hubitat/master/HubiGraph.js
app:412020-12-24 08:51:14.764 am debugInstall beginning

Mike:
Did you ever get this resolved?
I am having the same issue.

This is an HPM issue; do me a favor, post this question over there? The specific issue is that when it goes to load the “local storage files”, it fails.