Loxone Exporter via Prometheus

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • NPN29
    Azubi
    • 30.10.2019
    • 3

    #1

    Loxone Exporter via Prometheus

    Hi !
    I am a French Loxone Partner and I regularly find my answers here ... except now !
    Does anyone know the development to export the data from the mini server into prometheus via API ?
    Loxone Prometheus Metrics Exporter. Contribute to XciD/loxone-prometheus-exporter development by creating an account on GitHub.


    I don't know anything about Go ... I try to launch the export with the command "./export --host loxone --port 8000 --user xcid --password test" and it seems to work ... but I don't know how to run this export to prometheus ...
    If someone wants to help me then that's great
    Thank you for your help !!!!
  • 13az13
    Smart Home'r
    • 29.07.2020
    • 34

    #2
    Hi,
    I attempted setting this up also and drew a blank at the same place as yourself. Appreciate this isn’t a solution for Prometheus but in the end I went for ioBroker with the loxone plug-in (https://github.com/UncleSamSwiss/ioBroker.loxone) which was very easy to configure in the UI and have ioBroker export the data I need to influxdb. I then chose grafana for visualisation/reporting/searching of the metrics/logs.
    if this also suits what you need and you get stuck setting it up give me a shout, happy to help
    Aaron

    Kommentar

    • NPN29
      Azubi
      • 30.10.2019
      • 3

      #3
      Thanks for your answer
      I also tried InfluxDB and IoBroker, it works pretty well and it's accessible for newbies !
      however InfluxDB doesn't allow visualization via a graphical tool it seems?
      Also I wonder because since I test this solution, my MiniServer tends to be a little less stable ....
      Have you noticed a similar behavior?

      Kommentar

      • 13az13
        Smart Home'r
        • 29.07.2020
        • 34

        #4
        Hi,
        You can use Grafana to visualise the data exported from the mini server into the influxdb instance and create dashboards etc with various charts/widgets visualising the data. Couple of examples pulled from some guides below. I’ve found it a good solution and I could get it working unlike Prometheus (due to my own lack of knowledge around what’s needed to run it!). Not noticed any miniserver resource spikes really, it seems to run and perform well even with the data polling from ioBroker
        Klicke auf die Grafik für eine vergrößerte Ansicht

Name: 505BD28D-3448-43FC-839C-DB4CD9391158.png
Ansichten: 961
Größe: 363,5 KB
ID: 304654
        Klicke auf die Grafik für eine vergrößerte Ansicht

Name: 92EEC59A-68DE-4A98-B78C-E03464004EE6.png
Ansichten: 998
Größe: 257,4 KB
ID: 304653

        Kommentar

        • Christian Fenzl
          Lebende Foren Legende
          • 31.08.2015
          • 11249

          #5
          FYI, with a closed group of members, we are already in Alpha stage testing of a new Statistics plugin for LoxBerry.
          If you can wait a little bit, you may give this a try without fiddling around with configuration.
          The plugin (as possibilities allow) fully integrates to Loxone and is Influx/Grafana based.
          Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

          Kommentar


          • 13az13
            13az13 kommentierte
            Kommentar bearbeiten
            Awesome, sounds interesting Christian. Give me a shout if I can help with any testing at all, happy to do so

          • NPN29
            NPN29 kommentierte
            Kommentar bearbeiten
            Fantastic ! If can I help for testing ... don't hesitate
        • NPN29
          Azubi
          • 30.10.2019
          • 3

          #6
          So, while waiting for the plugin of Christian and others, I am trying again with influxDB and IoBroker ... It works BUT some lights are still on even though they appear off on the app !
          I never have had this before .... witch leave me wondering with the management of API by Loxone ....
          When I have a look on the loxone config debug monitor I see nothing wrong ....

          Kommentar

          • 13az13
            Smart Home'r
            • 29.07.2020
            • 34

            #7
            I’d try turning the log level up to debug on the loxone adapter instance and see if the ioBroker logs shed any light - might show an error in reading the state value or something like that? I’ve not had any issues to date
            Angehängte Dateien

            Kommentar

            Lädt...