# Logging temp and humidity

**URL:** <https://community.homey.app/t/logging-temp-and-humidity/52159>\
**Category:** Questions & Help\
**Created:** [September 24, 2021, 1:01pm UTC](https://community.homey.app/t/logging-temp-and-humidity/52159 "2021-09-24T13:01:45Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![TobiasA](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tobiasa/32/34081_2.png) [@TobiasA](https://community.homey.app/u/TobiasA)\
**Post date:** [September 24, 2021, 1:01pm UTC](https://community.homey.app/t/logging-temp-and-humidity/52159/1 "2021-09-24T13:01:45Z")

</div>

I am an absolute beginner:  
My need is very easily explained.  
I want to save my temperature and humidity readings in a log file.  
I want to export the file to my computer.  
(manually or automatically)  
Anything else is a bonus.  
I checked the apps and there are some using “loggin” in the name, but I do not understand how to use them.  
Can someone help please.

---

<div class="post-metadata">

**Author:** ![Undertaker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/undertaker/32/53278_2.png) [@Undertaker](https://community.homey.app/u/Undertaker)\
**Post date:** [September 24, 2021, 1:17pm UTC](https://community.homey.app/t/logging-temp-and-humidity/52159/2 "2021-09-24T13:17:23Z")

</div>

> **[Archive Insights](https://homey.app/de-de/app/com.gruijter.insights2csv/Archive-Insights/)**
>
> Make backups of all insights

---

<div class="post-metadata">

**Author:** ![Joenoo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joenoo/32/18671_2.png) [@Joenoo](https://community.homey.app/u/Joenoo)\
**Post date:** [September 24, 2021, 1:19pm UTC](https://community.homey.app/t/logging-temp-and-humidity/52159/3 "2021-09-24T13:19:30Z")

</div>

Sure. Use the [web app](https://my.homey.app) go to ‘Insights’, right click on a device and choose ‘download’.

---

<div class="post-metadata">

**Author:** ![CyberSponk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cybersponk/32/8334_2.png) [@CyberSponk](https://community.homey.app/u/CyberSponk)\
**Post date:** [September 25, 2021, 5:32am UTC](https://community.homey.app/t/logging-temp-and-humidity/52159/4 "2021-09-25T05:32:47Z")

</div>

You can use [PaperTrails](https://homey.app/de-ch/app/nu.dijker.papertrails/PaperTrails-Logbuch/). The log can be e.g. viewed, filtered or something else in Excel after download.

[PaperTrails](https://homey.app/de-ch/app/nu.dijker.papertrails/PaperTrails-Logbuch/) can also send the log with mail or save to a syslog-server.

---

<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:** [September 26, 2021, 11:05am UTC](https://community.homey.app/t/logging-temp-and-humidity/52159/5 "2021-09-26T11:05:22Z")

</div>

I use the [InfluxDB app](https://homey.app/nl-nl/app/homey.influxdb/InfluxDb/) to export the data and use it in a Grafana dashboard. The advantage is that you have always the detailed data available over a long period of time instead of Hmey’s InSight.

---

<div class="post-metadata">

**Author:** ![TobiasA](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tobiasa/32/34081_2.png) [@TobiasA](https://community.homey.app/u/TobiasA)\
**Post date:** [September 26, 2021, 5:05pm UTC](https://community.homey.app/t/logging-temp-and-humidity/52159/6 "2021-09-26T17:05:17Z")

</div>

Ok. That is simple enough. But If I have 5 sensors, I have to do it 5 times. Correct?  
As I mentioned, I am a total beginner. Is there any way to save the combined chart in insights in the web app? Or do I have to select my sensors all of the time?

---

<div class="post-metadata">

**Author:** ![TobiasA](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tobiasa/32/34081_2.png) [@TobiasA](https://community.homey.app/u/TobiasA)\
**Post date:** [September 26, 2021, 5:07pm UTC](https://community.homey.app/t/logging-temp-and-humidity/52159/7 "2021-09-26T17:07:49Z")

</div>

After some tinkering, I understand I have to create a flow to do this. I do not fully understand how to use PaperTrails. If I add the card “add to the log” how am I supposed to pick the sensors I am interested in?  
Is there a global token for each sensor? How do I find out which one that is?

---

<div class="post-metadata">

**Author:** ![CyberSponk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cybersponk/32/8334_2.png) [@CyberSponk](https://community.homey.app/u/CyberSponk)\
**Post date:** [September 27, 2021, 4:33am UTC](https://community.homey.app/t/logging-temp-and-humidity/52159/8 "2021-09-27T04:33:34Z")

</div>

You need one Flow. When you building Flows with iOS- /Android-App:

In WHEN use the Device-Card SENSOR VALUE changed with HUMIDITY.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/7/c74f3009fd30e41bab34281b0c9fbc7bbd54d581.jpeg)

In AND for each Sensor wich should **not** logged use one LOGIC-Card with CONTAINS and the name of the Sensor.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/7/97785d5280a296dc10a6834ebf021b0e1ffc3833.jpeg)

In THEN use PaperTrails-Card SAVE TO LOG. In this card you can set what to log e.g. Sensor-Name and Sensor-Value.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/f/dfa721156cd99eeab89a9466276fbeb2aedf7d21.jpeg)

---

<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:** [September 27, 2021, 7:32am UTC](https://community.homey.app/t/logging-temp-and-humidity/52159/9 "2021-09-27T07:32:00Z")

</div>

As simple as it is with InfluxDB.  
All insight measurements are exported, even if you have multiple sensors.  
[https://homey.app/f/sAhaCM](https://homey.app/f/sAhaCM)

You can get something like this

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

---

<div class="post-metadata">

**Author:** ![Kvalle](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kvalle/32/47216_2.png) [@Kvalle](https://community.homey.app/u/Kvalle)\
**Post date:** [July 24, 2022, 11:14pm UTC](https://community.homey.app/t/logging-temp-and-humidity/52159/10 "2022-07-24T23:14:22Z")

</div>

Hi I saw your solution, I’m a noob here but how do I do to see the log ? If I use that app and flow you showed? @Arnold_vd_Linden

---

<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 25, 2022, 12:28am UTC](https://community.homey.app/t/logging-temp-and-humidity/52159/11 "2022-07-25T00:28:18Z")

</div>

Install Influxdb and Grafana on a server or NAS, and install the influxdb app on Homey

> [@\[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 …

---

<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:** [July 25, 2022, 11:32am UTC](https://community.homey.app/t/logging-temp-and-humidity/52159/12 "2022-07-25T11:32:28Z")

</div>

See the post of Peter
