Hallo!
Ich möchte die Daten meines Victron-Solarcontrollers auslesen und sie nicht nur auf einem Display anzeigen lassen sondern die Daten im lokalen Netzwerk auf einer HTML-Seite hosten. Ist das grundsätzlich möglichen?
Lg jacob
2 Answers
I have a python script to send the 'keepalive' message to the Venus MQTT broker running on a raspberry pi 3 :
import paho.mqtt.client as mqtt # MQTT support import time import json mqttBroker ="victronpi" # define MQTT broker address client = mqtt.Client("KeepAlive") # identify client client.connect(mqttBroker) # connect to broker print("VictronPi MQTT broker connected...") while True: # send 'keepalive' message errcode = client.publish("R/b123abc7d123/keepalive") # publish all topics # topics = json.dumps("solarcharger/+/Dc/0/Voltage") # errcode = client.publish("R/b123abc7d123/keepalive",topics) # publish selected topics print("VictronPi KeepAlive sent : ",errcode) time.sleep(10)
I'd like to just keep alive the topics I'm interested in. I gather you can do this by including a payload in the 'keepalive' message but I'm struggling with the python syntax to do this, see commented out lines above, which just create a new read topic. Can anyone enlighten me what the correct python syntax to do this is please ?
PaulM
1 Answer
Kwindrem,
First let me say thank you for your work and generosity sharing! The items for Victron Venus OS are very much appreciated!
I have just installed Raspberry Pi 4, Victron Venus OS latest V2.85, your SetupHelper V4.13 and RpiDisplaySetup V2.7.
I have the option "Display Off Time" under "Display and Language", but I do not find any option for controlling the brightness or dimming.
Would you have any advice?
Thanks!
Carl Lance
carl.lance@gmail.com
1 Answer
Est-ce que la nouvelle version de venus OS 2.85 est compatible avec les Raspberry pi 4 récent (board 1.5) ?
J'utilise actuelement une version modifier (2.85~1) de venus os qui fonctionne sur le pi 4 v1.5 mais je préfèrerais utiliser les versions officielles.
Does the news Venus OS 2.85 work with the pi 4 board v1.5 ?
I'm using a modified release of Venus OS (2.85~1) witch works with the Raspberry pi 4 v1.5 but I'd like to use official release.
3 Answers
Bonjour,
j'utilise pour le moment un ET112 via 2 convertisseurs ZIGBEE-RS485 DRF2659C (dont 1 avec un convertisseur RS485-USB coté RPI+VenusOS) pour le comptage ENEDIS.
L'un d'entre vous a t'il déjà testé 2 ET112 en // sur un seul convertisseur ZIGBEE, en changeant les @ des ET112 comme avec un convertisseur RS485-USB ?
Ou faut il impérativement 1 convertisseur ZIGBEE par ET112 ?
4 Answers
Hallo Leute,
kurz zu mir und meiner Situation:
Mein Name ist Matthias, bin ein 89er Baujahr und betreibe seit kurzem einen YouTube Kanal (Energie&Hobby).
An meine vorhandene PV mit 9,18kWp mit Fronius Wr habe ich noch eine DIY Anlage mit 3,4kWp angebaut, die DC seitig mit Victron Ladereglern meinen DIY LiIon Speicher mit 29kWh (Brutto) lädt.
Am Akku hängt dann noch ein Multiplus 2 / 3000 / 48, der mir als ESS das ganze Haus versorgt.
Im Winter/Übergang lädt der Mp2 auch noch zusätzlich AC seitig den Akku mit.
Gesteuert wird alles mit einem Raspberry Pi, auf dem die Firmware V2.82-large-30 läuft.
Als Smartmeter verwende ich das originale von Fronius, dafür habe ich die Software angepasst, funktioniert einwandfrei. Daten vom Smartmeter gehen über RS485 zum Fronius Wr, von da über LAN zum Pi. Dort wird das "angepasst" und der originalen Regelung auf dem dbus zur Verfügung gestellt.
Für die Regelung verwende ich die originale ESS Regelung von Victron.
So, nun zu meinem "Problem":
Solange keine Sonne scheint und der Mp2 allein die Lasten versorgt, regelt er sauber auf den eingestellten Wert (-20W) ein, natürlich mit etwas Toleranz, aber es "schwingt" um die eingestellten -20W. Soweit so gut.
Kommt jetzt aber die Sonne und die PV macht AC seitig z.b. 500W, Lasten sind jedoch höher (z.b. E-Auto mit 2kW) wird nicht mehr auf die -20W eingeregelt sondern je nach Last irgendwo zwischen +50 bis +150W. Der Mp2 ist noch nicht an der Leistungsgrenze, das gleiche Phänomen hab ich auch bei sehr geringen Lasten.
Sichere ich z.b. die AC PV aus, regelt er wieder auf die -20W ein.
Mit meinem Latein bin ich langsam am Ende und ich kann es mir nicht erklären, was das eine mit dem anderen zu tun hat??
Ist das von euch schon jemandem aufgefallen bzw. hat eine Lösung?
Sonnige Grüße
Matthias
9 Answers
Hello,
I have one doubt about smartshunt...
I would like to use it in DC only sites, with just an MPPT and maybe a monitoring device (Venus or raspberry). In this situation, if I add a smarshunt to have SOC reading, can I create a bluetooth network and read it trough the MPPT (smart model) or do I need to also connect it via Ve.Direct/ USB to Venus/ raspberry?
Will it appear as a valid Battery Monitor in VenusOS if connected trough bluetooth to the Smart MPPT ?
3 Answers
Hi!
I have the Venus Pi, Smart Shunt 500 and the Smartsolar MPPT 100/30. All updated to the latest firmware and connected with the Ve. Connect USB cable.
When I plugged the solar into the Venus I could see it. Later on it has disappered. I think it happened after reBoot or firmware update. The MPPT has not the solarpanels connected yet, but is connected in the battery side.
The Smart Shunt is working correct
Any clue?
3 Answers
Hello,
does the new GX Tank 140 work with the Venus OS on the Raspberry pi? I have Firmware 2.66 on a Raspberry pi 3+ and I cannot see anything that has to do with the GX Tank 140. It's connected via USB.
1 Answer
I used the styles.css file another user posted to remove the side controls on LAN Access and enable Kiosk mode in Chromium. Everythign is scaled and works fine except for swiping between PAGES. If I touch the screen the menu opens and I can navigate the menu just fine, but swiping between for instance the main animation screen and the generator screen does not work. I am sure it is an issue with Chromium, can anyone offer any insight?
0 Answers
Hello,
I build an off-grid solarinstallation.
I want to have a litle Dashboard. And I have installed Venus OS on RPI3.
Sadly the gui is not scaling. My resolution is 1280x800.
I can not find something about that until now. Any ideas here?
[image]
0 Answers
Hi,
We've built a system with Multiplus II / Cerbo GX, Pylontech batteries and a Fronius inverter - and as the goal is zero feed-in, we added some heating resistances to heat up rooms and water for showers etc. with leftover power.
A RaspberryMatic instance is reading the live values from the Cerbo GX via Modbus/TCP (really great how easy it is to read/set values btw!) and controlling three 1 kW heating resistances via an ESP32 (Arduino-like, providing web-controllable relays). Currently, this results in possible steps of 333W, 500W, 1000W, 1500W, 2000W, 3000W.
This gives the possibility to realize almost whatever you want between the live values (pv power, ac consumption, ESS SoC, daytime, ...) and the ESP32 outputs by creating RaspberryMatic applications or scripts.
The first results are great, but - yeah the regulation steps mentioned above are quite big. It would be better to be able to regulate between 0W and 3000W without any steps :-)
So the question is: What suits best for the MultiPlus, especially with regards to micro-grid capability? I suppose that leading/trailing edge regulation isn't really good as it will have a big impact on the sine wave. Full wave control also seems like a bad idea, as it will stress the MultiPlus' regulation and/or the batteries.
The softest approach (also trying not to stress the inverters semiconductors too much) seems to be PWM with MOSFETs, which the ESP32 could also control easily at higher frequencies. But it will probably require filters to avoid EMI/disturbances in the grid, even with the resistive loads here..
Any thoughts on this are welcome!
1 Answer
I noticed a strange phenomenon on the VRM portal. I have a RPi (on a houseboat) running Venus OS connected to a Victron Battery Monitor. It's been working great but I noticed that the name for my battery/system has somehow assumed the name of my neighbor's boat (Ruff Day). His boat does have a CGX color display as well as Victron inverter and solar chargers but as far as I know, none of his gear is connected to the VRM portal. Other than the strange name change on my system, the battery data being report does appear to be accurate for my system.
[image]
3 Answers
I have had a MPPT 100/20 running for almost 3 years, and I've exported all the data from it periodically to save it in CSV files and spreadsheet. I've just recently setup a Raspberry Pi running Venus OS and integrated it with my 100/20 MPPT and a smart shunt, which is all working beautifully.
I was hoping I would be able to import the relevant historical data I have from the MPPT history into the system so I can make use of that data from the last few years. It seems I might be able to do this by inspecting the data that's stored when an internet connection is not available, formatting my data in a similar way and injecting it into those files. Anyone have any tips on doing that? where is the data stored (in what file, and what directory) when internet connection is not available?
Any tips or thoughts gratefully received.
2 Answers
I'm trying to read register 800, Serial [char(6)] via Modbus. I'm not sure what this looks like, but I get "Serial: b'508c'" from the following code. Does this look right to you?
from pymodbus.constants import Defaults
from pymodbus.constants import Endian
from pymodbus.client.sync import ModbusTcpClient as ModbusClient
from pymodbus.payload import BinaryPayloadDecoder
Defaults.Timeout = 25
Defaults.Retries = 5
client = ModbusClient('10.186.47.212', port='502')
result = client.read_input_registers(800, 2)
decoder = BinaryPayloadDecoder.fromRegisters \
(result.registers, byteorder=Endian.Big)
Serial = decoder.decode_string(size=6)
print("Serial: ",Serial)
Thank you.
1 Answer