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-08-05 23:13] – warwickchapman | venus-os:large [2025-11-27 12:16] (current) – [5.9 Node-RED Dashboard] dfaber | ||
|---|---|---|---|
| Line 26: | Line 26: | ||
| ===== 2. Where to find support ===== | ===== 2. Where to find support ===== | ||
| - | Victron maintains the integration of Node-RED and SignalK | + | Node-RED and SignalK |
| **Node-RED support** | **Node-RED support** | ||
| Line 234: | 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, | ||
| - | It is viewable in a web browser - both locally as well as remote, via the VRM Servers. See chapter | + | It is viewable in a web browser - both locally as well as remote, via the VRM Servers. See chapter |
| - | The [[https:// | + | The [[https:// |
| Once that is done, you can find the nodes in the palettes on the left. Once the dashboard has been configured and deployed, an extra tile will appear in the //Venus OS Large// menu on VRM, allowing to connect to the dashboard via VRM. | Once that is done, you can find the nodes in the palettes on the left. Once the dashboard has been configured and deployed, an extra tile will appear in the //Venus OS Large// menu on VRM, allowing to connect to the dashboard via VRM. | ||
| Line 247: | Line 279: | ||
| {{ : | {{ : | ||
| - | ==== 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 266: | Line 298: | ||
| 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 272: | Line 304: | ||
| * [[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 297: | Line 329: | ||
| 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.1754428408.txt.gz · Last modified: by warwickchapman