Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node-red-contrib-tahoma - keine Verbindung zu Somfy #70

Closed
taucher4000 opened this issue Oct 19, 2018 · 3 comments
Closed

node-red-contrib-tahoma - keine Verbindung zu Somfy #70

taucher4000 opened this issue Oct 19, 2018 · 3 comments

Comments

@taucher4000
Copy link

Ich nutze seit kurzen die RedMatic Integration und möchte nun darüber auch meine mit Somfy gekoppelten Velux-Rolläden steuern. Dazu gibt das den Node https://github.com/nikkow/node-red-contrib-tahoma. Leider funktioniert dieser mit RedMatic nicht. Der Node bekommt nach der Eingabe des Benutzernamens/Passwords keine Verbindung. Nutze ich das gleiche außerhalb von RedMatic in einer nativen Red-Node instanz, so funktioniert der Node auf anhieb. Es scheint also ein Problem mit RedMatic zu sein. Die Log gibt leider auch mit dem Log-Level "Trace" nichts aus.

Hat jemand eine Idee?

https://github.com/nikkow/node-red-contrib-tahoma

@hobbyquaker
Copy link
Member

hobbyquaker commented Oct 19, 2018

Versuch mal in /usr/local/addons/redmatic/var/node_modules/node-red-contrib-tahoma/tahoma.html in Zeile 36 den führenden / aus der URL zu entfernen (sollte dann so aussehen: url: "tahomasomfy/getSetup/"+ $("#node-input-tahomabox").val(),). Danach RedMatic neustarten und Weboberfläche neuladen. Wenn das funktioniert mach ich ein Pull Request beim node-red-contrib-tahoma Projekt auf, der führende Slash verhindert dass der Tahoma Node seine Config laden kann wenn Node-RED auf einem "nicht-root" Pfad läuft (wie es bei RedMatic der Fall ist)

@taucher4000
Copy link
Author

Hi Sebastian,

vielen Dank für die schnelle Antwort. Ich habe den / entfernt und schon funktioniert es. Ich würde mich über ein Pull freuen, damit es auch mit zukünftigen Versionen Kompatibel ist. 👍

hobbyquaker added a commit to hobbyquaker/node-red-contrib-tahoma that referenced this issue Oct 20, 2018
this change fixes getSetup is Node-RED isn't served on the root path
rdmtc/RedMatic#70
@christianrit
Copy link

Hallo,
leider funktioniert die aktuelle node Version nicht auf Redmatic.
Ich kann zwar die Verbindung zu somfy herstellen, aber ich sehe keine sites und keine Geräte.
den / zu entfernen habe ich versucht, jedoch steht dieser code jetzt in einer anderen Zeile.
beste Grüße und Danke im Voraus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants