venus-os:large
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
venus-os:large [2024-06-24 21:08] – dfaber | venus-os:large [2025-06-15 23:47] (current) – [8.1 Disk space issues / data partition full] mvader | ||
---|---|---|---|
Line 9: | Line 9: | ||
Also Node-RED features a [[https:// | Also Node-RED features a [[https:// | ||
- | To get a good idea of its possibilities, | + | To get a good idea of its possibilities, |
**Signal K server** Signal K Server is a server application that runs on a central hub in a boat; in this case a Victron GX device. A few of its most used features are: | **Signal K server** Signal K Server is a server application that runs on a central hub in a boat; in this case a Victron GX device. A few of its most used features are: | ||
Line 28: | Line 28: | ||
There is and will be no official support on the functionalities of Venus OS large. | There is and will be no official support on the functionalities of Venus OS large. | ||
- | For support, turn to the [[https:// | + | For support, turn to the [[https:// |
- | There, first search if someone else had a similar question already. And if you can’t find such, then create a new question. Make sure you add Node-RED | + | On Community, first search if someone else had a similar question already. And if you can’t find such, then create a new question. Make sure to tag it with Node-RED. |
For support on SignalK, there is a #victron channel in [[http:// | For support on SignalK, there is a #victron channel in [[http:// | ||
Line 56: | Line 56: | ||
Both SignalK as well as Node-RED are rather resource intensive software applications to run on the GX Device. From a CPU usage point of view as well as RAM memory. | Both SignalK as well as Node-RED are rather resource intensive software applications to run on the GX Device. From a CPU usage point of view as well as RAM memory. | ||
- | Ofcourse, how intensive | + | The level of intensity largely |
From a GX device point of view, from the support models the Venus GX is the one with the least resources. Running both SignalK and Node-RED at the same time will be " | From a GX device point of view, from the support models the Venus GX is the one with the least resources. Running both SignalK and Node-RED at the same time will be " | ||
Line 82: | Line 82: | ||
Go to Settings -> Firmware -> Online updates -> Image type: | Go to Settings -> Firmware -> Online updates -> Image type: | ||
- | + | {{ :venus-os:venus-os_image_type_selector_v2.png? | |
- | {{ :venus-os:image_type_selector.png? | + | |
Now, change the Image type to Large. Then go one menu up, and Check for a new version and install that. | Now, change the Image type to Large. Then go one menu up, and Check for a new version and install that. | ||
+ | This typically takes about 2 minutes. | ||
+ | |||
+ | === Step 4. Verify and enable === | ||
- | === Step 3. Verify and enable | + | - Verify |
+ | - Enable either Signal K or Node-RED. Note that though its possible to enable | ||
- | - Verify that the image was successfully installed: go to the Settings menu, and check that the Venus OS Large menu is available. | + | Visible once successfully installed, the integration settings: |
- | - Enable either Signal K or Node-RED. Note that though its possible to enable both, doing that on a Venus GX is " | + | {{ :venus-os: |
- | Visible once successfully installed, the Venus OS Large menu: | ||
- | {{ : | ||
=== How to update === | === How to update === | ||
Line 120: | Line 121: | ||
===== 5. Node-RED ===== | ===== 5. Node-RED ===== | ||
- | {{:venus-os:node-palette.png? | + | {{ https:// |
==== 5.1 Introduction ==== | ==== 5.1 Introduction ==== | ||
Line 150: | Line 151: | ||
For developers: source code for the node-red-contrib-victron modules is [[https:// | For developers: source code for the node-red-contrib-victron modules is [[https:// | ||
+ | ==== 5.4 Examples ==== | ||
+ | |||
+ | Our most up to date library of examples can be accessed from within Node-RED. See the main menu (accessible from the top right), and then click Import. Or ctrl-i. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | To see the examples when you don't have access to a Node-RED installation and flow-editor, | ||
- | ==== 5.2 Back-up and restore ==== | + | ==== 5.5 Back-up and restore ==== |
Just as with other software it is important to keep your Node-RED flows save and secure. We advise you to periodically backup your flows using the palette manager "// | Just as with other software it is important to keep your Node-RED flows save and secure. We advise you to periodically backup your flows using the palette manager "// | ||
Line 161: | Line 169: | ||
Do note that the above instruction only makes a backup of your flows, not of the Node-RED configuration. The configuration is stored in '' | Do note that the above instruction only makes a backup of your flows, not of the Node-RED configuration. The configuration is stored in '' | ||
- | ==== 5.3 Installing extra nodes ==== | + | ==== 5.6 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. | 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. | ||
Line 183: | Line 191: | ||
Make sure that there is always 30MB of free space remaining on the data partition. One of the [[https:// | Make sure that there is always 30MB of free space remaining on the data partition. One of the [[https:// | ||
- | ==== 5.4 Controlling relays ==== | + | ==== 5.7 Controlling relays ==== |
For a relay to be controllable via Node-RED, it needs to be switched to manual control first. In most cases this needs to be done by using [[https:// | For a relay to be controllable via Node-RED, it needs to be switched to manual control first. In most cases this needs to be done by using [[https:// | ||
Line 218: | Line 226: | ||
=== Charger relays === | === Charger relays === | ||
The only charger which has a relay that is controllable is the Smart IP43 Charger. To use that for remote control, set its mode, using the VictronConnect app, to be remote controllable. Note that its use is limited: the relay is only powered (and thus only controllable) when the charger is switched on. It doesn' | The only charger which has a relay that is controllable is the Smart IP43 Charger. To use that for remote control, set its mode, using the VictronConnect app, to be remote controllable. Note that its use is limited: the relay is only powered (and thus only controllable) when the charger is switched on. It doesn' | ||
- | ==== 5.5 Node-RED Dashboard ==== | + | ==== 5.8 Node-RED Dashboard ==== |
Besides the flow and automation functionally, | Besides the flow and automation functionally, | ||
Line 231: | Line 239: | ||
{{ : | {{ : | ||
- | ==== 5.6 Configuration files ==== | + | ==== 5.9 Configuration files ==== |
WARNING: the vast majority of systems using Node-RED will not, and should not (!), have to modify any of the files here described. Venus OS itself, including Venus OS large and Node-RED, is made such that its not necessary to dive into the command line. | WARNING: the vast majority of systems using Node-RED will not, and should not (!), have to modify any of the files here described. Venus OS itself, including Venus OS large and Node-RED, is made such that its not necessary to dive into the command line. | ||
Line 250: | Line 258: | ||
For more information on such Node-RED configuration customisations, | For more information on such Node-RED configuration customisations, | ||
- | ==== 5.7. Ready-to-use solutions ==== | + | ==== 5.10 Ready-to-use solutions ==== |
Node-RED can also be used for doing more advanced tasks. Some examples of ready-to-use solutions are: | Node-RED can also be used for doing more advanced tasks. Some examples of ready-to-use solutions are: | ||
Line 256: | Line 264: | ||
* [[https:// | * [[https:// | ||
- | ==== 5.8. Using data from VRM ==== | + | ==== 5.11 Using data from VRM ==== |
For some flows it can be useful to retrieve data from the VRM Portal Database. For example to retrieve de Solar irradiation or yield forecasts. | For some flows it can be useful to retrieve data from the VRM Portal Database. For example to retrieve de Solar irradiation or yield forecasts. | ||
Line 281: | Line 289: | ||
The [[https:// | The [[https:// | ||
- | ==== 5.9. Node-RED FAQ ==== | + | ==== 5.12 Node-RED FAQ ==== |
=== Q1: Write/read file gives " | === Q1: Write/read file gives " | ||
Line 293: | Line 301: | ||
In case you see that there is a newer version Victron pallette available online, and thats not yet shipping in a Venus OS Large version, then the only option is to wait: a new Venus OS Large version is usually made available shortly after updating that pallette. | In case you see that there is a newer version Victron pallette available online, and thats not yet shipping in a Venus OS Large version, then the only option is to wait: a new Venus OS Large version is usually made available shortly after updating that pallette. | ||
- | === Q3: How can I password protect Node-RED === | + | === Q3: How can I password protect Node-RED |
- | Password | + | __Venus OS v3.50 and later__ |
+ | |||
+ | For systems that have a security profile set (under Settings -> General -> Security Profile), the password | ||
+ | |||
+ | __ Venus OS versions prior to v3.50__ | ||
+ | |||
+ | The Node-RED' | ||
=== Q4: How do I restart Node-RED from the Venus GUI? === | === Q4: How do I restart Node-RED from the Venus GUI? === | ||
Line 427: | Line 441: | ||
==== 6.3 First use & configuring ==== | ==== 6.3 First use & configuring ==== | ||
- | === Step 1. Opening the dashboard === | + | Follow these steps to turn your GX into a NMEA to WiFi gateway within 5 minutes. |
- | Open a web browser, and go to the SignalK Dashboard by navigating to http:// | + | These instructions assume that your GX device has already been set-up with Venus OS Large, and Signal K is enabled. |
+ | |||
+ | === Step 1. Signal K Admin page === | ||
- | Further documentation about that is ... (some link to signalk-node documentation? | + | Open a web browser, and go to the Signal K admin page by navigating to http:// |
- | === Step 2. Configure serial connections === | + | {{ : |
- | Use this to, for example, configure a USB-connected NMEA0183 connection in SignalK. To do so, go to the dashboard (http:// | + | === Step 2. Set the admin password === |
- | Make sure to not add a connection using any of the built-in serial ports (/ | + | Go to Security |
- | Note that once configured in SignalK, for example a USB-serial port, that port is no longer normally available in Venus OS. For example, when plugging in a USB-GPS; | + | {{ :venus-os:img_2579.png |}} |
+ | |||
+ | === Step 3. Vessel information === | ||
+ | |||
+ | Go to Settings | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | === Step 4. NMEA2000 Can-bus | ||
+ | |||
+ | For NMEA2000 networks, | ||
- | === Step 3. Configure can-bus connections === | + | Signal K is preconfigured to have its port operational for this. |
- | For the Venus GX, and Cerbo GX, SignalK comes pre-configured with a NMEA2000 listener for the VE.Can ports, its named " | + | Here is how you can see the preconfigured connection |
;#; | ;#; | ||
Line 449: | Line 475: | ||
;#; | ;#; | ||
- | Note that, to keep that operational, | + | Note that, to keep that operational, |
;#; | ;#; | ||
Line 457: | Line 483: | ||
For more information on CAN-busses, see chapter 6.4. | For more information on CAN-busses, see chapter 6.4. | ||
- | === Step 4. Adding Signalk Plugins or Webapps | + | === Step 5. Optional: Configure NMEA0183 serial connections |
- | TODO: explain & warn about data partition size & space (since thats where plugins are installed by signalk on Venus OS). Filling up the datapartition can corrupt Venus OS. More information about data partition on Venus OS here: https:// | + | Use this to, for example, configure a USB-connected NMEA0183 connection in SignalK. Go to Server |
+ | Make sure to not add a connection using any of the built-in serial ports (/ | ||
+ | |||
+ | Note that once configured in SignalK, for example a USB-serial port, that port is no longer normally available in Venus OS. For example, when plugging in a USB-GPS; and then adding a connection for its corresponding tty in the SignalK, makes for that GPS to be no longer be recognised and available in Venus OS. | ||
+ | |||
+ | === Step 6. Verify received data === | ||
+ | |||
+ | Go to the Databrowser to see the data now available to Signal K, and to tablets and nav. apps on WiFi: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | === Step 7. Configure your nav app === | ||
+ | |||
+ | Steps needed here will differ per app. The key required data is: | ||
+ | |||
+ | * Host/IP address: **venus.local** | ||
+ | * Protocol: **TCP** | ||
+ | * Port: **10110** | ||
+ | |||
+ | === Done! === | ||
+ | |||
+ | Now you should have all your data such as position from the boat’s GPS, speed, wind data, as well as AIS targets in your favourite nav app. Like here in Navionics: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | === Where to go from here? Anchor alarms, trip recording, automatic log books and more === | ||
+ | |||
+ | * Anchor alarm: https:// | ||
+ | * Automatic log book & trip recording: https:// | ||
==== 6.4 CAN-bus ports ==== | ==== 6.4 CAN-bus ports ==== | ||
Line 476: | Line 530: | ||
^ Enclosure label ^ Interface ^ Notes ^ | ^ Enclosure label ^ Interface ^ Notes ^ | ||
- | | VE.Can 1 | can0 | Isolated and default enabled in SignalK | | + | | VE.Can 1 | vecan0 |
- | | VE.Can 2 | can1 | Non-isolated | | + | | VE.Can 2 | vecan1 |
=== Ekrano GX === | === Ekrano GX === | ||
^ Enclosure label ^ Interface ^ Notes ^ | ^ Enclosure label ^ Interface ^ Notes ^ | ||
- | | VE.Can 1 | vecan0 | Isolated | | + | | VE.Can 1 | vecan0 | Isolated |
| VE.Can 2 | vecan1 | Non-isolated | | | VE.Can 2 | vecan1 | Non-isolated | | ||
- | |||
- | When using SignalK on Venus OS on an Ekrano, there is currently no port enabled for N2K traffic in the default configuration. Configure it manually instead, see here for more information: | ||
==== 6.5 Signal K FAQ ==== | ==== 6.5 Signal K FAQ ==== | ||
Line 607: | Line 659: | ||
==== 8.1 Disk space issues / data partition full ==== | ==== 8.1 Disk space issues / data partition full ==== | ||
- | Using both Signal K Server, as well as Node-RED, it is quite easy to completely fill up the data partition. | + | Using both Signal K Server, as well as Node-RED, it is possible |
+ | |||
+ | The GX device will issue a warning, #46 Data partition full, as soon as the free space of the data partition is below 5%. | ||
+ | |||
+ | To see the exact free space, go to Settings -> General -> Modifications. | ||
+ | |||
+ | Having the data partition full will lead to unexpected results. The system is not built to be resilient for that. Some examples: | ||
- Venus OS itself no longer working correctly, | - Venus OS itself no longer working correctly, | ||
Line 613: | Line 671: | ||
- Node-RED refuses to start, | - Node-RED refuses to start, | ||
- and similar. | - and similar. | ||
- | |||
- | Note that Venus OS itself does **not** show a notification or warning when the data disk is full. And know that the other disks are read-only unless remounted to read/write as per [[https:// | ||
Depending on what the issue is, there are a few things you can do: | Depending on what the issue is, there are a few things you can do: | ||
+ | - Remove all Node-RED flows and installed node palettes. See next chapter on how to do that. | ||
+ | - Remove all Signal K Server log files. In case you're using SignalK, then we recommend to try that option first. See next chapter on how to do that (requires a USB stick or SD Card), and once done make sure to double check you're Signal K log setup; Most importantly, | ||
- Do full GX factory reset, as per the instructions in the GX user manuals. This includes downloading a file called venus-data.tgz; | - Do full GX factory reset, as per the instructions in the GX user manuals. This includes downloading a file called venus-data.tgz; | ||
- | | + | - A more detailed approach is logging |
- | | + | |
**Tips and tricks to login a diagnose disk space** | **Tips and tricks to login a diagnose disk space** | ||
Line 677: | Line 734: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
- | * [[https:// | + | * [[https:// |
* [[https:// | * [[https:// | ||
See [[https:// | See [[https:// |
venus-os/large.1719256099.txt.gz · Last modified: by dfaber