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-18 12:01] – Added 5.12 Node-RED files, folders & settings 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 235: | Line 235: | ||
| 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 |
| - | Besides the flow and automation functionally, | + | Virtual devices make it possible to connect equipment |
| - | It is viewable in a web browser - both locally as well as remote, via the VRM Servers. See chapter 6.2 for how to see it remotely. | + | === Purpose and Examples === |
| - | The [[https://flows.nodered.org/ | + | Virtual devices are ideal for integrating third-party or DIY equipment: |
| + | * **Virtual switch** – an IoT switch running Tasmota can be exposed in the GX New UI switch pane, and controlled in automation | ||
| + | * **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, humidity) then becomes visible to the GX and in VRM. | ||
| + | * **Virtual grid meter** – calculated grid import/ | ||
| + | * **Virtual GPS** – GPSd or another data sources can be used to provide live positional data. | ||
| + | * **Virtual tank/ | ||
| - | 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. | + | === Supported Virtual Devices === |
| - | Example dashboard: | + | 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** | ||
| - | ==== 5.9 Configuration files ==== | + | 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 267: | 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 273: | 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 298: | Line 348: | ||
| The [[https:// | The [[https:// | ||
| - | ==== 5.12 Node-RED files, folders & settings | + | ==== 5.13 Node-RED files, folders & settings |
| On GX devices, the '' | On GX devices, the '' | ||
| Line 325: | Line 375: | ||
| < | < | ||
| - | NOTE: All files are stored on ''/ | + | Restart |
| - | + | ||
| - | Managing | + | |
| **Stop** | **Stop** | ||
| Line 338: | Line 386: | ||
| < | < | ||
| - | ==== 5.13 Node-RED FAQ ==== | + | NOTE: All files are stored on ''/ |
| + | |||
| + | ==== 5.14 Node-RED FAQ ==== | ||
| === Q1: Write/read file gives " | === Q1: Write/read file gives " | ||
venus-os/large.1755511271.txt.gz · Last modified: by warwickchapman