ned-kelly / docker-voltronic-homeassistant

Programmatically read data from your Voltronic, Axpert, Mppsolar PIP, Voltacon, Effekta etc Inverter and send it to Home Assistant via MQTT - Works with RS232 & USB!
GNU General Public License v3.0
270 stars 144 forks source link

Buffer Sizes not working for Axpert King 5kw #22

Closed Vandiliz3r closed 3 years ago

Vandiliz3r commented 4 years ago

I have tried getting the correct buffer sizes for the inverter.conf however I cannot get the correct values.

Could you please advise as all my sensors are showing as unknown in home assistant..

Thanks

Vandiliz3r commented 4 years ago

Hi All,

Please help I am really struggling with the Axpert King Invertor setup with the above. Any help would be appreciated, i am not really a programmer or anything otherwise i would have climbed into the code to try resolve.

Regards

ned-kelly commented 4 years ago

Hi @Vandiliz3r can you please try reading through the discussions in https://github.com/ned-kelly/docker-voltronic-homeassistant/issues/5 and https://github.com/ned-kelly/docker-voltronic-homeassistant/issues/4 and change the variables in your inverter.conf file accordingly.

Vandiliz3r commented 4 years ago

Hi @Vandiliz3r can you please try reading through the discussions in #5 and #4 and change the variables in your inverter.conf file accordingly.

Thats exactly what i have done.. None of the bytes i insert work. The debuger also does not tell me how many bites are short or whatever..

This is why i asked if anyone has tried this one the axpert king. :(bitmoji

wax911 commented 4 years ago

@Vandiliz3r I have the exact same model, and I've never had this issue (with the exception of initial installation). What parameters are you using?

Vandiliz3r commented 4 years ago

Could you post yours then I can try again I have uninstalled this. I will definitely give it a go again!

Get Outlook for iOShttps://aka.ms/o0ukef


From: Maxwell Mapako notifications@github.com Sent: Thursday, July 2, 2020 10:53:16 AM To: ned-kelly/docker-voltronic-homeassistant docker-voltronic-homeassistant@noreply.github.com Cc: Vandiliz3r vandiliz3r@live.com; Mention mention@noreply.github.com Subject: Re: [ned-kelly/docker-voltronic-homeassistant] Buffer Sizes not working for Axpert King 5kw (#22)

@Vandiliz3rhttps://github.com/Vandiliz3r I have the exact same model, and I've never had this issue (with the exception of initial installation). What parameters are you using?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/ned-kelly/docker-voltronic-homeassistant/issues/22#issuecomment-652879416, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALO3NFV4WAIQYFA4ULMG5G3RZRDHZANCNFSM4NEMHD3A.

wax911 commented 4 years ago

Here you go:

# Basic configuration options for the actual inverter polling process...

device=/dev/hidraw0

# 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 
# mentioned in https://github.com/ned-kelly/docker-voltronic-homeassistant/issues/5

# This allows you to modify the buffersize for the qpiri command
qpiri=104

# This allows you to modify the buffersize for the qpiws command
qpiws=67

# 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
Vandiliz3r commented 4 years ago

Thanks! I will definately give this a go next week, Lockdown has got me busy here.

NEoKhajitt commented 4 years ago

@wax911 Thanks for this, I also have an Axpert 5KVA 4KW version (Not a KING) but this helped for me. I first tried only changing qpiri to 102 or 104 but i still got the "QPIRI: incorrect start/stop bytes." error What solved it for me was changing qpiws to 67 mine was set to default (i think it was 46)