you can connect (as i also did) the inverter via a MAX3232 for 3.3V to RS232 conversion.
and PV input watts is from QPIGS (if >102 chars)
Hi everyone i need some help to read data of USB ttyAMA0 i still 2 days here and i not advance, anyone can help me?
Thx to everyone.
Ok…very good…well done…
…let as know when ready.
Hi,
if you provide a little more information about your setup, i’m sure you’ll get some help here.
Obviously you are using a raspberry, which model?
From which inverter do you want to read the information?
How is the inverter connected to the raspberry?
What do you have in the inverter.conf file?
thanks wovka, now i can read the inverter data (voltronic), connected via USB (hidraw0), but my influxdb now don’t get the data.
But now i have another problem in configuration . yalm i copy paste the code but it marks error on automations any know for what? if i delete the automations it don’t “crashes”.
Hi…the first part is ok in configuration.yaml…
the second part(in green) must be copied in automation
2 automation…1 for Pop and 1 for pcp
Configuration-Automation-new automation,and you edit the automation by Yaml configuration and copy the code.
thanks buddy i try it now.
Is anyone try to use RS232>Wifi modules?
this will save some extra hardware.
Hi all, someone knows from which influxdb file takes the databases, i lovelace i have data but in influxdb not, i have users and databases created i have on mqtt.json the user and database name, on configuration.yaml i have this:
influxdb:
host: 192.168.183.53
port: 8086
database: homeassistant
username: myusername
password: mypassword
is this correct?
Hello,
Thanks for the crazy projet - RS232 and converter solution !
I’m question … simple but … My only port RS232 on my Aptex is an “RJ45” like.
So I don’t see solution but you think it’s possible that use a RJ45 to USB serial connect ? Or other ?
I think too use a Modbus Server solution but much complicated with programation I think.
Thanks !
a simple console cable like this should help you out:
btw: a very special battery wiring
Thanks ! Yes battery wiring … I have buy jonction
I have installed the docker (on vm windows) and Mqtt on my Homeassistant.
I don’t find the solution now, but my home assistant it’s ok and docker too, I have a “Unable to connect” in the docker.
Simply question, if I try to find the inverter in Homeassistant before connection RS232, nothing and “unable to connect” … it’s normal ? (I try de config and installation for try the connection with de converter.
Sorry for the newbies question, but the party on docker is very clear but in Homeassistant, much complicated, “broker, agent, server, etc”.
Thanks,
Anyone here find that not all values are being read? I am getting 0’s on all the PV_in values from this solution. I have seen this link Missing data in response ? · Issue #39 · ned-kelly/docker-voltronic-homeassistant · GitHub and posted there as well, but was hoping someone here might have an answer?
Connected via USB to the inverters.
Sample output:
{
"Inverter_mode":4,
"AC_grid_voltage":223.2,
"AC_grid_frequency":50.2,
"AC_out_voltage":230.9,
"AC_out_frequency":50.1,
"PV_in_voltage":0.0,
"PV_in_current":0.0,
"PV_in_watts":0.0,
"PV_in_watthour":0.0000,
"SCC_voltage":0.0000,
"Load_pct":7,
"Load_watt":388,
"Load_watthour":12.9333,
"Load_va":392,
"Bus_voltage":347,
"Heatsink_temperature":38,
"Battery_capacity":56,
"Battery_voltage":49.80,
"Battery_charge_current":0,
"Battery_discharge_current":9,
"Load_status_on":1,
"SCC_charge_on":0,
"AC_charge_on":0,
"Battery_recharge_voltage":46.0,
"Battery_under_voltage":44.0,
"Battery_bulk_voltage":57.0,
"Battery_float_voltage":56.0,
"Max_grid_charge_current":30,
"Max_charge_current":70,
"Out_source_priority":2,
"Charger_source_priority":2,
"Battery_redischarge_voltage":-0.0,
"Warnings":"00000000000000000000000000000000"
}
Wed Apr 28 18:15:45 2021 INVERTER: All queries complete, exiting loop.
Partial solution is here:QPIGS new value shown. · Issue #40 · ned-kelly/docker-voltronic-homeassistant · GitHub.
This patch will give you “PV_input_watts” instead of “PV_in_watts”:0.0 that not work.
“PV_in_voltage”:0.0, and “PV_in_current”:0.0, you should have the data if your solar panel are working…
"PV_in_watthour"and “SCC_voltage” never worked for me.
Thank you for the response @ans-gw . So I should patch with diff2 but still use the same method you posted higher up in that thread?
It happened to me 15 days ago,when i connected the new invereter by Rs232-Usb,because this inverter no have Usb -Usb…I got the timeout error on
docker exec -it voltronic-mqtt bash -c ‘/opt/inverter-cli/bin/inverter_poller -d -1’
but after I try to connect successfully with Solpiplog ,
I try again docker exec -it voltronic-mqtt bash -c ‘/opt/inverter-cli/bin/inverter_poller -d -1’
and it works!! Look like Solpiplog Inizialize the Rs232/Usb port on my Pi4.
If i restart Pi4 i must first open Solpiplog to have inverter connecting
Dont know why,but It works.
yes…follow that post
OK will try it out tomorrow and see how far I get. Thank you for the response, I will let you know. So is this a new FW bug maybe? Or did axpert/voltronic change something that the value is reading 0?
Hi all, i have that state “UNHEALTHY” on docker voltronic-mqtt, what produce this state?
thanks to all!
The last time I saw this, was because the container could not chat to the mqtt broker. AKA no network connection to it or wrong user/pass combination.