Questions about Influx Integration

Homepage Forums Generally Questions about Influx Integration

Tagged:  , ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #33719
    Mathias Stöber
    Participant

    Hello,

    Thank you for the cool new features! Today I reinstalled my Ospi and played with the mqtt and influx integration. To test, I configured the Raspi temperature and weather data as sensors. I have questions about this:

    – How exactly are data logging and the output to mqtt and influx related to the sensor configuration? Are they independent of each other or not? I would like to log to the SD card as little as possible, so a pure push to mqtt and/or influx would be ideal for me.

    – When exactly is the data pushed to mqtt and Influx? When changed, depending on the configured reading interval or both?

    Otherwise I noticed two things. In the help of the web interface it would be good if under Bucket and Organization (Influx) it was stated whether you should insert the name or the IDs. Furthermore, today I had problems updating to the latest software version using “update.sh”. The old init.d script was removed, but there was no question as to whether I wanted to activate the service. Only a call to “build.sh ospi” brought relief, which may also be something for the documentation.

    Thank you very much Mathias

     

    #33723
    Admin
    Keymaster

    Hi, logged or sent via MQTT or Influx db always happens at the moment when the data was received.
    The reading interval for MQTT sensors has a different function; at this interval it renews the subscription from the MQTT server

    The other points are new to me, no one has reported this yet. I'll take a look.

    #33731
    Mathias Stöber
    Participant

    Hi,

    thank you for the answer. By “reading interval” I meant the point in the analog sensor configuration (see Figure 1), but in my case it is not an Mqtt topic that I receive, but the temperature of the Raspi.
    Yesterday I deactivated data logging in the configuration of the sensor (also in Figure 1). This meant that the data record stopped in my InfluxDB, but the changes continued to be published in the Mqtt server (Image 2). So there must be a difference in the triggers, at least for the analog sensors. Because the change in the water level was logged in the Influxdb at the same time.

    VG Mathias

    Attachments:
    You must be logged in to view attached files.
    #33745
    Admin
    Keymaster

    That's right, influx is triggered differently - via log. I'll adjust that

    #33748
    Mathias Stöber
    Participant

    Hi,

    Thank you! I just pulled an update and am testing it.

    Is there a reason why the release numbers in Github are a little behind?

    See Mathias

     

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.