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 [2025-07-15 23:17] – [5.12 Node-RED FAQ] mvader | venus-os:large [2025-08-29 09:09] (current) – support edit warwickchapman | ||
---|---|---|---|
Line 7: | Line 7: | ||
**Node-RED** offers PLC like programming for connecting hardware devices, APIs and online services. It provides a browser-based editor that makes it easy to wire together flows. With it, one can for example program a functionality such as activating a relay based on a temperature measurement combined with time. Or make far more complex algorithms, tying relays, measurements, | **Node-RED** offers PLC like programming for connecting hardware devices, APIs and online services. It provides a browser-based editor that makes it easy to wire together flows. With it, one can for example program a functionality such as activating a relay based on a temperature measurement combined with time. Or make far more complex algorithms, tying relays, measurements, | ||
- | 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, | ||
Line 26: | Line 26: | ||
===== 2. Where to find support ===== | ===== 2. Where to find support ===== | ||
- | There is and will be no official support on the functionalities of Venus OS large. | + | Node-RED |
- | For support, turn to the [[https:// | + | **Node-RED |
+ | The Victron Community is a good place to ask questions and get answers: | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
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. | 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. | ||
**Signal K community** | **Signal K community** | ||
- | For support on SignalK, the largest crowd of helpful people can be found in the Signal K Discord & Signal K github | + | For support on Signal K, the largest crowd of helpful people can be found in the Signal K Discord & Signal K GitHub |
===== 3. Requirements ===== | ===== 3. Requirements ===== | ||
Line 39: | Line 43: | ||
The compatible GX devices are: | The compatible GX devices are: | ||
- | + | | |
- | | + | * Cerbo GX (second-fastest processor) |
- | * Cerbo GX | + | |
* Cerbo-S GX | * Cerbo-S GX | ||
- | * Venus GX | + | * Venus GX (slowest processor) |
* Octo GX | * Octo GX | ||
- | * MultiPlus-II GX | + | * MultiPlus-II GX (fastest processor) |
- | * EasySolar-II GX | + | * EasySolar-II GX (fastest processor) |
+ | |||
+ | The Color Control GX (CCGX) and the CanVU GX are not able to run Venus OS Large. | ||
+ | Venus OS large is also available for certain RaspberryPi models. Installation files below, and installation & other RaspberryPi specific instructions [[https:// | ||
- | The Color Control GX (CCGX) as well as the CanVU GX are unfortunately not able to run Venus OS Large. | + | ==== 3.2 CPU & memory resources ==== |
- | Venus OS large is also available for certain RaspberryPi models. Installation files below, | + | Both Signal K as well as Node-RED are resource intensive software applications relative to the CPU and memory of most GX devices. |
- | ==== 3.2 CPU & Memory resources ==== | + | The level of intensity largely depends on the system' |
- | Both SignalK as well as Node-RED | + | **WARNING: Venus GX** |
+ | The Venus GX is the slowest GX-device still supported by Victron. Running both Signal K and Node-RED | ||
- | The level of intensity largely depends | + | If a GX-device runs out of memory or the load on the CPU becomes too high, the device will eventually reboot which may render a system |
- | 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 " | + | More details about CPU & RAM differences |
- | When running out of RAM or CPU, the device will slow down. And eventually also reboot by itself due to the watchdog. | ||
===== 3. How to install and update ===== | ===== 3. How to install and update ===== | ||
Line 76: | Line 82: | ||
Note, when installing on a RaspberryPi, | Note, when installing on a RaspberryPi, | ||
- | === Step 2. Update to the latest firmware version | + | === Step 2. Update to the latest firmware version === |
- | See Settings -> Firmware -> Online updates. For more information, | + | See Settings -> General -> Firmware -> Online updates (previously, |
=== Step 3. Set the image type Venus OS Large === | === Step 3. Set the image type Venus OS Large === | ||
- | Go to Settings -> Firmware -> Online updates | + | In the Online updates |
{{ : | {{ : | ||
- | Now, change | + | Set the Image type to 'Large', navigate |
- | This typically takes about 2 minutes. | + | |
+ | The firmware will take some time to download depending on the speed of your Internet connection, after which the GX-device will reboot for the installation which typically takes about 2 minutes. | ||
=== Step 4. Verify and enable === | === Step 4. Verify and enable === | ||
- Verify that the image was successfully installed: go to the Settings menu, and check that under the integrations for availability. | - Verify that the image was successfully installed: go to the Settings menu, and check that under the integrations for availability. | ||
- | - Enable either Signal K or Node-RED. Note that though its possible to enable both, doing that on a Venus GX is " | + | - Enable either Signal K or Node-RED. Installer access level is required to enable/ |
Visible once successfully installed, the integration settings: | Visible once successfully installed, the integration settings: | ||
Line 99: | Line 106: | ||
=== How to update === | === How to update === | ||
- | Both online and offline update methods can be used. The Image type setting, see the How to install chapter, defines what image type is being updated. See the GX manual for more details. | + | Both online and offline update methods can be used. The Image type setting, see the How to install chapter, defines what image type is being updated. See the manual |
===== 4. Accessing Node-RED and Signal K ====== | ===== 4. Accessing Node-RED and Signal K ====== | ||
- | After installing and then enabling | + | After installing and enabling |
- | + | ||
- | To access the Node-RED flow editor, type https:// | + | |
- | + | ||
- | See [[https:// | + | |
- | + | ||
- | To access the Signal K admin panel, type http:// | + | |
- | These two screenshots show what you will see after successfully accessing | + | To access |
=== Node-RED flow editor === | === Node-RED flow editor === | ||
{{ : | {{ : | ||
+ | |||
+ | To access the Signal K admin panel, type http:// | ||
=== Signal K admin panel === | === Signal K admin panel === | ||
{{ : | {{ : | ||
+ | |||
+ | See [[https:// | ||
===== 5. Node-RED ===== | ===== 5. Node-RED ===== | ||
{{ https:// | {{ https:// | ||
+ | |||
==== 5.1 Introduction ==== | ==== 5.1 Introduction ==== | ||
Node-RED is a tool for connecting hardware devices, APIs and online services in new and interesting ways. It provides a browser-based editor that makes it easy to wire together flows. With it, one can for example program a functionality such as activating a relay based on a temperature measurement. Or make far more complex algorithms, tying relays, measurements, | Node-RED is a tool for connecting hardware devices, APIs and online services in new and interesting ways. It provides a browser-based editor that makes it easy to wire together flows. With it, one can for example program a functionality such as activating a relay based on a temperature measurement. Or make far more complex algorithms, tying relays, measurements, | ||
- | Also Node-RED features a [[https:// | + | Also Node-RED features a [[https:// |
A good tutorial on how to work with Node-RED is here: https:// | A good tutorial on how to work with Node-RED is here: https:// | ||
Line 227: | Line 234: | ||
=== 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.8 Node-RED Dashboard ==== | + | |
+ | ==== 5.8 Virtual devices ==== | ||
+ | |||
+ | Virtual devices make it possible to connect equipment and data sources that are not natively supported by Victron to a GX device. Once created in Node-RED, these devices appear on the GX-device and behave like real Victron-supported hardware, becoming part of the larger Victron-based solution. | ||
+ | |||
+ | === Purpose and Examples === | ||
+ | |||
+ | Virtual devices are ideal for integrating third-party or DIY equipment: | ||
+ | * **Virtual meteo** – weather data from an unsupported or custom weather system with an API can be injected into a virtual meteo device. The data (e.g. wind speed, temperature, | ||
+ | * **Virtual grid meter** – calculated grid import/ | ||
+ | * **Virtual GPS** – GPSd or another data sources can be used to provide live positional data. | ||
+ | * **Virtual tank/ | ||
+ | |||
+ | === Supported Virtual Devices === | ||
+ | |||
+ | Currently supported device types include: | ||
+ | * **Battery** | ||
+ | * **Generator** | ||
+ | * **GPS** | ||
+ | * **Grid meter** | ||
+ | * **Meteo** (eg. weather station data) | ||
+ | * **Motor drive** (eg. electric boats) | ||
+ | * **PV inverter** | ||
+ | * **Tank sensor** | ||
+ | * **Temperature sensor** | ||
+ | |||
+ | === Setup === | ||
+ | |||
+ | - Update to the latest version of Venus OS. | ||
+ | - Add the relevant **Virtual Device node** in the Node-RED flow. | ||
+ | - Configure the device type. | ||
+ | - Connect it to a data source or control logic. | ||
+ | |||
+ | ==== 5.9 Node-RED Dashboard ==== | ||
Besides the flow and automation functionally, | Besides the flow and automation functionally, | ||
Line 240: | Line 280: | ||
{{ : | {{ : | ||
- | ==== 5.9 Configuration files ==== | + | ==== 5.10 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 259: | Line 299: | ||
For more information on such Node-RED configuration customisations, | For more information on such Node-RED configuration customisations, | ||
- | ==== 5.10 Ready-to-use solutions ==== | + | ==== 5.11 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 265: | Line 305: | ||
* [[https:// | * [[https:// | ||
- | ==== 5.11 Using data from VRM ==== | + | ==== 5.12 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 290: | Line 330: | ||
The [[https:// | The [[https:// | ||
- | ==== 5.12 Node-RED FAQ ==== | + | ==== 5.13 Node-RED files, folders & settings |
+ | |||
+ | On GX devices, the '' | ||
+ | |||
+ | All files or folders below are in ''/ | ||
+ | |||
+ | | File / Folder | Purpose | Notes / Caution | | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | |||
+ | Note: If created, ''/ | ||
+ | |||
+ | To serve media files (like images) from Node-RED on a GX device, create and edit the file ''/ | ||
+ | |||
+ | < | ||
+ | module.exports = { | ||
+ | httpStatic: "/ | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | Then create a subfolder such as ''/ | ||
+ | |||
+ | < | ||
+ | |||
+ | Restart Node-RED to apply the changes: | ||
+ | |||
+ | **Stop** | ||
+ | < | ||
+ | |||
+ | **Start** | ||
+ | < | ||
+ | |||
+ | **Restart** | ||
+ | < | ||
+ | |||
+ | NOTE: All files are stored on ''/ | ||
+ | |||
+ | ==== 5.14 Node-RED FAQ ==== | ||
=== Q1: Write/read file gives " | === Q1: Write/read file gives " |
venus-os/large.1752614268.txt.gz · Last modified: by mvader