venus-os:extended
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
venus-os:extended [2020-05-16 11:49] – ↷ Page name changed from venus-os:large-image to venus-os:extended mvader | venus-os:extended [2021-01-06 22:04] (current) – mvader | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Venus OS Extended image: Signal K and Node-RED ====== | + | moved here: [[venus-os:large|]] |
- | + | ||
- | (DRAFT - THIS DOCUMENT IS ABOUT NOT YET COMPLETELY FINISHED FUNCTIONALITY) | + | |
- | + | ||
- | ===== 1. Introduction ===== | + | |
- | + | ||
- | This manual documents the extended version of Venus OS, which adds Signal K and Node-RED. For more information on either of the two, see Google. | + | |
- | + | ||
- | + | ||
- | + | ||
- | ==== Status and where this development is going ==== | + | |
- | + | ||
- | Currently, these images are available as beta versions. Working well, several users are using this without any issues; and are super happy with the provided functionality. | + | |
- | + | ||
- | The remaining work are mostly small improvements, | + | |
- | + | ||
- | There will be two flavours of Venus OS to install: | + | |
- | + | ||
- | - the normal one as we've been building for years now. With all normal & supported functionality. | + | |
- | - the large- aka extended | + | |
- | + | ||
- | Switching between them will be easy: a simple switch in the gui. Updating will be easy as well, the online updates will work, just like they do now for the normal images. | + | |
- | + | ||
- | For now not that easy yet: installing and updating is done using the offline install method: with usb stick or sd-card. | + | |
- | + | ||
- | Why not keep it all in one like it has been until now? To save download and install time for the (vast majority) of users that will not use these features. And they increase the download (& installed) size enourmously. | + | |
- | + | ||
- | More details | + | |
- | + | ||
- | * https:// | + | |
- | * https:// | + | |
- | + | ||
- | + | ||
- | + | ||
- | ===== 2. Where to find support ===== | + | |
- | + | ||
- | There is and will be no official support on the functionalities included in this image. For support, turn to the [[https:// | + | |
- | + | ||
- | ===== 3. Requirements ===== | + | |
- | + | ||
- | A compatible GX device: | + | |
- | + | ||
- | * Cerbo GX | + | |
- | * Venus GX (serial number HQ1842 or later, or upgraded to the large partition layout - more information in Appendix A) | + | |
- | * Octo GX | + | |
- | * MultiPlus-II GX | + | |
- | * EasySolar-II GX | + | |
- | The CCGX and CanVU GX are unfortunately not able to run the extended version. | + | |
- | + | ||
- | Venus OS extended is also available for certain RaspberryPi models. Installation files below, and installation & other raspberrypi specific instructions [[https:// | + | |
- | + | ||
- | ===== 3. How to install ===== | + | |
- | + | ||
- | For Venus GX-es with a serial number below HQ1842, first perform the procedure as explained in Appendix A. Warning, it can only be carried | + | |
- | ===== 4. Node-RED ===== | + | |
- | + | ||
- | https:// | + | |
- | + | ||
- | + | ||
- | The Node-RED editor is at http:///(ip address): | + | |
- | + | ||
- | + | ||
- | ==== Installing extra nodes ==== | + | |
- | + | ||
- | Node-RED comes with a core set of useful nodes, but there are many more available from both the Node-RED project as well as the wider community. | + | |
- | + | ||
- | For example nodes that give access to weather data, or with timer functionality, | + | |
- | + | ||
- | You can search for available nodes in the Node-RED library. | + | |
- | + | ||
- | The Victron Pallette and the Dashboard pallette come pre-installed. | + | |
- | + | ||
- | Read the [[https:// | + | |
- | + | ||
- | To install new nodes/ | + | |
- | + | ||
- | Palettes will be installed on the data partition on the GX Device. Which means that they will remain installed when updating Venus OS to a new version. | + | |
- | + | ||
- | it is possible to remove self-installed palettes.see the remove button in the palette manager. | + | |
- | + | ||
- | its not possible to remove pre-installed nodes; it is possible to disable them. | + | |
- | + | ||
- | When installing a newer version of a palette than what is pre-installed in Venus OS, node-red will use that newer version. | + | |
- | + | ||
- | Todo add what happens if user has a palette self installed and Venus OS then comes with a newer version pre-installed. | + | |
- | + | ||
- | Make sure that there is always 30MB of free space remaining on the data partition. TODO: how can a user see that? Also mem usage / mem free & some cpu stats would be nice to see. Maybe with a dashboard & flow? ;o) | + | |
- | + | ||
- | ===== 5. Signal K ===== | + | |
- | + | ||
- | See here: https:// | + | |
- | + | ||
- | + | ||
- | ===== Appendix A - Repartioning Venus GX flash memory ===== | + | |
- | + | ||
- | The Venus GX has sufficient flash memory to run the Venus OS Extended image. But up until end of 2018 it was produced with a partition layout not suitable to run large versions of Venus OS. This appendix explains how to self update the partitions to the new format. | + | |
- | Perform this procedure only when connected via Ethernet. Do not use the built-in WiFi AP to performing this procedure. The AP will not work half way the procedure. | + | |
- | + | ||
- | **WARNING**: | + | |
- | + | ||
- | It is impossible to brick the device using this procedure. Its always possible to run the installer again. But, to make the device operational again, also the files must be restored, if anything then with other contents. | + | |
- | + | ||
- | Venus GX-es with serial number HQ1842xxxxx and later already have the new partition layout from the factory. | + | |
- | + | ||
- | === Requirements === | + | |
- | + | ||
- | * An SD Card | + | |
- | * Computer skills | + | |
- | + | ||
- | Note that a USB stick will not work. Installer images can only be ran using an SD Card. | + | |
- | + | ||
- | === Step A. Enable and obtain root access === | + | |
- | + | ||
- | See [[https:// | + | |
- | + | ||
- | === Step B. Secure factory files === | + | |
- | + | ||
- | Copy below four files to your computer. | + | |
- | + | ||
- | * / | + | |
- | * / | + | |
- | * / | + | |
- | * / | + | |
- | + | ||
- | Below commandline instructions show how to do that on linux from the commandline. For Windows try Mobaxterm, or WinSCP. Putty won't work, its not for transferring files. There is Putty SCP (PSCP), as well, but then you need to know how to handle the commandline in Windows. We recommend using the other two. | + | |
- | + | ||
- | Procedure on Linux: | + | |
- | + | ||
- | < | + | |
- | mkdir my-temp | + | |
- | cd my-temp | + | |
- | mkdir conf | + | |
- | mkdir venus | + | |
- | scp " | + | |
- | scp " | + | |
- | </ | + | |
- | + | ||
- | === Background information on the factory files === | + | |
- | + | ||
- | The first two are needed for the built-in accesspoint to work. Without them, the script that should start it is in an endless loop. | + | |
- | + | ||
- | Third file is not used anywhere (at this moment), but easy enough to recreate by hand as well. | + | |
- | + | ||
- | Fourth file: without it the system won't be able to send data to VRM anymore. Either make sure to keep that file, or after having booted the new version, go to the VRM Portal, Settings -> General. And scroll to the bottom. There will be an option to reset the token. This option is only visible after the portal has received data from the reflashed device. | + | |
- | + | ||
- | === Step C. Run the installer image === | + | |
- | + | ||
- | First, download the [[https:// | + | |
- | + | ||
- | Then, write it to an sdcard (tip: use BalenaEtcher, | + | |
- | + | ||
- | Finally, run the installer by inserting the sdcard containing the installer, and then power up while pressing the small recessed button on the right of the long green connector with, for example, a paperclip. | + | |
- | + | ||
- | There is a bi-color LED on the other side of the same long green connector, indicating the status: | + | |
- | + | ||
- | * off, no image found | + | |
- | * red blinking, busy | + | |
- | * green on, done | + | |
- | * red on, error | + | |
- | + | ||
- | Side info: see here for more details on installing an image. | + | |
- | + | ||
- | Once done, reboot the device, and then re-obtain yourself root access to continue. Note that all is reset, you'll need to go to Remote Console on LAN, then change access level again, enable ssh, change root password, and then login. | + | |
- | + | ||
- | === Step D. Restore the files === | + | |
- | + | ||
- | Again, this is how to do it on Linux: | + | |
- | + | ||
- | < | + | |
- | scp ./ | + | |
- | scp ./venus/* " | + | |
- | + | ||
- | # reboot | + | |
- | ssh 192.168.178.122 reboot | + | |
- | </ | + | |
- | + | ||
- | === Step E. Install extended Venus OS === | + | |
- | + | ||
- | Now, the Venus GX has been repartitioned, | + |
venus-os/extended.1589622564.txt.gz · Last modified: 2020-05-16 11:49 by mvader