RevolutionPi Release Notes Buster 04/2021
|
|
---|---|
für RevPi Core, RevPi Connect, RevPi Compact und RevPi FlatUnterstützung für RevPi Flat und RevPi Modul MIOAb diesem Release werden unsere neuen Mitglieder der RevPi Familie, der RevPi Flat und das Multi-IO-Erweiterungsmodul RevPi MIO unterstützt. Beide Geräte lassen sich in PiCtory konfigurieren, und mit den Dir bereits bekannten Methoden können Werte über das Prozessabbild geschrieben bzw. gelesen werden. Der RevPi Flat unterstützt WLAN und Bluetooth. Beides ist standardmäßig aktiviert. Zur Deaktivierung gibt es im Webstatus zwei weitere Buttons, einen für WLAN und einen für Bluetooth. Raspberry Pi OS BusterDas Image ist abgeleitet von Raspberry Pi OS 2021-03-04, ein Buster-basiertes Image, und enthält alle Paket-Updates, welche bis März 2021 veröffentlicht wurden. Unser Image wird weiterhin mit Kernel 4.19.95-rt38 ausgeliefert. Node.JS, npm und Node-RED sind weiterhin vorinstalliert, allerdings nicht mehr mit den Paketen aus dem Debian Buster Repository. Vielmehr wurden sie mit Hilfe des Scripts "https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered" installiert. Node.JS, npm und Node-RED nicht mehr aus Debian RepositoryZwei Gründe haben uns zu der Entscheidung bewogen, Node-RED nicht mehr aus dem Debian Repository vorzuinstallieren.
Allerdings hat dies nun Auswirkungen beim Upgrade von Stretch auf Buster. An dieser Stelle muss manuell nachgearbeitet werden, um in den Genuss einer sauberen Node-RED-Installation und weiterhin funktionierenden Node-RED-Projekten zu kommen. Hierfür haben wir Skripte erstellt, die Dir dabei helfen sollen, nach dem Upgrade auf Buster die alten Pakete bzgl. Node.JS, npm und Node-RED aufzuräumen und die aktuelle Version zu installieren. Auch ist wichtig zu wissen, dass das Debian Package “node-red-contrib-revpi-nodes” in Buster nicht mehr existiert. “node-red-contrib-revpi-nodes” wird nur noch über das npm Repository zur Verfügung gestellt und muss auch entsprechend über npm installiert werden. Ganz wichtig: Sichere sämtliche Node-RED-Projekte und Konfigurationen auf ein externes Medium oder Verzeichnis, vor allem die Projekte im Verzeichnis “/home/pi/.node-red”. Dieses Verzeichnis wird bei der Neuinstallation von Node-RED überschrieben. Bist Du mit der Sicherung Deiner Node-RED-Projekte und Konfigurationen fertig, kannst Du das Skript mit sudo /usr/sbin/revpi_buster_upgrade_fix_nodered.sh ausführen, das Teil des Debian-Pakets “revpi_tools” ist. Das Skript führt Dich durch den Prozess der Paket-Bereinigung und Neuinstallation von Node-RED. Wenn das Skript fertig ausgeführt ist, musst Du anschließend noch mit Hilfe von npm die projektrelevanten Module manuell installieren und Deine Projekte sicherlich an der einen oder anderen Stelle nachjustieren bzw. konfigurieren. Software von Drittanbieternlogi.RTS liegt nun in der Version 5.0.0 vor, TeamViewer in der Version 2.14.13. PiCtoryPiCtory liegt in der Version 2.0.2 vor und unterstützt nun den RevPi Flat und den RevPi MIO. Ebenso wurden die Farben des Layouts auf unser KUNBUS-typisches Orange umgestellt. Desweiteren wird PiCtory nicht mehr in “/var/www” installiert, sondern liegt nun komplett im Verzeichnis “/var/www/revpi”. Auch ist PiCtory standardmäßig nun auf Port 41080 konfiguriert. Per Redirect-Regel werden HTTP-Requests an Port 80 nun an Port 41080 weitergeleitet. Sollte Dein Projekt den Port 80 benötigen, kannst Du die Rewrite-Regeln des Apache entsprechend verwenden, um PiCtory aufzurufen, oder die Redirect-Regeln einfach entfernen und den Port in der URL mitangeben, um PiCtory zu erreichen. piSerial 2.0.0piSerial hat ein Refactoring für Buster erfahren und liegt nun in der Version 2.0.0 vor. Sichtbare Änderungen sind:
| for RevPi Core, RevPi Connect, RevPi Compact and RevPi FlatSupport for RevPi Flat and RevPi Module MIOWith this release we are supporting the new members of our RevPi family, RevPi Flat and RevPi MIO (Multi IO extension module). Both devices are configurable in PiCtory and with the already known methods values can be read from and written to the process image. RevPi Flat comes with support for WLAN and Bluetooth. Both are activated by default. You can deactivate them separately in Web-Status with the appropriate buttons, one for WLAN and one for Bluetooth. Raspberry Pi OS BusterOur image is based on Raspberry Pi OS 2021-03-04, which is based on Buster and therefore includes all package updates been released until March 2021. Our image comes with kernel 4.19.95-rt38. Node.JS, npm and Node-RED are still preinstalled. For this we haven’t used packages from Buster repository. In fact we have done the preinstallation with the script "https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered" .
Node.JS, npm and Node-RED not from Debian-RepositoryTwo reasons have led to the decision to not preinstall Node-RED from the Debian-Repository.
If you upgrade your system from Stretch to Buster you have to do some manual work to get a clean and proper Node-RED installation and thus working Node-RED projects again. For this we have implemented two scripts which will help you to cleanup your System and remove all Node-RED related packages and then to install the latest and greatest version of Node-RED. It is also important to know that the Debian package “node-red-contrib-revpi-nodes” does not exist in Buster anymore. node-red-contrib-revpi-nodes is only available in the npm repositoy and thus needs to be installed from it. Important: Please backup all Node-RED projects and configurations first externally or in another directory, especially the projects from /home/pi/.nodered . This directory will be overwritten when installing the latest Node-RED version from script. Once you have done your backup of your Node-RED projects and configurations you can start the script with sudo /usr/sbin/revpi_buster_upgrade_fix_nodered.sh which is part of the package revpi_tools. The script will guide you through the cleanup process and also the new installation of Node-RED. Once the script will have been finished you still may need to install project relevant modules from npm repository and also to adjust your project configurations as well. 3rd-party Softwarelogi.RTS comes in version 5.0.0, TeamViewer in version 2.14.13. PiCtoryWe release PiCtory in version 2.0.2 and it supports RevPi Flat and module RevPi MIO (Multi-IO). Futhermore we have changed the layout colours to our KUNBUS-like orange. Another point is that PiCtory will not be installed in /var/www anymore, it is now installed in /var/www/revpi. Also, the port configuration has been changed, it listens now at 41080. HTTP-Requests to port 80 will be redirected to port 41080. If some of your projects will need port 80 you just need to setup some rewrite rules in your Apache configuration so that PiCtory will be loaded properly or you just can remove the redirect rules completely and specify the port number in the calling URL in your browser. piSerial 2.0.0piSerial for Buster has been refactored and is released in version 2.0.0. Visible changes are:
|
|
|