RedMatic
RedMatic copied to clipboard
node-red 2.x upgrade
Hi, is there a way to upgrade to node-red 2.x? Now I have the first nodes that are not working anymore. [email protected] [email protected] Thank you
Edit: Thx Tscherno for the hint We tried to build of the new version (Node-red v2.2) and it worked - only Node-RED process control in Raspberrymatic is showing the wrong state Thx - hope there will be a official upgrade in the next days
I just saw that Hobbyquaker did a change just 18 days ago with NodeRed 2.1.5 đź‘Ť
Hi, I can add to the list: [email protected] It is also not working anymore after upgrading it...I hope the update of redmatic is approaching soon... How can I manually upgrade to node-red v2.2? Thanks a lot.
Not for the faint of the heart, but i built a release for the prerelease: https://github.com/Tscherno/RedMatic-1/releases
Hello,
A update of redmatic would be nice. I have got some problems with different package because of old environment. For now my entire flow are disabled because of a update of one package. The package was deinstalled and can't be installed again. The maintainer says that the reason is old json.
see https://github.com/windkh/node-red-contrib-telegrambot/issues/235
So I have now to decide to delete a lot of nodes from config or stay with disabled all flows until a new version, from package or node red, is available. :( Some Weeks ago I have had similar problem with other package. But this maintainer have make a new package with compatibility for old node red versions.
Regards
Hello,
A update of redmatic would be nice. I have got some problems with different package because of old environment. For now my entire flow are disabled because of a update of one package. The package was deinstalled and can't be installed again. The maintainer says that the reason is old json.
see windkh/node-red-contrib-telegrambot#235
So I have now to decide to delete a lot of nodes from config or stay with disabled all flows until a new version, from package or node red, is available. :( Some Weeks ago I have had similar problem with other package. But this maintainer have make a new package with compatibility for old node red versions.
Regards
You can install or uninstall packages via SSH console: go to path (normally the path for your nodes) and use npm installer:
cd /usr/local/addons/redmatic/var
npm install --save --no-package-lock --global-style --save-prefix="~" --production <paket-name>
npm uninstall --no-package-lock --global-style --save-prefix="~" --production <paket-name>
in your case:
cd /usr/local/addons/redmatic/var
npm install --no-package-lock --global-style --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production [email protected]
should bring back a running version - make a backup before Hope that helps Best regards Michael
Hi Michael.
I tried your suggestions, but get some EROFS errors.
This code
cd /usr/local/addons/redmatic/var
npm remove --no-package-lock --no-audit --no-update-notifier --no-fund --save node-red-contrib-telegrambot
leads to
Unhandled rejection Error: EROFS: read-only file system, mkdir '/root/.npm'
Unhandled rejection Error: EROFS: read-only file system, mkdir '/root/.npm'
Unhandled rejection Error: EROFS: read-only file system, mkdir '/root/.npm'
Unhandled rejection Error: EROFS: read-only file system, mkdir '/root/.npm'
Unhandled rejection Error: EROFS: read-only file system, mkdir '/root/.npm'
Unhandled rejection Error: EROFS: read-only file system, mkdir '/root/.npm'
Unhandled rejection Error: EROFS: read-only file system, mkdir '/root/.npm'
Unhandled rejection Error: EROFS: read-only file system, mkdir '/root/.npm'
Unhandled rejection Error: EROFS: read-only file system, mkdir '/root/.npm'
Unhandled rejection Error: EROFS: read-only file system, mkdir '/root/.npm'
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! <https://github.com/npm/npm/issues>
Have you had the same issue? Best regards, Tobi
cd /usr/local/addons/redmatic/var
npm install --no-package-lock --global-style --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production [email protected]
Try install not remove
Hi Michael.
First of all, thanks for your quick response. I am using the CCU3 and logged in via SSH with the root user.
Unfortunatelly, I get the same error when trying to install:
I first tried to uninstall/remove, because according the "package.json" file the newest version ([email protected]) is currently installed but can not uninstalled via RedMatic/NodeRed, because it is not shown within the installed nodes list.
Seems that I have to wait till a new RedMatic version with NodeRed >2.1.x is released...
Best, Tobi
@tobilindner before node-red commands you should make your filesystem writable via
mount -o remount,rw /
Afterwards you should make it readonly again via
mount -o remount,r /
Not for the faint of the heart, but i built a release for the prerelease:
https://github.com/Tscherno/RedMatic-1/releases
Does it works? What are your further steps? Would you release the 8.0 with the node red 2.0 version?
well... i think i have to find a cheap rpi4 to run nodered on ...
I would also really appreciate an update. Quite a lot contribs that can't be installed :/
Redmatic is a great installation in Homematic environment. Please upgrade to the newest version. So many users will be happy to get an actual environment without the need to install a separate instance for nodered.
Was kann die Gemeinde tun? Wie können wir unterstützen?
Es reicht auch Node-Red! Die Zusatzpakete kann sich ja jeder nach Bedarf installieren. Ist dann vielleicht weniger Arbeit.
tja.... inzwischen wird es immer schwieriger redmatic am laufen zu halten.
Ich wäre dankbar, für einen Hinweis, ob ich mich umorientieren muss.
tja.... inzwischen wird es immer schwieriger redmatic am laufen zu halten.
Ich wäre dankbar, für einen Hinweis, ob ich mich umorientieren muss.
WĂĽrde ich auch drum bitten @hobbyquaker Ist das addon tot? Wie kann man helfen?, kann man zb commits fĂĽr die Doku machen?
Wie Zeitintensiv ist ein Upgrade?
Ich ziehe einen Schlussstrich und migriere alles auf NodeRed integriert in Home Assistant. Dort entsteht gerade auch ganz aktuell ein neue Homematic Integration. Zusätzlich gibt es schon länger Raspberrymatic als Addon zum Installieren innerhalb von Home Assistant.
@Tscherno ich auch. Ich hab mir heute nen Tinkerboard 2S bestellt... da läuft NodeRed dann alleine drauf. Durch die Aufteilung der Raspberrymatic und NodeRed auf 2 Tinkerboard hoffe ich vielleicht sogar um einen ganz kleinen Performance Anstieg beider Systeme :P
Guter Hinweis mit der Migration auf ein "Standard-Node-RED". Danke. Ich habe ein paar Node-RED-Instanzen bei mir laufen, die meisten unter DietPi (weil schlank und schnell), da läuft alles glatt. Der Zugriff auf die Homematic klappt dabei sehr gut. Ich kann die Migration nur empfehlen. Das soll jetzt keine Kritik an RedMatic sein, ich kann nachvollziehen, wie aufwändig eine ständige "HinterherAktualisiererei" anderer integrierter Softwareteile mit dem jeweiligen Anwender-Gemecker sein kann. Man ist da stark von außen getrieben und kann nur noch reagieren. Insofern dennoch vielen Dank an RedMatic.
Hab’s am laufen und läuft schneller als vorher. Irgendwie entlastet es auch die Raspberrymatic hab ich das Gefühl.
Guter Hinweis mit der Migration auf ein "Standard-Node-RED". Danke. Ich habe ein paar Node-RED-Instanzen bei mir laufen, die meisten unter DietPi (weil schlank und schnell), da läuft alles glatt. Der Zugriff auf die Homematic klappt dabei sehr gut. Ich kann die Migration nur empfehlen. Das soll jetzt keine Kritik an RedMatic sein, ich kann nachvollziehen, wie aufwändig eine ständige "HinterherAktualisiererei" anderer integrierter Softwareteile mit dem jeweiligen Anwender-Gemecker sein kann. Man ist da stark von außen getrieben und kann nur noch reagieren. Insofern dennoch vielen Dank an RedMatic.
Hi, ich habe fĂĽr kurze Zeit Node-Red auf meiner Synology DS920+ in einem Docker Container laufen lassen. Ich hatte das GefĂĽhl, dass das Homematic Plugin das ganze System in die Knie gezwungen hat.
Hab ich da etwas verbummelt, oder gibt es noch mehr mit dieser Erfahrung?
@Tonitom nein, da hast Du nichts verbummelt. Bei mir lief die Raspi mit RedMatic Addon extrem träge. Jetzt wo beide Systeme getrennt auf Tinkerboard laufen, ist es gefühlt ein ganzes Stück schneller.
ggf. als Entscheidungshilfe zu der oben angesprochenen Migration und den Beobachtungen.
Ich habe Homematic als piVCCU auf einem Raspberry laufen und bisher auch RedMatic verwendet.
Nun habe ich auf dem gleichen Pi einen weiteren lxc Container erstellt und dort Node-Red 3.x installiert (incl. mount des Memory-Sticks für Chart Daten etc. Ablage zur Schonung der Pi-SD-Karte) . Dann alle Flows von RedMatic exportiert und in Node-Red importiert. Nicht übernommene Passwörter und Einstellungen in wenigen Nodes wieder eingegeben bzw. angepasst (neue IP Adresse/neuer Pfad für Node-Red Web Zugänge) und alles lief problemlos. Nebeneffekt: Homematic CCU3 (piVCCU) startet VIEL schneller durch und das Backup der Homematic ist auch rasend schnell.
PS: Ich finde die Arbeiten von @hobbyquaker auch sehr gut, aber die Unabhängigkeit von eigenständiger SW mit eigenem Lebenszyklus und damit unabhängiger Pflege hat doch Vorteile.
Hm, das ist vielleicht der richtige Weg. Performanz Probleme zwischen CCU3 und Node-Red gibt es keine?
Nebenfrage: Warum nicht gleich auf eine SSD installiert?
Hi, welchen node nutzt ihr in nodered um euch mit der CCU zu verbinden?
Derzeit noch node-red-contrib-ccu. Ich bin aber dabei einen eigen node zu entwickeln, um zukĂĽnftig via CCU-Jack die Anbindung zu machen.
Derzeit noch node-red-contrib-ccu
dto. Das ist auch von @hobbyquaker. Denke, dass hier die Zukunft auch eher ungewiss ist.
Mein Favorit wäre zukünftig ein MQTT-Client auf der CCU. Habe mich aber noch nicht umgeschaut, was dafür in Frage kommt.
Naja, wie geschrieben wäre das der CCU-Jack direkt als Addon auf der CCU oder extern im Docker
@drMaxxi: nehme auch node-red-contrib-ccu was ohne Probleme läuft @Tonitom: Performance Probleme habe ich nie beobachtet (auch vor RedMatic). SSD: ich will den Pi so verbrauchsoptimiert wie möglich verwenden. Ich brauche keine schnelle Bootgeschwindigkeit und für die wenigen Daten zur Zwischenablage reicht ein alter Stick. @djiwondee: warum erst auf MQTT und dann zu Node-Red. Ich möchte immer so wenig wie möglich Instanzen wegen Pflege und Verfügbarkeit im Spiel haben. MQTT verwende ich zwischen Node-Red und anderen Komponenten, würde es aber nie zur CCU nehmen, wenn es nicht nötig wäre. Ohne Message Broker (Mosquitto o.ä.) ginge sonst nichts zwischen Node-Red und CCU. @ptweety: Eine ähnliche Meinung hätte ich zu CCU-Jack via Docker. Außerdem sind die CCU und Node-Red meine Logikschichten für funktionale Abläufe zwischen allen Komponenten. Warum sollte in CCU-Jack eine dritte Instanz mit Pflege installiert werden. Welchen Vorteil bringt das? Aber das ist alles nur meine Meinung und ggf. habe ich ja auch nicht alle Aspekte verstanden. .