# \[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:** 4

<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:** [December 20, 2021, 7:38pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/62 "2021-12-20T19:38:22Z")

</div>

App works great here.  
I use an InfluxDB in a Docker container on Qnap en write every 10 seconds data to it.  
Never had an issue so far.

---

<div class="post-metadata">

**Author:** ![Petter\_G](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/petter_g/32/16714_2.png) [@Petter\_G](https://community.homey.app/u/Petter_G)\
**Post date:** [December 21, 2021, 2:05pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/63 "2021-12-21T14:05:13Z")

</div>

Probably LAN problems at my end, asus mesh zenwifi

---

<div class="post-metadata">

**Author:** ![John\_Stelten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/john_stelten/32/18095_2.png) [@John\_Stelten](https://community.homey.app/u/John_Stelten)\
**Post date:** [December 25, 2021, 4:13pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/64 "2021-12-25T16:13:36Z")

</div>

Hi,

Question, is battery info from the devices also pushed to influxdb?

Using influxdb cloud 🙂

Thanks and happy holidays!

---

<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 25, 2021, 10:42pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/65 "2021-12-25T22:42:19Z")

</div>

![Screenshot_20211225-234119_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/9/5940f1ce2c080e8d94121e48625af42f510ea1b0.jpeg)  
Battery data = in Insights & = numeric

---

<div class="post-metadata">

**Author:** ![John\_Stelten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/john_stelten/32/18095_2.png) [@John\_Stelten](https://community.homey.app/u/John_Stelten)\
**Post date:** [December 26, 2021, 11:46am UTC](https://community.homey.app/t/app-pro-influxdb/32405/66 "2021-12-26T11:46:11Z")

</div>

Thanks Peter,

I saw that none of the devices as reported back yet so that’s probably the problem.

---

<div class="post-metadata">

**Author:** ![John\_Stelten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/john_stelten/32/18095_2.png) [@John\_Stelten](https://community.homey.app/u/John_Stelten)\
**Post date:** [December 26, 2021, 11:47am UTC](https://community.homey.app/t/app-pro-influxdb/32405/67 "2021-12-26T11:47:22Z")

</div>

Does anyone knows what the montly costs are going to be for influxdb cloud and retention on forever?

Just for the homey data

---

<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 26, 2021, 7:20pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/68 "2021-12-26T19:20:09Z")

</div>

YW, John. I just noticed my sensors do report battery level to Insights, but my tado° gear does not…🥴 (but they do show battery level in the app and tiles).  
So appearantly a battery powered device does not report by default to Insights 😔

---

<div class="post-metadata">

**Author:** ![John\_Stelten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/john_stelten/32/18095_2.png) [@John\_Stelten](https://community.homey.app/u/John_Stelten)\
**Post date:** [January 2, 2022, 6:52pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/69 "2022-01-02T18:52:25Z")

</div>

Unfortunately no battery data in influxdb cloud. Anybody a suggestion?

![CleanShot 2022-01-02 at 19.50.02](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/8/781c348725a3f9c5b9e2f553658e07c08d12789a.png)

![CleanShot 2022-01-02 at 19.51.32](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/f/8fc60bf4f601d63a2385453e4738536be4f47b30.png)

Apparaat heeft zich 2min geleden nog ge-update, accu is 100%

---

<div class="post-metadata">

**Author:** ![M\_a\_r\_c\_o](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/m_a_r_c_o/32/146_2.png) [@M\_a\_r\_c\_o](https://community.homey.app/u/M_a_r_c_o)\
**Post date:** [January 2, 2022, 8:36pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/70 "2022-01-02T20:36:26Z")

</div>

Make a ticket with Athom, this is a problem in the Tado app that battery status is always 100% (at least in the old 3.x app it is always been like this). This is not an InfluxDB app issue.

Indeed battery status from devices other than Tado are registered and written to InfluxDB.

---

<div class="post-metadata">

**Author:** ![John\_Stelten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/john_stelten/32/18095_2.png) [@John\_Stelten](https://community.homey.app/u/John_Stelten)\
**Post date:** [January 2, 2022, 9:04pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/71 "2022-01-02T21:04:26Z")

</div>

These are not from tado but aqara / xiaomi.

---

<div class="post-metadata">

**Author:** ![M\_a\_r\_c\_o](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/m_a_r_c_o/32/146_2.png) [@M\_a\_r\_c\_o](https://community.homey.app/u/M_a_r_c_o)\
**Post date:** [January 2, 2022, 9:25pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/72 "2022-01-02T21:25:04Z")

</div>

These are working for me, I have a grafana graph for them.

---

<div class="post-metadata">

**Author:** ![Gjaevert](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gjaevert/32/50645_2.png) [@Gjaevert](https://community.homey.app/u/Gjaevert)\
**Post date:** [January 31, 2022, 8:20pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/73 "2022-01-31T20:20:24Z")

</div>

I am looking at setting this up on my Unraid system. I want to run Influx and Grafana in Docker containers using docker Compose through Portainer. I have done this successfully with Influx v1 before, but not v2, and I am having some issues understanding how to set up the token for v2 through Docker compose.

Is there any huge benefit in using InfluxDB v2 for Homey stats in Grafana, or would v1 pretty much be enough?

---

<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:** [February 1, 2022, 11:27am UTC](https://community.homey.app/t/app-pro-influxdb/32405/74 "2022-02-01T11:27:52Z")

</div>

I’m running v. 1.8 (I think it is), and that works good for me.

---

<div class="post-metadata">

**Author:** ![Gjaevert](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gjaevert/32/50645_2.png) [@Gjaevert](https://community.homey.app/u/Gjaevert)\
**Post date:** [February 1, 2022, 11:35am UTC](https://community.homey.app/t/app-pro-influxdb/32405/75 "2022-02-01T11:35:05Z")

</div>

Thanks.  
I went for 1.8.9-alpine yesterday and it works great 🙂

---

<div class="post-metadata">

**Author:** ![okoohler](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/okoohler/32/49512_2.png) [@okoohler](https://community.homey.app/u/okoohler)\
**Post date:** [March 2, 2022, 6:58pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/76 "2022-03-02T18:58:41Z")

</div>

Hi @balmli !

Thank you for this great app!  
I’ve come across a use-case where I need to have values between changes i.e every hour despite no change to the value. I’ve tried to sort this out in grafana but to no luck. Is there any possibility to include a feature where users can select to write static values with given (and adjustable) time intervals?

Thanks again!

---

<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:** [March 2, 2022, 7:10pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/77 "2022-03-02T19:10:14Z")

</div>

Have you tried using interpolating queries?

---

<div class="post-metadata">

**Author:** ![BasPost](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/baspost/32/183_2.png) [@BasPost](https://community.homey.app/u/BasPost)\
**Post date:** [March 8, 2022, 11:10am UTC](https://community.homey.app/t/app-pro-influxdb/32405/78 "2022-03-08T11:10:05Z")

</div>

Hi, I have installed Influxdb (1.8.10) and grafana on a RPi 4 (Buster) without any problems.  
Created an admin user with password, created a database and grafana is using this database.  
I’ve used this tutorial: [https://ehoco.nl/influxdb-installeren-op-een-raspberry-pi/](https://ehoco.nl/influxdb-installeren-op-een-raspberry-pi/)

Installed the Influxdb app on homey and configured with IP adress, port number and creditadionals of RPi.  
The app keeps saying “Disconnected”

I don’t know what’s wrong? /ping works (blank screen in browser?)  
Is it because of editing `sudo nano /etc/influxdb/influxdb.conf` (see tutorial)

Also what is in settings, the paramater “Measurement Prefix” for? Do you have to fill this in?

---

<div class="post-metadata">

**Author:** ![okoohler](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/okoohler/32/49512_2.png) [@okoohler](https://community.homey.app/u/okoohler)\
**Post date:** [March 31, 2022, 5:39pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/79 "2022-03-31T17:39:12Z")

</div>

Hi, sorry for my late reply. I eventually found a work-around in Grafana:  
|\> aggregateWindow(every: 1h, fn: last, **createEmpty: true** )  
**|\> fill(usePrevious: true)**  
This seem to have done the trick 🙂

---

<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, 8:33am UTC](https://community.homey.app/t/app-pro-influxdb/32405/80 "2022-07-20T08:33:13Z")

</div>

I have also influxdb running in docker on synology. It is up and running, and homey pro influx App say  
Connected. But can’t see any data in the bucket Homey. Homey advanced flow shows connected but no data. What do I need to do more??

Paul

---

<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, 4:44pm UTC](https://community.homey.app/t/app-pro-influxdb/32405/81 "2022-07-20T16:44:40Z")

</div>

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’?

> ![Screenshot_20220720-183128_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/0/50e5ac5985eaf5f573901747a9dd78db79dfe4a8.jpeg)

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:

```auto
influx -database 'homey' -precision rfc3339

```

Then the command line changes from `~$` to `>`  
Now enter _select \* from “DeviceName”_

An example device:  
`select * from "1.Growatt_Solarpanels"`

This results in a list of these lines:

```auto

2022-07-20T10:45:11.345Z fa38e533-9058-4af3-b39f-1b1eb5d060ea 2.7 1.Growatt Solarpanels [0a] Meters ⏱ 742296cc-377e-4b14-8809-90aacd3de808

```

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

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