Git Product home page Git Product logo

Comments (12)

thkl avatar thkl commented on May 25, 2024

ja, aber das Problem ist, das die CCU xmlrpc://.... als Init auf die Schnittstelle sendet. Ich muss aber als http.// antworten. Ok das ist dreckig, but works for me ;o)

EDIT: ok ich glaub ich weiss was du meinst. Du versuchst HVL von extern anzusprechen und Dein CallBack Path hat ein xmlrpc drin ? ...

from homematic-virtual-interface.

thkl avatar thkl commented on May 25, 2024

ok sollte in f59d1b3 erledigt sein

from homematic-virtual-interface.

coolsurfer avatar coolsurfer commented on May 25, 2024

Dein CallBack Path hat ein xmlrpc drin ?

ja, genau das ist der Fall. Hat mich gute 10 Minuten Lebenszeit gekostet, weil der INIT zwar funktioniert hatte ich aber keine Updates bekam :-( erst ein symlink mit ziel xmlrpcServer hat das dann lokal gelöst

Das mit dem "protocol" geht so evtl. ich würde ein startsWith() machen und wenn das true ist, dann das entsprechende replace. Weil replace ersetzt ja nur das erste Vorkommen, was ja dann das erste xmlrpc... ist, was ganz am anfang steht, sonst wäre startWith ja false.

Oder ein replace auf "xmlrpc://" und "xmlrpc_bin://". Aber deine Lösung scheint auch ganz praktikabel, baut aber evtl. neue Probleme ein...

from homematic-virtual-interface.

coolsurfer avatar coolsurfer commented on May 25, 2024

Danke. Scheint soweit alles einwandfrei zu funktionieren. Was mir jedoch aufgefallen ist: Wenn ich ein INIT (leer) sende, dann schreibt das LOG zwar "[HomematicLogicalLayer] [INFO] - there is a removal" aber auf der Startseite bleiben "3 active Connections"; sprich dort wird der entsprechende Eintrag nicht gelöscht, ob auch tatsächlich noch regelmäßig Updates an das entfernte Script erfolgen, hab ich auf die Schnelle jetzt nicht geprüft.

3 active Connections (xxx.xxx.xxx.001:80/<secret>/httpServer.php | xxx.xxx.xxx.002:1999/ | xxx.xxx.xxx.001:80/<secret>/xmlrpcServer.php | Last Message Mon Apr 10 2017 11:22:32 GMT+0200 (CEST))

from homematic-virtual-interface.

thkl avatar thkl commented on May 25, 2024

Hmm ich muss mal schauen was ich da tue :) das ist schon lange her das ich das gebaut habe

from homematic-virtual-interface.

coolsurfer avatar coolsurfer commented on May 25, 2024

Hier ist ein Patch dafür (nur falls du nicht suchen magst). Evtl. musst du noch ein "if (that.isHMServer(intf)==false) {" drum bauen wie beim addConsumer. Da war ich mir nicht so sicher. Ansonsten funktioniert das ganze aber so :-)

patch.txt

from homematic-virtual-interface.

jb-home avatar jb-home commented on May 25, 2024

Hi! Seit dem Update auf 0.2.40 habe ich nun 2 Aktive Verbindungen. Die Erste ist ganz normal zur CCU die zweite zeigt folgendes: null:80xmlrpc_bin://127.0.0.1:1999

from homematic-virtual-interface.

thkl avatar thkl commented on May 25, 2024

@jens ich glaub den kannst du nur aus der persist.json manuell löschen

from homematic-virtual-interface.

jens avatar jens commented on May 25, 2024

Sorry, wrong Jens. :-)

from homematic-virtual-interface.

thkl avatar thkl commented on May 25, 2024

Oops 🙊

from homematic-virtual-interface.

jb-home avatar jb-home commented on May 25, 2024

So, habe es aus der persist.json gelöscht und den Dienst restarted. Sieht wieder sauber aus.
@jens You mean different Jens. I am a real Jens ;)

from homematic-virtual-interface.

thkl avatar thkl commented on May 25, 2024

kann zu oder ?

from homematic-virtual-interface.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.