# Calculate a value from temp and dewpoint, get a graph in insights

**URL:** <https://community.homey.app/t/calculate-a-value-from-temp-and-dewpoint-get-a-graph-in-insights/81006>\
**Category:** Questions & Help\
**Created:** [May 23, 2023, 10:41am UTC](https://community.homey.app/t/calculate-a-value-from-temp-and-dewpoint-get-a-graph-in-insights/81006 "2023-05-23T10:41:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tottemannen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tottemannen/32/16599_2.png) [@Tottemannen](https://community.homey.app/u/Tottemannen)\
**Post date:** [May 23, 2023, 10:41am UTC](https://community.homey.app/t/calculate-a-value-from-temp-and-dewpoint-get-a-graph-in-insights/81006/1 "2023-05-23T10:41:22Z")

</div>

Hi!  
I want to calculate cloudbase with formula (Temp-dewpoint)\*125.  
Then I will also have the graph in insights.  
Is it possible to export the graph to a webpage?

I have looked around in the forum, but dont now how to start.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [May 24, 2023, 12:43am UTC](https://community.homey.app/t/calculate-a-value-from-temp-and-dewpoint-get-a-graph-in-insights/81006/2 "2023-05-24T00:43:25Z")

</div>

> [@Tottemannen](#):
>
> Is it possible to export the graph to a webpage?

That can be done with the apps [InfluxDB](https://homey.app/en-gb/app/homey.influxdb/InfluxDb/) or [Prometheus.io](https://homey.app/en-gb/app/io.prometheus/Prometheus.io/)

Grafana is a nice tool for the graph part.

A webpage can be hosted locally or by a server somewhere on the internet (some call it ‘the cloud’)

Local

> [@\[APP\]\[Pro\] InfluxDb](https://community.homey.app/t/app-pro-influxdb/32405/81):
>
> I just installed influxdb (v1) and grafana using [this howto](https://computingforgeeks.com/how-to-install-influxdb-on-debian-linux/) and it works ok. I just installed it on a Debian 11 server, no docker. Do you see a number other than zero at ‘Measurements’? In what way do you query the database? On the server with influxdb I installed influx client On Debian I did: sudo apt install influxdb-client Open the database: influx -database 'homey' -precision rfc3339 Then the command line changes from ~$ to \> Now enter select …

Internet

> [@\[APP\]\[Pro\] InfluxDb](https://community.homey.app/t/app-pro-influxdb/32405/88):
>
> First, thank you @balmli for great app. Now I have data from InfluxDB Cloud and Grafana and for those they would like to follow, I created two very simple screen by screen guides. I hope you don´t mind if I share it here.

---

<div class="post-metadata">

**Author:** ![Tottemannen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tottemannen/32/16599_2.png) [@Tottemannen](https://community.homey.app/u/Tottemannen)\
**Post date:** [May 26, 2023, 10:44am UTC](https://community.homey.app/t/calculate-a-value-from-temp-and-dewpoint-get-a-graph-in-insights/81006/3 "2023-05-26T10:44:05Z")

</div>

Thanks for the reply.  
First step that I have created a graph with a formula that works.

Second step that I will read this thread, [https://community.homey.app/t/app-pro-influxdb/32405/88](https://community.homey.app/t/app-pro-influxdb/32405/88).

---

<div class="post-metadata">

**Author:** ![Tottemannen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tottemannen/32/16599_2.png) [@Tottemannen](https://community.homey.app/u/Tottemannen)\
**Post date:** [June 2, 2023, 10:41am UTC](https://community.homey.app/t/calculate-a-value-from-temp-and-dewpoint-get-a-graph-in-insights/81006/4 "2023-06-02T10:41:04Z")

</div>

Hi again!  
I have setup Cloud Influxdb on Homey and link Grafana to InfluxDB.  
But I don’t get it work.

 ![homey01](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/4/34d99eb735e5f3cef600c6ee729882a7aeafa5d8.jpeg)  
 ![homey02](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/a/6a8b00b4f60ea5b4caac0d27e3487e447d3eb249.jpeg)  
 ![homey03](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/b/0b25cb07dbb55ef56cc4647077d11c717ef2a7d2.jpeg)  
 ![homey04](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/1/c12e3a80170502333d4e182ba9b3309f391e8af8.jpeg)  
 ![homey05](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/7/67ffaa28b5be3d13017b23f7052351b65b4b0b54.jpeg)  
 ![homey06](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/3/63f830d028f284fa2513c26f1441ec21b0b4cb64.jpeg)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 2, 2023, 11:49am UTC](https://community.homey.app/t/calculate-a-value-from-temp-and-dewpoint-get-a-graph-in-insights/81006/5 "2023-06-02T11:49:24Z")

</div>

The influxdb app is configured right and sends measurements.  
So I think you should go to influx or grafana fora.
