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


Question

Posted (edited)

QA for regular exporting data from HC3 to InfluxDB 2.x or InfluxDB 3.x

 

30 days trial period - than you need license key: 30EUR via Paypal account

Please login or register to see this code.

For license key I need your HC3 (or HC3L or Yubii) serial number: HC3-xxxxxxxx

Ideally include your device serial number and QA name in the payment note.

 

QA is sending data based on events and also in regular intervals from HC3/HCL/Yubii to InluxDB 2.x or InluxDB 3.x. It generates data to Influx with minimum delay.

There is data about HC3 system (cpu,ram), info about scenes (start, stop), geofence events and a lot of details about devices. In QA variables there is possibility to define include/exclude measurements/IDs/… (default: all data are sent to Influx)

 

QA: (same QA for InfluxDB2 or InfluxDB3)

Please login or register to see this attachment.

 

Icon:

 

Please login or register to see this image.

/monthly_2022_02/InfluxDB.png.b9f88eff9645ffa375849b159f905636.png" />

 

 

 

image.png.5f05c292baf5ed3b94541930353c0237.png      image.png.eeccf1fbcc125a906a288e63e5905d0c.png

 

image.png.2f5bb8491644b5a7c57d40f8fb5cfc29.png

 

 

QA variables - you have to setup -

IP_InfluxDB2 ie. 192.168.1.111 (or server/database address without https:// or http:// )

Port_InfluxDB2 ie. 8086   (for cloud database usually 443)

HttpType ie. http     (default value http, for cloud usually https)

VersionInflux ie. V2 (default V2 for InfluxDB2 or V3 for InfluxDB3)e.

Organization ie. Your Organization From InfluxDB2 or Your Database for InfluxDB3
Bucket ie. Your Bucket From InfluxDB2 or empty for InfluxDB3
TokenAPI ie. Your TokenAPI From InfluxDB2 or InfluxDB3

 

Please login or register to see this attachment.

 

 

 

 

Edited by petrkl12
  • Like 6
  • Thanks 1

Recommended Posts

  • 0
Posted

Hi @petrkl12, congrats for the great work :)  I'm trying your QA and thinking about buying it. It’s really nice. 

 

