# \[APP\]\[Pro\] InfluxDb

**URL:** <https://community.homey.app/t/app-pro-influxdb/32405>\
**Category:** Apps\
**Tags:** app\
**Created:** [July 15, 2020, 5:21am UTC](https://community.homey.app/t/app-pro-influxdb/32405 "2020-07-15T05:21:40Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![Paul\_Pleumeekers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_pleumeekers/32/55929_2.png) [@Paul\_Pleumeekers](https://community.homey.app/u/Paul_Pleumeekers)\
**Post date:** [July 20, 2022, 5:11pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/82 "2022-07-20T17:11:19Z")

</div>

Ik heb 95904 measurements:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/2/926aa1dd9c771177e39c367729c4d2fe5aca684a.png)  
Maar in influxDB web zie ik onder data explorer niks.  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/1/e1921dc631917a50b31b3d93295b188d45352480.png)  
Dit is mijn flow:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/a/cab879f225c7761a084d66529e12e038191ad87f.png)

---

<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:** [July 20, 2022, 8:26pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/83 "2022-07-20T20:26:58Z")

</div>

Please keep this topic in English 😉

> [@Paul\_Pleumeekers](#):
>
> Maar in influxDB web zie ik onder data explorer niks.

Odd response, aren’t you going to try the 3 commands I suggested? Then you’ll discover if the data is written into ‘Homey’ database, or not.

I’ve tried to install ‘data-explorer’ but it didn’t work out for me. I use Grafana interface. And there also I have to enter a query first, before I get to see any data…

 ![Screenshot from 2022-07-20 22-37-29](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/7/c72a6fba3824cc6dd87d4b9f559c2482091b935a.png)

> [@Paul\_Pleumeekers](#):
>
> Dit is mijn flow:

It works a bit different. The flow cards don’t tell you the database is online in that way.  
You can let them send a notification about the state though.  
Here’s an example of how you can use them:

 ![Screenshot from 2022-07-20 22-20-48](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/c/2cdbb97a9ddd00526cffc17b2f3ebab35b145bdd.png)

Homey and app metrics can be disabled, so they don’t get logged. You can do this if Homey is getting red hot.

---

<div class="post-metadata">

**Author:** ![Paul\_Pleumeekers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_pleumeekers/32/55929_2.png) [@Paul\_Pleumeekers](https://community.homey.app/u/Paul_Pleumeekers)\
**Post date:** [July 20, 2022, 9:05pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/84 "2022-07-20T21:05:08Z")

</div>

Sorry, I forgot to write in English. I have setup an influxDB on docker on my Synology nas.  
I suppose the query must come from the homey. So I can’t use linux influxdb-client.  
I tried to get info into influxDB v2 before trying Grafana. But I cant see any data in the bucket.

---

<div class="post-metadata">

**Author:** ![Tutu81](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tutu81/32/48001_2.png) [@Tutu81](https://community.homey.app/u/Tutu81)\
**Post date:** [October 9, 2022, 12:43pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/85 "2022-10-09T12:43:48Z")

</div>

To anybody having issue with Influxdb v2 (empty bucket), just follow the Tips from @tlangelaar. I also wrongly interpreted " Organization Profile" vs “user ID”. Solved the issue by me.

---

<div class="post-metadata">

**Author:** ![IamNague](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/iamnague/32/39117_2.png) [@IamNague](https://community.homey.app/u/IamNague)\
**Post date:** [November 15, 2022, 6:01pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/86 "2022-11-15T18:01:07Z")

</div>

I’m an enthusiast user of Influxdb on Homey, and I would love to be able to report enum capabilities. I’m not sure this app is still maintained… Do you think this is doable ? (from a SDK point of view)

---

<div class="post-metadata">

**Author:** ![balmli](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/balmli/32/1308_2.png) [@balmli](https://community.homey.app/u/balmli)\
**Post date:** [November 20, 2022, 10:57am UTC](https://community.homey.app/t/app-pro-influxdb/32405/87 "2022-11-20T10:57:18Z")

</div>

First I will update the app to SDK3, and will then look at new features like logging to Influxdb and also see if enums are doable.

---

<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:56pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/88 "2022-11-30T21:56:50Z")

</div>

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.

> **[\#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:** ![balmli](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/balmli/32/1308_2.png) [@balmli](https://community.homey.app/u/balmli)\
**Post date:** [December 14, 2022, 6:52am UTC](https://community.homey.app/t/app-pro-influxdb/32405/89 "2022-12-14T06:52:14Z")

</div>

V. 1.1.0 with support for enums. Also flows to log numbers, booleans and text directly to InfluxDb.

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

Please test and report any issues here 🙂

cc: @IamNague

---

<div class="post-metadata">

**Author:** ![Davy\_Vissers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/davy_vissers/32/1702_2.png) [@Davy\_Vissers](https://community.homey.app/u/Davy_Vissers)\
**Post date:** [December 30, 2022, 7:11am UTC](https://community.homey.app/t/app-pro-influxdb/32405/90 "2022-12-30T07:11:41Z")

</div>

The influxdb app states it’s connected. I get no data in my database and the measurements stays at 0  
Anyone an idea if I do anything wrong? Do I need to create a flow to send data?

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/6/f616b9ccb814452ab273ddeaf9080b7e3ba9bbc1.png)

---

<div class="post-metadata">

**Author:** ![Rudolph\_Marks](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rudolph_marks/32/22781_2.png) [@Rudolph\_Marks](https://community.homey.app/u/Rudolph_Marks)\
**Post date:** [December 30, 2022, 12:09pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/91 "2022-12-30T12:09:16Z")

</div>

I have exactly the same no answer found.

---

<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:** [December 30, 2022, 7:18pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/92 "2022-12-30T19:18:04Z")

</div>

If applicable: maybe add incoming / outgoing firewall rule(s) on the server?

---

<div class="post-metadata">

**Author:** ![Davy\_Vissers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/davy_vissers/32/1702_2.png) [@Davy\_Vissers](https://community.homey.app/u/Davy_Vissers)\
**Post date:** [December 30, 2022, 7:54pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/93 "2022-12-30T19:54:06Z")

</div>

Influxdb is running in a docker container. As far as I know there is no firewall on it. Also not on the host OS.

---

<div class="post-metadata">

**Author:** ![Rudolph\_Marks](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rudolph_marks/32/22781_2.png) [@Rudolph\_Marks](https://community.homey.app/u/Rudolph_Marks)\
**Post date:** [January 3, 2023, 11:43am UTC](https://community.homey.app/t/app-pro-influxdb/32405/94 "2023-01-03T11:43:18Z")

</div>

that’s correct

---

<div class="post-metadata">

**Author:** ![Arnold\_vd\_Linden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnold_vd_linden/32/19336_2.png) [@Arnold\_vd\_Linden](https://community.homey.app/u/Arnold_vd_Linden)\
**Post date:** [January 5, 2023, 4:14am UTC](https://community.homey.app/t/app-pro-influxdb/32405/95 "2023-01-05T04:14:35Z")

</div>

Yes you have to create a flow to send data to InfluxDB.

---

<div class="post-metadata">

**Author:** ![Rudolph\_Marks](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rudolph_marks/32/22781_2.png) [@Rudolph\_Marks](https://community.homey.app/u/Rudolph_Marks)\
**Post date:** [January 8, 2023, 6:36pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/97 "2023-01-08T18:36:41Z")

</div>

I can’t find how to WRITE a value to InfluxDB

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/8/881a7139129508ac2beb308024a4b068d068f621.jpeg)

When I start this flow, even after 10 minutes the value is nog found in \_measurement, \_name or somewhere else….

---

<div class="post-metadata">

**Author:** ![Stian\_Torkildsen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stian_torkildsen/32/67590_2.png) [@Stian\_Torkildsen](https://community.homey.app/u/Stian_Torkildsen)\
**Post date:** [January 8, 2023, 7:02pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/98 "2023-01-08T19:02:12Z")

</div>

The app writes all measurements without any flow. Only flow you need is to set write frequency. I made the mistake of adding https:// in the url field in the app configurator.  
Take a look in the configurator to see if you have any measurements and if the connection is online.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/0/b0223cfbb692fcf5e0e8c2f0e55b5159f1f453c7.jpeg)

---

<div class="post-metadata">

**Author:** ![Rudolph\_Marks](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rudolph_marks/32/22781_2.png) [@Rudolph\_Marks](https://community.homey.app/u/Rudolph_Marks)\
**Post date:** [January 9, 2023, 10:23am UTC](https://community.homey.app/t/app-pro-influxdb/32405/99 "2023-01-09T10:23:18Z")

</div>

Thanks, but if i want to write a value due a flow how is that possible?

I can’t find the MEASUREMENT\_TEST value 55 in my influxDb

---

<div class="post-metadata">

**Author:** ![MeritedNine](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/meritednine/32/14112_2.png) [@MeritedNine](https://community.homey.app/u/MeritedNine)\
**Post date:** [February 10, 2023, 2:20pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/100 "2023-02-10T14:20:13Z")

</div>

Hope this isn’t a stupid question, but I have data from Aqara sensors (temp, humidity,pressure) that go to Insights but don’t appear in Influx. My other data does so I guess I’m missing something??

---

<div class="post-metadata">

**Author:** ![Molstie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/molstie/32/28268_2.png) [@Molstie](https://community.homey.app/u/Molstie)\
**Post date:** [February 12, 2023, 3:04pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/101 "2023-02-12T15:04:22Z")

</div>

I am also just playing around with influxDB for a couple of days now, but I think I know what could be the problem. As long as a sensor does noet give an update to Homey, there is no data of the sensor in de InfluxDB . Aquara sensors don’t update that often I think. However, I also have a few Aquara sensors and they do apear in the database after a while.

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [March 14, 2023, 10:20pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/102 "2023-03-14T22:20:11Z")

</div>

Hey @balmli ,

I have a request for BLL variables to be saved to the InfluxDB.  
[QlusterIT / nl.qluster-it.BetterLogic / issues / #12 - Be able to save numeric values to InfluxDB — Bitbucket](https://bitbucket.org/QlusterIT/nl.qluster-it.betterlogic/issues/12/be-able-to-save-numeric-values-to-influxdb)

[[APP][Pro] Better Logic Library - Just some better logic, variable and library management - Apps - Homey Community Forum](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568/305)

When using flows for this, the flow will be killed when it gets executed to many times.

The solution for this i have just finished building and am using in the[Device Capabilities App](https://homey.app/nl-nl/app/nl.qluster-it.DeviceCapabilities/Device-Capabilities/).

It would be great if you could implement this variable listener in the InfluxDB app 🙂

If so, you would just need to execute these few steps:

- run `npm install betterlogiclibrary`
- add `"permissions": ["homey:app:net.i-dev.betterlogic"]` to the app.json
- import BL in the app.js `const { BL } = require('betterlogiclibrary');`
- init the BL in your app.oninit and set the BL.onVariableUpdate

```auto
await BL.init({ homey: this.homey });
BL.onVariableUpdate = async ({ variable, formattedDate }) => {
	if (!variable.remove) return;
	switch (variable.type) {	
		case "number":
		case "trigger":
			writeToInfluxDB('number', variable.value);
			break;
		case "string":
			writeToInfluxDB('string', variable.value);
			break;
		case "boolean":
			writeToInfluxDB('boolean', variable.value);
			break;
	}
}

```

That’s it 🙂  
Well, ofc you need to really write it to the InfluxDB, but you get the point 😉  
And perhaps you need a setting if people want to write them, or something like that.

[Previous page](https://community.homey.app/t/app-pro-influxdb/32405.md?page=4)

[Next page](https://community.homey.app/t/app-pro-influxdb/32405.md?page=6)
