Home Assistant <-> Loxone integration

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • c4yc0
    Dumb Home'r
    • 08.02.2024
    • 18

    #1

    Home Assistant <-> Loxone integration

    I've created an efficient way (no proxies) to bi-directionally integrate Home Assistant and Loxone. Hopefully, it would be of use to someone: https://loxwiki.atlassian.net/wiki/s...ne+integration
  • GeoPod
    MS Profi
    • 20.01.2021
    • 516

    #2
    Thank you very much for your great work.

    I treid to get it running but undortunatly it is not working in my setup.

    I have home assistant running on a raspberry pi 5. I modified the confiration.yaml accordignly to your post:

    Klicke auf die Grafik für eine vergrößerte Ansicht

Name: image.png
Ansichten: 1095
Größe: 26,0 KB
ID: 465539

    Loaded your blueprint and generated one automation for the SoC of my Car:

    Klicke auf die Grafik für eine vergrößerte Ansicht

Name: image.png
Ansichten: 1057
Größe: 36,0 KB
ID: 465540
    Klicke auf die Grafik für eine vergrößerte Ansicht

Name: image.png
Ansichten: 1042
Größe: 32,5 KB
ID: 465541
    In the loxone config I added a VI:

    Klicke auf die Grafik für eine vergrößerte Ansicht

Name: image.png
Ansichten: 1044
Größe: 55,1 KB
ID: 465542

    Unfortunatly I do not get any information into loxone. The VI stays at 0% although triggerd the action now several times:

    Klicke auf die Grafik für eine vergrößerte Ansicht

Name: image.png
Ansichten: 1048
Größe: 31,7 KB
ID: 465543



    Could you please help me figure out what might be going wrong? Let me know if you need any logs or more details about my setup.​​

    Kommentar

    • c4yc0
      Dumb Home'r
      • 08.02.2024
      • 18

      #3
      Hi! I have too little data to help unfortunately. First of all it would help if you show how exactly the entity is name in home assistant and what is the name of VI in Loxone (the one that is red taped on your screen shot).

      The other thing I'd recommend is to try to update loxone value from Postman or similar tool - this way at least you'd know this part works. Also check you HA logs. You many want to increase the log level in the configuration.yaml file like that:

      logger:
      default: warning
      logs:
      homeassistant.components.rest_command: debug

      Kommentar

      • GeoPod
        MS Profi
        • 20.01.2021
        • 516

        #4
        c4yc0 Thank you very much for your very quick response!
        Unfortunately, I can't show the exact name, as it contains the VIN of my vehicle.
        However, I copied the data, so I assume it is identical.
        I also did not copy the word "Sensor" at the beginning, just as you described.

        I'm new to Home Assistant.
        Could you maybe give me a bit of an explanation on how exactly to do this with Postman?
        I actually thought that this part of the code was already sending the information to Loxone.

        Klicke auf die Grafik für eine vergrößerte Ansicht

Name: image.png
Ansichten: 1079
Größe: 92,7 KB
ID: 465546


        When I add the logger part to the yaml file:

        Klicke auf die Grafik für eine vergrößerte Ansicht

Name: image.png
Ansichten: 1032
Größe: 35,2 KB
ID: 465548


        I get thie error when I want to restart my system:

        Klicke auf die Grafik für eine vergrößerte Ansicht

Name: image.png
Ansichten: 1035
Größe: 13,7 KB
ID: 465547​​​

        Kommentar


        • Iluminatus23
          Iluminatus23 kommentierte
          Kommentar bearbeiten
          Hast Du es inzwischen geschafft?

        • GeoPod
          GeoPod kommentierte
          Kommentar bearbeiten
          Ja es läuft jetzt. Ich bin leider noch nicht dazugekommen, Schritt für Schritt aufzuschreiben.

          Was bei mir jetzt läuft ist das Auto (VW iD Integration), Liebherr Kühl-und Gefrierschrank und die Ecovacs Saugroboter.

        • Iluminatus23
          Iluminatus23 kommentierte
          Kommentar bearbeiten
          @GeoPod: Danke für die schnelle Antwort. Wie hast Du es denn geschafft? Hänge genau an dem Punkt, an dem Du auch warst.... vielen Dank!
      • c4yc0
        Dumb Home'r
        • 08.02.2024
        • 18

        #5
        I'd suggest to try to solve it yourself You should need that knowledge soon if you're doing this stuff anyway.

        This would be helpful:

        Kommentar

        Lädt...