I'm wondering if there's a way to get a value : 
- stored in a QA variable ?
- stored in a QA label ?
- stored in a Global variable ? 

  • 0
  • Inquirer
  • Posted
    19 hours ago, jguellec said:

    I'm wondering if there's a way to get a value : 
    - stored in a QA variable ?
    - stored in a QA label ?
    - stored in a Global variable ? 

     

    No, these data are not sent to InfluxDB.

     

    • Like 1
    • 0
    Posted

    @petrkl12, I installed QA

    first error status 500 >> solved by https

    second error :

    Please login or register to see this code.

    No idea how to solve??

    QA Version: 1.16 27.4.2024

    InfluxDB v2.7.6

    • 0
  • Inquirer
  • Posted

    @Sjakie Can you try version 1.18? (press button QA update and install new version)

     

    • 0
    Posted (edited)

    @petrkl12 Update done  result same error.

    It will give for Manny devices same error

    Also for main HC3 

    Edited by Sjakie
    add
    • 0
  • Inquirer
  • Posted

    coukd you share these errors? thanks

    • 0
  • Inquirer
  • Posted

    Could you check what is in Influx? Is it empty or some data are there already?
    Errors are only with “0.0” numbers?

    • 0
    Posted (edited)

    Yesterday I had data in InfluDB

    Today I see in dashboard the graphic started yesterday.

    Restart of HC3 and NAS

    After importing dashboard, dashboard deleted what also removed my first dashboard.

    Now I can't select value, if select in first column it will clear all other columns.

    Note: I am a first time InfluxDB user

    The errors are on all devices see pm 

    Edited by Sjakie
    restart
    • 0
  • Inquirer
  • Posted

    @Sjakie Issue is with https. That error is from SSL. I have tried to switch off control of certificates but I can't test it because I don't use https...

    There is new version 1.19 (press button QA update and install new version)

     

    • 0
    Posted

    @petrkl12, done same error.

    • 0
  • Inquirer
  • Posted

    ok, you will have to change settings in InfluxDB but I don’t know how. That error is not in QA.

    I think you will have to play with following commands in InfluxDB:

     

    [http]
      # Enable HTTPS. Default is false.
      https-enabled = true

      # The path to the PEM encoded certificate.
      https-certificate = "/etc/ssl/influxdb.pem"

      # The path to the PEM encoded private key.
      https-private-key = "/etc/ssl/influxdb-key.pem"

      # Use a separate private key and certificate file for each subdomain or server
      # block. The path to the file must be specified by the parameter with the
      # corresponding name.
      #
      # If you want to use mutual TLS, you must configure each client CA.
      # https-ca-certificate = "/etc/ssl/influxdb-ca.pem"

      # Minimum version of TLS to be used. By default, it’s “1.2”.
      # https-min-version = "1.2"

      # Maximum version of TLS to be used. By default, it’s “1.3”.
      # https-max-version = "1.3"

      # Skip TLS verification for clients. Use this for testing purposes only.
      # https-insecure-skip-verify = false
     

    • 0
    Posted

    Thanks, I tried yesterday to switch HC3 into only http >>no luck

    pitty is now I can't go back into https anymore network tab does't open. In remote all are greed out.

    So it will take some time to fix

    • 0
    Posted (edited)
    On 2/8/2022 at 6:27 PM, petrkl12 said:

    QA for regular exporting data from HC3 to InfluxDB 2.x

     

    30 days trial period - than you need license key: 30EUR via Paypal account

    Please login or register to see this code.

    For license key I need your HC3 (or HC3L or Yubii) serial number: HC3-xxxxxxxx

    Ideally include your device serial number and QA name in the payment note.

     

    QA is sending data based on events and also in regular intervals from HC3/HCL/Yubii to InluxDB 2.x. It generates data to Influx with minimum delay.

    There is data about HC3 system (cpu,ram), info about scenes (start, stop), geofence events and a lot of details about devices. In QA variables there is possibility to define include/exclude measurements/IDs/… (default all data are sent to Influx)

     

    QA:

    Please login or register to see this attachment.

     

    Icon:

     

    Please login or register to see this link.

     

     

     

    Please login or register to see this link.

     

    Please login or register to see this attachment.

     

    QA variables - you have to setup -

    IP_InfluxDB2 ie. 192.168.1.111 (or server/database address without https:// or http:// )

    Port_InfluxDB2 ie. 8086   (for cloud database usually 443)

    HttpType ie. http     (defaul value http, for cloud usually https)

    Organization ie. YourOrganizationFromInfluxDB2
    Bucket ie. YourBucketFromInfluxDB2
    TokenAPI ie. YourTokenAPIFromInfluxDB2
     

    Please login or register to see this attachment.

     

     

     

     

    Is it any information on how the incl/excl quickappvars works?

    I only want to send temperature data and energy data to start with 🤔

    So how do I make it stop sending everything first? 😅

    and I guess inn the includevice i just type ids like this:  1003,1004,1005 ?  🤔

     

     

    I have to say this quickapp is NICE!

    Linked my influx with grafana and got this to check my temperatures on my waterboiler as an example :D

    Please login or register to see this attachment.


     

     

     

     



     

    Edited by Brors94
    • 0
    Posted

    Hi @petrkl12 hope you are doing great ! I'm using your QA for a few years now and it works great ! However, I've notice that it triggers frequent (and many) 500 errors , such as : 

     

    [QA_INFLUXDB2_614]: [ERROR] sendDataToInfluxDB2 - Status is ERR - Status - 500 Data:

     

    I am not quite sure if it's a recent behavior or if it was there from the start. Maybe you have an idea how I can correct that ? 

     

    Have a nice day !

    • 0
  • Inquirer
  • Posted

    is it full error message? if there is nothing else it will be internal error in InluxDB - for example your server is overloaded…

    • 0
    Posted

    Thanks for your quick reply. I'll try to screenshot the full errors next time, basically it as a device name and few stuff after the "500 Data:"

     

    At the moment I don't have any errors, so I guess you're probably right with the gateway overloaded 😃

    • 0
  • Inquirer
  • Posted

    Important information for users running InfluxDB in Docker/containers.

     

    ( btw.InfluxDB 2 and InfluxDB 3 have diffrent database structure, etc. :(  )

     

    image.png.8091b08c8c55eb63f7ad116bf7976b9d.png

    • Like 1
    • 0
  • Inquirer
  • Posted

    new version with support of Influx DB3 (version 1.52 or above) - download in first post or via auto update in QA

     

    • Like 2

    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...