Raspberry Pi Image

Raspberry Pi

Add Relays - Does anyone have a an ‘idiots guide' on how to add more Relays to a VenusPi set up?

I’m only semi-computer literate - everything is trial and error and cut and paste and hours of google research… If the details include what software should be used and exactly what to type then I can usually muddle my way through. But when it comes to ‘just add a few lines of code in the xxx” I’m completely lost.


I have managed to burn an image to a sd card and install Venus Pi v2.60 large image on to a raspberryPi 3.


I have 1 Victron mppt 75/15 connected successfully to it vie ve-direct usb cable.


I have successfully got node-red running (and can even see it all via VRM Portal - including node-red which is amazing).


I’m still at beginnings of how node red works but can see its potential.


So far so good


But I’d really like to add more than 1 relay so I can control multiple external devices (like pumps, irrigation valves etc) and also control them through node red.


I’ve read the comments and half guides for adding extra relays - but they are incomplete or presume you know how to do certain un-explained steps. So I'm completely lost.


So - anyone have a step by step guide to add relays ? (and I’m on a Mac so Mac instructions would be great!)


Thanks in advance for all the amazing guides so far - and for the missing bits I hope someone will write soon…

thomas-g asked
Rob Duthie commented ·

4 Answers

ffmpeg installation package on Raspberry Pi

I would like to install the ffmpeg package on venus OS with raspberry Pi.

This package is not included in the standard repository of Venus os, i tried:

opkg install ffmpeg

i also tried to find a correct package which has the .ipk archive, but no result.

Does anybody have succesfully installed ffmpeg package onto a raspberry Pi with Venus OS?



stijnl asked
stijnl answered ·

3 Answers

Data path of a USB stick on the Rasperry pi with Venus Os

Hello everyone

I have a Raspberry pi with Venus OS large and would like to write data to a USB stick plugged into the Pi using Node Red. Unfortunately I couldn't find out what the path of the USB stick is, and all Linux commands don't work to find it out. can someone help me?

saintgtr34 asked
saintgtr34 answered ·

2 Answers

Modbus Register for Relay 3,4,5&6 for Raspberry pi

Where might I find the Modbus registers for the Extra relays the Raspberry pi has? I have looked in the Excel Modbus-TCP register list, but can only find Relay 1 and 2.

I used the RpiGPioSetup add-on to assign the extra relays. I can see and control the extra relays using Remote Console.

I currently have NodeRed running on external device controlling Relay 1 and 2. I am looking to control the other relays (3-6). NodeRed is also pulling data from my BMV-712 / other Victron items.


mrorange asked

0 Answers

Raspbian oder VenusOS

Hallo Powerlovers ;) ,


komme leider nicht mehr weiter und hoffe hier ein paar Anregungen zu bekommen.

Hatte bisher folgendes Setup in meinem, in die Jahre gekommen Wohnmobil.

Raspberry Pi mit:


  • Raspbian
  • Node-Red
  • eine selbst gebastelte Gasflaschenwaage mit HX711 über die GPIOs (Node-Red)
  • Relais Steuerung meines Kompressors für Luftfederung über die GPIOs (Node-Red)
  • LED Steuerung über GPIOs (Node-Red)
  • RaspAp (Hotspot)
  • Huawei USB-LTE Stick


Nun hab ich mir den Victron SmartSolar Charger MPPT gegönnt und dachte ich könnte den problemlos über die USB Verbindung in Node-Red einbinden aber entweder finde ich nicht die passenden "Librarys“ um den Charger in Node-Red nutzen zu können oder es funktioniert nur über die Venus OS?


Nun habe ich Venus OS auf einer frische SD Karte installiert und der Charger wird sofort erkannt. Nun fehlen mir die folgenden Möglichkeiten die ich zuvor hatte.


Ist es möglich die folgenden Anwendungen in Venus OS zu realisieren?


  • eine selbst gebastelte Gasflaschenwaage mit HX711 über die GPIOs auszulesen?
  • Relais Steuerung meines Kompressors für Luftfederung über die GPIOs anzusteuern?
  • LED Steuerung über GPIOs zu steuern?
  • einen Hotspot zu generieren?
  • Huawei USB-LTE Stick Mobiles Internet über den Hotspot zu verteilen?


