# Influx + Grafana

**URL:** <https://community.homey.app/t/influx-grafana/45928>\
**Category:** Questions & Help\
**Created:** [April 8, 2021, 8:46am UTC](https://community.homey.app/t/influx-grafana/45928 "2021-04-08T08:46:00Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pieterv123](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pieterv123/32/13353_2.png) [@Pieterv123](https://community.homey.app/u/Pieterv123)\
**Post date:** [April 8, 2021, 8:46am UTC](https://community.homey.app/t/influx-grafana/45928/1 "2021-04-08T08:46:00Z")

</div>

Hi,

I am trying to get more detailed insights by using Influx and Grafana. (by means of the Homey influx app)  
But it is not as user friendly as I was hoping.  
I already installed the programs and they are linked to my Homey and to each other.  
Could somebody explain how to make nice graphs and statistics?  
For example a bars view with daily power usage (from a Smart switch with Power by the Hour), etc.

Thanks!

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [April 8, 2021, 8:47am UTC](https://community.homey.app/t/influx-grafana/45928/2 "2021-04-08T08:47:22Z")

</div>

> [@Pieterv123](#):
>
> Could somebody explain how to make nice graphs and statistics?

That’s a bit offtopic here, since you’re basically looking for a [Grafana tutorial](https://grafana.com/tutorials/).

---

<div class="post-metadata">

**Author:** ![tlangelaar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tlangelaar/32/10980_2.png) [@tlangelaar](https://community.homey.app/u/tlangelaar)\
**Post date:** [April 8, 2021, 11:50am UTC](https://community.homey.app/t/influx-grafana/45928/3 "2021-04-08T11:50:37Z")

</div>

I’ve gone through the learning myself recently. Using InfluxDb v2 using both grafana and InfluxDb (v2) Web ui. Learn, read the manuals. Are you already able to see data in the db? Read on CLI access with InfluxDb for queries.

It is indeed of topic here unless you don’t get data from InfluxDb app in Homey to your DB. PM me if you stay stuck after reading and learning more on this matter.

---

<div class="post-metadata">

**Author:** ![matrover](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/matrover/32/12112_2.png) [@matrover](https://community.homey.app/u/matrover)\
**Post date:** [April 8, 2021, 12:22pm UTC](https://community.homey.app/t/influx-grafana/45928/4 "2021-04-08T12:22:29Z")

</div>

@Pieterv123 my grafana dashbard is shared in the grafana community. it uses the prometheus app for gathering metrics though

> **[Homey dashboard dashboard for Grafana](https://grafana.com/grafana/dashboards/6311)**
>
> Display your home via the prometheus homey app

---

<div class="post-metadata">

**Author:** ![Michal\_Stranik](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michal_stranik/32/179351_2.png) [@Michal\_Stranik](https://community.homey.app/u/Michal_Stranik)\
**Post date:** [November 30, 2022, 9:57pm UTC](https://community.homey.app/t/influx-grafana/45928/5 "2022-11-30T21:57:58Z")

</div>

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.

> **[\#1 How to setup Cloud InfluxDB on Homey.pdf](https://drive.google.com/file/d/1SMUgP8EZISEKobyzDJiQSGjPOT6vehiJ/view?usp=share_link)**
>
> Google Drive file.

> **[\#2 How to link Grafana to InfluxDB.pdf](https://drive.google.com/file/d/1y0l0TP0Ev-k4lIscvenmS9yAgs639AGd/view?usp=share_link)**
>
> Google Drive file.

---

<div class="post-metadata">

**Author:** ![Arnt\_Kristian\_Jonass](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnt_kristian_jonass/32/79352_2.png) [@Arnt\_Kristian\_Jonass](https://community.homey.app/u/Arnt_Kristian_Jonass)\
**Post date:** [October 8, 2024, 8:42am UTC](https://community.homey.app/t/influx-grafana/45928/6 "2024-10-08T08:42:28Z")

</div>

> [@Michal\_Stranik](#):
>
> ave 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 her

Hi. Sorry for bumping this up. I try to integrate a grafana dash to visualize power meter in my dashboard. I am using InfluxDB through Homey app, and i seem to receive all information to Influx, but it seems like there are some issues when implementing it to Grafana. I get connected and Grafana accept the bucket, but i cant seem to find any of the data stored in influxDB. I followed Michal\_Stranik’s briliant how to guide, but it might be outdated? Any suggestions?

---

<div class="post-metadata">

**Author:** ![Michal\_Stranik](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michal_stranik/32/179351_2.png) [@Michal\_Stranik](https://community.homey.app/u/Michal_Stranik)\
**Post date:** [October 8, 2024, 8:55am UTC](https://community.homey.app/t/influx-grafana/45928/7 "2024-10-08T08:55:53Z")

</div>

Hi, maybe you will not need this anymore. You can use Homey Dashboard (currently in BETA).

> [@Homey Dashboards — Public Beta Megathread](https://community.homey.app/t/homey-dashboards-public-beta-megathread/116963):
>
> Homey Dashboards is finally here! tada Our team has truly outdone itself and shipped this grand new addition to the Homey app for iOS & Android. With many built-in widgets, an innovative column-based design that works great on both tablets and phones, a Widgets SDK for the Homey Developer Community and the same goodness for your homescreen — I’m super proud of Homey Dashboards. Homey Dashboards can now be tested, once you’ve installed the latest experimental mobile…

---

<div class="post-metadata">

**Author:** ![Astrapowerrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/astrapowerrr/32/78916_2.png) [@Astrapowerrr](https://community.homey.app/u/Astrapowerrr)\
**Post date:** [March 1, 2025, 8:26pm UTC](https://community.homey.app/t/influx-grafana/45928/8 "2025-03-01T20:26:33Z")

</div>

It seems there is a lot of knowledge here regarding InfluxDB and Grafana.  
With the help of the information in this forum, I managed to set everything up.  
So now, I have everything covered from now and into the future.

However, I am looking for historical data.

When I export the CSV from Homey, I cannot import it into InfluxDB.  
I’ve spent two full evenings using ChatGPT and searching online, but I just can’t get it to work.

I also have data from before my Homey days, also in a CSV format, which InfluxDB doesn’t accept.  
Additionally, I would really like to have all the accumulated data from Homey in InfluxDB.

Who can give me a push in the right direction or help me out?

---

<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:** [March 1, 2025, 9:37pm UTC](https://community.homey.app/t/influx-grafana/45928/9 "2025-03-01T21:37:01Z")

</div>

Why not use this app?

> **[InfluxDb](https://homey.app/en-nl/app/homey.influxdb/InfluxDb/)**
>
> Metrics exporter for InfluxDb

Is MySQL a valid source for InfluxDB?

> **[MySQL](https://homey.app/en-nl/app/de.ronnywinkler.mysql/MySQL/)**
>
> Access your MySQL database from Homey

---

<div class="post-metadata">

**Author:** ![Astrapowerrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/astrapowerrr/32/78916_2.png) [@Astrapowerrr](https://community.homey.app/u/Astrapowerrr)\
**Post date:** [March 1, 2025, 10:04pm UTC](https://community.homey.app/t/influx-grafana/45928/10 "2025-03-01T22:04:47Z")

</div>

I am currently using InfluxDB. But can I also push Homey’s historical data into InfluxDB somehow? And is MySQL necessary if I am already using InfluxDB?

---

<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:** [March 2, 2025, 12:57am UTC](https://community.homey.app/t/influx-grafana/45928/11 "2025-03-02T00:57:54Z")

</div>

Hi,  
Yes you can with the InfluxDb app I linked to:

> [@\[APP\]\[Pro\] InfluxDb](https://community.homey.app/t/32405):
>
> InfluxDb support for Athom Homey This app will log all numeric, boolean and enum capabilities to a InfluxDb database. [App store](https://homey.app/a/homey.influxdb/)[Source](https://github.com/balmli/homey-influxdb)Install: The IP address, port number and database for the InfluxDb must be entered in app settings. For InfluxDB 2.x, the organization ID and token must be set. For InfluxDB 1.x they must not be set. Release Notes: 1.1.0 Support for storing enum capabilities Added ‘Write boolean’, ‘Write number’ and ‘Write text’ actions 1.0.0 Updated to SDK3 Updated sett…

MySQL app is not needed in this case.

---

<div class="post-metadata">

**Author:** ![Astrapowerrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/astrapowerrr/32/78916_2.png) [@Astrapowerrr](https://community.homey.app/u/Astrapowerrr)\
**Post date:** [March 2, 2025, 6:54am UTC](https://community.homey.app/t/influx-grafana/45928/12 "2025-03-02T06:54:18Z")

</div>

Ok. But maybe I don’t have enough knowledge, but how to get the history from last as an example in influx.

It only updates since my installation.

---

<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:** [March 2, 2025, 4:44pm UTC](https://community.homey.app/t/influx-grafana/45928/13 "2025-03-02T16:44:15Z")

</div>

> [@Astrapowerrr](#):
>
> It only updates since my installation.

That’s quite how things work.

Please ask in the InfluxDB topic I linked to, on how to export _all_ insights data to InfluxDB.
