Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

Fibaro Temp Data


Question

Posted

Is there anyway to automate the export of the firbaro temp data? i have so many temp sensors in my property i am only getting two days worth of stats because its hitting the 500,000 event limit?

4 answers to this question

Recommended Posts

  • 0
Posted
1 hour ago, Al3x said:

Is there anyway to automate the export of the firbaro temp data?

They only popular way posted on this forum (and used by me) is running scripts to transfer data to InfluxDB

 

Please login or register to see this link.

 

Then use the reporting tools that were introduced in newer versions or use the very popular "Grafana"

 

Please login or register to see this link.

 

If you put "influxdb" in the search field on the forum...

 

I have not posted my InfluxDB script because there are a few ways to store your data in that very specific database. When I developed my solution, I tried 5 (five) different ways and chose the one that allowed me to get data from multiple sensors at once. Newer versions of InfluxDB support "joins" using a new query language but when I started with this DB (around version 1.2) that does not exist. This limitation confused many users, because the syntax looks like SQL you kind of expect "join" to be a standard feature.

 

1 hour ago, Al3x said:

i have so many temp sensors in my property i am only getting two days worth of stats because its hitting the 500,000 event limit?

Ermmm... IIIRC the HC2 "event" table is limited to 40k events (it auto cleans every 24h), and the temp/power table has higher limit. That might explain why you only see 2 days. I have 90 nodes and can store 7-14 days so you seem to have quite a lot more reporting sensors. That's OK if you do not have issues but if you see unexpected delays, it might be worth investigating. Maybe turn down reporting "a notch". Not sure about data storage on HC3, I kept my transfer to InfluxDB (with a few changes due to new event reporting).

 

  • 0
Posted (edited)

Hi, I use a VD button to push data to thingspeak and a scene to press that button every 30 mins. Here is the VD code:

 

Please login or register to see this code.

Then in thingspeak you can do all the analysis you like (including comparing different rooms' temperature using matlab) and you can also export all your history to excel. Plus, you can also setup thingspeak to trigger a webhook in IFTTH that sends you an email in case HC2 doesn't report temp data for 2 hours - this is useful to have an alert if something is going wrong.

 

Hope it helps!
R

Edited by RiccardoCanetta
  • Like 1
  • 0
Posted

Here is a fantastic guide to getting started with Influx and Grafana.
I run this with @10der HC2 script, and it works amazingly well.

 

Getting started with Influx and Grafana

Please login or register to see this link.

@10derHC2 script

Please login or register to see this link.

  • Thanks 1
  • 0
Posted
On 5/26/2020 at 11:17 AM, petergebruers said:

I have not posted my InfluxDB script because there are a few ways to store your data in that very specific database. When I developed my solution, I tried 5 (five) different ways and chose the one that allowed me to get data from multiple sensors at once.


I am experimenting with InfluxDB and Grafana.  Now I just put the values of some devices every minute in Influx. But there are better ways I think. 
 

 What are your finding, in the way you get the values in Influx? 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...