# \[APP\]\[Pro\] Insights Graphs

**URL:** <https://community.homey.app/t/app-pro-insights-graphs/86856>\
**Category:** Apps\
**Tags:** app, flow, insights, homey-pro, advancedflow\
**Created:** [August 12, 2023, 10:32am UTC](https://community.homey.app/t/app-pro-insights-graphs/86856 "2023-08-12T10:32:40Z")\
**Posts on this page:** 20\
**Page:** 8

<div class="post-metadata">

**Author:** ![Menno\_van\_Hout](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/menno_van_hout/32/77843_2.png) [@Menno\_van\_Hout](https://community.homey.app/u/Menno_van_Hout)\
**Post date:** [February 18, 2024, 2:16pm UTC](https://community.homey.app/t/app-pro-insights-graphs/86856/146 "2024-02-18T14:16:29Z")

</div>

It generates an image token. you still have to choose to do what you want with the image:

- Send through telegram
- Send through whatsapp
- Save as file
- Upload to ftp

If you want to make it viewable within the Homey app you can use my other app:

> **[Afbeelding](https://homey.app/nl-nl/app/nl.mennovanhout.images/Afbeelding/)**
>
> Voeg ondersteuning voor afbeeldingen toe aan de Homey app

---

<div class="post-metadata">

**Author:** ![LRvdLinden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lrvdlinden/32/80786_2.png) [@LRvdLinden](https://community.homey.app/u/LRvdLinden)\
**Post date:** [February 18, 2024, 3:01pm UTC](https://community.homey.app/t/app-pro-insights-graphs/86856/147 "2024-02-18T15:01:46Z")

</div>

Look closely at my example. You do need to connect your mail action card to that of Insights graphs and under image, choose the Graphs image token.

---

<div class="post-metadata">

**Author:** ![Wout\_van\_den\_Dool](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wout_van_den_dool/32/391_2.png) [@Wout\_van\_den\_Dool](https://community.homey.app/u/Wout_van_den_Dool)\
**Post date:** [February 19, 2024, 8:39pm UTC](https://community.homey.app/t/app-pro-insights-graphs/86856/148 "2024-02-19T20:39:45Z")

</div>

Do you think that it is now possible to create one email with multiple messages containing different graphs and messages below?

- With the goal to send myself every morning an email dashboard with all kinds of graphs  
_Like I do at work to monitor the Webshops performance with Salesforce 🙂_
- For now I send myself push messages like water usage, electricity and gas, but also the climate in house (temp and humidity)
- But I’m missing the Year to date ore mont to date view, average etc… I’m hoping to get this via the images per day and month overview

I keep dreaming…

---

<div class="post-metadata">

**Author:** ![DarrenJ](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/darrenj/32/79161_2.png) [@DarrenJ](https://community.homey.app/u/DarrenJ)\
**Post date:** [March 25, 2024, 1:34am UTC](https://community.homey.app/t/app-pro-insights-graphs/86856/149 "2024-03-25T01:34:35Z")

</div>

I’m trying to use this as an image in sharptools (for lack of any Homey dashboard/control panel functionality) but am getting lost amongst it all. Am fairly new to all this so it would be appreciated if some simple instructions could be made which shows how to setup/configure a Homey Insight to sharptools as an example.

---

<div class="post-metadata">

**Author:** ![Menno\_van\_Hout](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/menno_van_hout/32/77843_2.png) [@Menno\_van\_Hout](https://community.homey.app/u/Menno_van_Hout)\
**Post date:** [March 25, 2024, 4:44am UTC](https://community.homey.app/t/app-pro-insights-graphs/86856/150 "2024-03-25T04:44:08Z")

</div>

I founded [https://hdashboards.app](https://hdashboards.app) before i new SharpTools excited so I can’t help you there.

---

<div class="post-metadata">

**Author:** ![joshua](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joshua/32/44829_2.png) [@joshua](https://community.homey.app/u/joshua)\
**Post date:** [March 26, 2024, 4:19pm UTC](https://community.homey.app/t/app-pro-insights-graphs/86856/151 "2024-03-26T16:19:46Z")

</div>

> [@DarrenJ](#):
>
> Am fairly new to all this so it would be appreciated if some simple instructions could be made which shows how to setup/configure a Homey Insight to sharptools as an example.

From what I gather, it seems like there are two approaches:

1. Use the special ‘userdata’ URL for the graph _directly_ in a Media Tile in [SharpTools.io](http://SharpTools.io)
  - See notes at the bottom for comments around persistence

2. Write the output from the Insights Graph card to an AVD ([reference](https://community.homey.app/t/app-pro-insights-graphs/86856/42)), then use the [Homey Image Viewer custom tile in SharpTools](https://community.sharptools.io/t/beta-homey-custom-tiles/12968)

## Direct userdata URL

For the first approach, it looks like you would create your Advanced Flow using the Insights Graph card as normal which will write the image to file. Then you can use a special URL format to directly access that graph as a Media item in SharpTools

### 1. Create the Flow and output your image

Create your Advanced Flow using the Insights Graph card as desired. Make sure to use a _unique_ name for each graph that you want to access.

 ![Homey Flow using Insights Graph](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/1/f1ca54456cad60e4f13c7d5748255d410a4d89ef.jpeg)

### 2. Construct the URL

Per the comments above, we can access the generated graph directly in the `/userdata/` folder of the app. So we can construct a URL directly to the generated graph with a format like:

Format:

```plaintext
https://{your-dash-format-ip}.homey.homeylocal.com/app/nl.mennovanhout.insights-graphs/userdata/{yourFilename.png}.png

```

Example:

```auto
https://192-168-1-213.homey.homeylocal.com/app/nl.mennovanhout.insights-graphs/userdata/temperature2.png.png

```

> **Direct IP URL (tap to expand)**
>
> This direct IP URL format below is **not** for SharpTools. The above format uses Homey’s DNS resolver and has a valid SSL which makes it ideal for access in an SSL dashboard. Alternatively, you could use a _direct_ URL to your Homey but it may introduce SSL Mixed Content issues, so it is not suggested for a dashboard served over SSL.
> 
> ```auto
> http://192.168.1.213/app/nl.mennovanhout.insights-graphs/userdata/temperature2.png.png
> 
> ```

You should be able to access this URL directly in your browser:

 ![Viewing Constructed userdata URL in browser](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/4/54981bb91b5a4309c6cbcd4985e2187aae63f35e.jpeg)

### 3. Create the SharpTools Media Item

Create a [SharpTools Media Item](https://sharptools.io/user/resources/media) using the URL of the graph image from the previous step. Enable ‘autorefresh’ and set the interval according to your needs:

 ![Using Constructed userdata URL in SharpTools Media item](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/6/06e851f61899debd373d8d63d8b66e8d7ed1e3c1.jpeg)

Notes:

- This is a local URL directly to your Homey, so it won’t be accessible outside your home. This is fine for a wall mounted dashboard, but if you need remote access, the second AVD approach might be more suitable.
- [Based on the tests](https://community.homey.app/t/app-pro-insights-graphs/86856/132) by @Michael_E above, it seems like the `userdata` URL survives an app reboot
- The alternative approach of using the image listed in the Homey Developer Tools has more issues as it seems like the images in the Homey Developer Tools are **temporarily cached** - these images disappear after rebooting the app / Homey. And after a reboot they get a new unique ID when regenerated.

---

<div class="post-metadata">

**Author:** ![DarrenJ](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/darrenj/32/79161_2.png) [@DarrenJ](https://community.homey.app/u/DarrenJ)\
**Post date:** [March 26, 2024, 10:25pm UTC](https://community.homey.app/t/app-pro-insights-graphs/86856/152 "2024-03-26T22:25:12Z")

</div>

Thank you very much! I had even stumbled on those urls and never thought to just link direct to image tile. Tested and works easy! Appreciated. 😃

---

<div class="post-metadata">

**Author:** ![Ralph\_Z](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ralph_z/32/119277_2.png) [@Ralph\_Z](https://community.homey.app/u/Ralph_Z)\
**Post date:** [March 31, 2024, 11:15am UTC](https://community.homey.app/t/app-pro-insights-graphs/86856/153 "2024-03-31T11:15:17Z")

</div>

But I don’t see the Graph image token…

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/4/e41dfb92110ac15b780ca330005de5ba32418588.png)

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [March 31, 2024, 11:16am UTC](https://community.homey.app/t/app-pro-insights-graphs/86856/154 "2024-03-31T11:16:34Z")

</div>

@Ralph_Z Did you connect the 2 cards in this example?

---

<div class="post-metadata">

**Author:** ![Ralph\_Z](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ralph_z/32/119277_2.png) [@Ralph\_Z](https://community.homey.app/u/Ralph_Z)\
**Post date:** [March 31, 2024, 11:26am UTC](https://community.homey.app/t/app-pro-insights-graphs/86856/155 "2024-03-31T11:26:14Z")

</div>

I did now 🤦‍♂️ Thanks!

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [March 31, 2024, 11:29am UTC](https://community.homey.app/t/app-pro-insights-graphs/86856/156 "2024-03-31T11:29:55Z")

</div>

@Ralph_Z 👍🏼

---

<div class="post-metadata">

**Author:** ![Christoph\_Muller](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christoph_muller/32/81900_2.png) [@Christoph\_Muller](https://community.homey.app/u/Christoph_Muller)\
**Post date:** [April 9, 2024, 2:12am UTC](https://community.homey.app/t/app-pro-insights-graphs/86856/157 "2024-04-09T02:12:41Z")

</div>

@Ralph_Z and @Menno_van_Hout  
Greate App! I’m playing arround with HD Boards and I like it.  
But there seems to be Problem with the image card.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/3/2389ff2e039a6dee6aaba98994f13218f5941b86.jpeg)  
The preview is renderd correct, but the error message is blocking me.  
Where is my fault?

---

<div class="post-metadata">

**Author:** ![Menno\_van\_Hout](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/menno_van_hout/32/77843_2.png) [@Menno\_van\_Hout](https://community.homey.app/u/Menno_van_Hout)\
**Post date:** [April 9, 2024, 6:01am UTC](https://community.homey.app/t/app-pro-insights-graphs/86856/158 "2024-04-09T06:01:29Z")

</div>

This seems to be a rare case that happens sometimes after homey has an update. A homey reboot works. When requesting device info homey responds with an error instead of the data. Somehow a reboot solves this.

---

<div class="post-metadata">

**Author:** ![Christoph\_Muller](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christoph_muller/32/81900_2.png) [@Christoph\_Muller](https://community.homey.app/u/Christoph_Muller)\
**Post date:** [April 9, 2024, 6:13am UTC](https://community.homey.app/t/app-pro-insights-graphs/86856/159 "2024-04-09T06:13:43Z")

</div>

It’s fixed! THX

---

<div class="post-metadata">

**Author:** ![Menno\_van\_Hout](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/menno_van_hout/32/77843_2.png) [@Menno\_van\_Hout](https://community.homey.app/u/Menno_van_Hout)\
**Post date:** [May 1, 2024, 8:26pm UTC](https://community.homey.app/t/app-pro-insights-graphs/86856/161 "2024-05-01T20:26:07Z")

</div>

I assume you figured it out haha

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [September 9, 2024, 10:23am UTC](https://community.homey.app/t/app-pro-insights-graphs/86856/162 "2024-09-09T10:23:02Z")

</div>

> [@HvN](#):
>
> I have the same issue, 6H doesn’t work.

I have the same issue indeed.

> [@Menno\_van\_Hout](#):
>
> Maybe certain flow settings or certain devices? Did you try with other insights selections?

Tried multiple devices multiple insights, always the same error.

If it helps, here is the diag - 07338e71-3b6e-462a-a1ad-71bcb8fb3885

---

<div class="post-metadata">

**Author:** ![Menno\_van\_Hout](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/menno_van_hout/32/77843_2.png) [@Menno\_van\_Hout](https://community.homey.app/u/Menno_van_Hout)\
**Post date:** [September 9, 2024, 11:04am UTC](https://community.homey.app/t/app-pro-insights-graphs/86856/163 "2024-09-09T11:04:04Z")

</div>

Will look at it asap, but that will probably next month.

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [September 9, 2024, 11:08am UTC](https://community.homey.app/t/app-pro-insights-graphs/86856/164 "2024-09-09T11:08:50Z")

</div>

Hey, no worries, I just discovered this nice app 🙂

---

<div class="post-metadata">

**Author:** ![digdoug](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/digdoug/32/82680_2.png) [@digdoug](https://community.homey.app/u/digdoug)\
**Post date:** [November 12, 2024, 1:30pm UTC](https://community.homey.app/t/app-pro-insights-graphs/86856/166 "2024-11-12T13:30:30Z")

</div>

Hello !  
Thanks for the app !  
Just to let @Menno_van_Hout knows that i have the same issue with the 6 hours range.

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [December 21, 2024, 3:36pm UTC](https://community.homey.app/t/app-pro-insights-graphs/86856/167 "2024-12-21T15:36:23Z")

</div>

Did i mis something? The app is not supported anymore, is that correct?

 ![1000000139](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/8/58a634fa0494a63ea0302465979cc57b957e7e15.jpeg)

 ![1000000140](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/e/9e481b94f4fec46ab522443e4a816ecb6f89645f.jpeg)

[Previous page](https://community.homey.app/t/app-pro-insights-graphs/86856.md?page=7)

[Next page](https://community.homey.app/t/app-pro-insights-graphs/86856.md?page=9)
