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 [2026-04-15 21:51] (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 ==== | ||
| - | Besides the flow and automation functionally, | + | ==== 5.8 Virtual devices ==== |
| - | It is viewable in a web browser | + | 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. |
| - | The [[https:// | + | === Purpose and Examples === |
| - | Once that is done, you can find the nodes in the palettes | + | Virtual devices are ideal for integrating third-party or DIY equipment: |
| + | * **Virtual switch** – an IoT switch running Tasmota | ||
| + | * **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/ | ||
| - | Example dashboard: | + | === Supported Virtual Devices === |
| - | {{ : | + | |
| - | ==== 5.9 Configuration files ==== | + | 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** | ||
| + | |||
| + | As separate Virtual Switch node is provided for the virtual switch feature. | ||
| + | |||
| + | === Virtual Switches === | ||
| + | |||
| + | Virtual Switches are a special class of virtual devices: | ||
| + | * They appear in the **Switch pane** of the **New UI** in Venus OS. | ||
| + | * They can be controlled like a real digital switch — toggled on/off, queried from the GX, and automated via Node-RED flows. | ||
| + | * Their state is stored on the GX device and can survive reboots. | ||
| + | * They are useful for integrating third-party automation logic, external hardware, or remote control scenarios without requiring a physical relay. | ||
| + | |||
| + | === 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 functionality, | ||
| + | |||
| + | The dashboard is viewable in a web browser - both locally and remotely via VRM. See chapter 7 for remote access. | ||
| + | |||
| + | **Recommended: | ||
| + | |||
| + | Install [[https:// | ||
| + | |||
| + | Once installed, the dashboard nodes appear in the palette on the left. After configuring and deploying a dashboard, an extra tile appears in the Venus OS Large menu on VRM to access it remotely. | ||
| + | |||
| + | Example dashboard: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | **Alternative: | ||
| + | |||
| + | For users comfortable with HTML, CSS and JavaScript, [[https:// | ||
| + | |||
| + | ==== 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 317: | ||
| 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 323: | ||
| * [[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 348: | ||
| 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