Bin über jeden Hinweis Link usw. dankbar


Power UP!

Beatstreet

beatstreet asked
Meine_Energiewende answered ·

1 Answer

updating @victronenergy nodes in node-red failing

Raspberry pi 3B+, VenusOS Large V280.11/20

I clicked "update to 1.4.2" by the victron energy nodes in the node-red palette. I currently have 1.4.1 installed and working. The installation failed with the following output in the event log:

2021-09-07T04:44:28.988Z Install : @victronenergy/node-red-contrib-victron 1.4.2

2021-09-07T04:44:29.152Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict @victronenergy/node-red-contrib-victron@1.4.2

2021-09-07T04:45:08.431Z [err] npm

2021-09-07T04:45:08.432Z [err] WARN rollback Rolling back @victronenergy/node-red-contrib-victron@1.4.2 failed (this is probably harmless): ENOTDIR: not a directory, lstat '/data/home/root/.node-red/node_modules/@victronenergy/node-red-contrib-victron'

2021-09-07T04:45:09.965Z [err] npm

2021-09-07T04:45:09.965Z [err] ERR! code EEXIST

2021-09-07T04:45:09.966Z [err] npm ERR! syscall

2021-09-07T04:45:09.967Z [err] mkdir

2021-09-07T04:45:09.967Z [err] npm

2021-09-07T04:45:09.967Z [err] ERR! path /data/home/root/.node-red/node_modules/@victronenergy

2021-09-07T04:45:09.967Z [err] npm

2021-09-07T04:45:09.968Z [err] ERR! errno -17

2021-09-07T04:45:09.989Z [err] npm

2021-09-07T04:45:09.989Z [err] ERR! EEXIST: file already exists, mkdir '/data/home/root/.node-red/node_modules/@victronenergy'

2021-09-07T04:45:09.990Z [err] npm ERR! File exists: /data/home/root/.node-red/node_modules/@victronenergy

2021-09-07T04:45:09.990Z [err] npm

2021-09-07T04:45:09.991Z [err] ERR! Remove the existing file and try again, or run npm

2021-09-07T04:45:09.991Z [err] npm ERR!

2021-09-07T04:45:09.992Z [err] with --force to overwrite files recklessly.

2021-09-07T04:45:10.080Z [err]

2021-09-07T04:45:10.080Z [err] npm ERR! A complete log of this run can be found in:

2021-09-07T04:45:10.080Z [err] npm

2021-09-07T04:45:10.081Z [err] ERR! /home/root/.npm/_logs/2021-09-07T04_45_10_053Z-debug.log

2021-09-07T04:45:10.204Z rc=239

When I ssh into the raspi and go to the node_modules directory I see that @victronenergy is not a directory but a file with 0 bytes. The file config.nodes.json file, however, seems to point to "/usr/lib/node_modules/@victronenergy/node-red-contrib-victron/src/nodes/config-client.js" so maybe that's why the update do not work.

My question is, how do I make it work without screwing something up? :)


mrhappy asked
mvader (Victron Energy) commented ·

1 Answer

Automate more than 2 relays using Node-Red on RPi

Hi

Following the notes from here I've managed to get as many relays as I want configured on my RPi. These work on the GUI and in hardware.

https://community.victronenergy.com/questions/34195/make-more-than-two-relays-visible-on-rpi-rpi.html

The problem I'm having is that if I configure more than two relays, they stop apprearing as an option for me to control in Node-Red. Has anyone had a look at this or have a work around?


Thanks,


Dan

dharryman asked
mrhappy answered ·

1 Answer

Node red login

All of a sudden when I go to Venus.local:1880 a screen comes up requiring username and password

i don’t believe I did anything to set this up and I don’t know what the username and password is

is there a default or a way to stop this happening ?

bear asked
Stefanie answered ·

1 Answer

Node-Red in Venus 2.60~16

Hello,

I am looking for a Venus OS Raspberry image with integrated Node-Red in the latesed version Venus 2.60~16.

Is there someone working on it? I found an older Version from mpvader.


Thanks for your help!

Cheers

Dirk

dirkmuc asked
mvader (Victron Energy) answered ·

3 Answers

9 Posts
288 Users
32 Followers

Topic Experts

Stefanie
496 Points
bathnm
422 Points
johanndo
171 Points