547537e761
Build Docker Image for Raspberry Pi / build-and-push (push) Failing after 1m15s
- Aggiunto supporto lettura inverter paralleli tramite comandi QPGS0-QPGS9 - Implementato discovery automatico inverter con filtro duplicati e serial invalidi - Risolti bug critici comunicazione seriale: * Fix buffer ExecuteCmd da 7 a 200 bytes * Supporto terminatori CR e LF * Modalità blocking con delay 500ms * Lettura byte-by-byte per terminatore affidabile - Implementato script MQTT per pubblicazione dati multi-inverter: * mqtt-push-parallel.sh con topic separati per ogni inverter * Fix autenticazione MQTT con username/password * Aggiunto flag retain (-r) per persistenza dati - Creato test-loop-parallel.sh per simulazione completa container - Aggiornata documentazione con compatibilità MKS IV e guida test loop - Aggiornati profili debug VS Code per bash e parallel discovery - Configurazione MQTT completa con server reale (192.168.1.37:1883) Sistema testato e funzionante con 2 inverter Voltronic Axpert MKS IV
44 lines
1.6 KiB
Plaintext
44 lines
1.6 KiB
Plaintext
# Basic configuration options for the actual inverter polling process...
|
|
|
|
# The device to read from...
|
|
# Use: /dev/ttyS0 if you have a serial device,
|
|
# /dev/ttyUSB0 if a USB<>Serial,
|
|
# /dev/hidraw0 if you're connecting via the USB port on the inverter.
|
|
# Note: Inverter 1 on USB1, Inverter 2 on USB0 (both working)
|
|
|
|
device=/dev/ttyUSB0
|
|
|
|
# How many times per hour is the program going to run...
|
|
# This is used to calculate the PV & Load Watt Hours between runs...
|
|
# If unsure, leave as default - it will run every minute...
|
|
|
|
# (120 = every 30 seconds)...
|
|
run_interval=120
|
|
|
|
# This allows you to modify the amperage in case the inverter is giving an incorrect
|
|
# reading compared to measurement tools. Normally this will remain '1'
|
|
amperage_factor=1.0
|
|
|
|
# This allows you to modify the wattage in case the inverter is giving an incorrect
|
|
# reading compared to measurement tools. Normally this will remain '1'
|
|
watt_factor=1.01
|
|
|
|
|
|
# The following settings allow you to modify runtime buffers.
|
|
# N.B. These values may not be applicable to all inverter types, as such you will
|
|
# need to run docker exec -it voltronic-mqtt bash -c '/opt/inverter-cli/bin/inverter_poller -d -1'
|
|
# or simply inverter_poller -d -1 to check for warnings or errors
|
|
# mentioned in https://github.com/ned-kelly/docker-voltronic-homeassistant/issues/5
|
|
|
|
# This allows you to modify the buffersize for the qpiri command
|
|
qpiri=103
|
|
|
|
# This allows you to modify the buffersize for the qpiws command
|
|
qpiws=40
|
|
|
|
# This allows you to modify the buffersize for the qmod command
|
|
qmod=5
|
|
|
|
# This allows you to modify the buffersize for the qpigs command
|
|
qpigs=110
|