scottwday / AxpertTest

Simple command line utility to communicate with an Axpert inverter
6 stars 2 forks source link

Invalid Axpert Response to QPIGS #1

Open jrailton opened 5 years ago

jrailton commented 5 years ago

Hi Scott

Thanks for sharing your code. Im just starting out communicating with Axpert 5kva MKS2 (running .net core on Raspberry Pi)

When I run your code with the arguments -p /dev/ttyUSB0 QPIGS -t 30000

QPIGS command is sending: 33 30 30 30 30 38 B6 0D

But the response I am getting is: 7E 09 AD E9 BC FE 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Do you have any idea why that might be?

Thanks! James

mwoodage commented 4 years ago

Hi Scott

Thanks for sharing your code. Im just starting out communicating with Axpert 5kva MKS2 (running .net core on Raspberry Pi)

When I run your code with the arguments -p /dev/ttyUSB0 QPIGS -t 30000

QPIGS command is sending: 33 30 30 30 30 38 B6 0D

But the response I am getting is: 7E 09 AD E9 BC FE 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Do you have any idea why that might be?

Thanks! James

@jrailton Hi James, Did you manage to get anywhere with communicating with your Axpert inverter? I'm just starting out trying to communicate with mine, but can't really get any headway. If you've any advice or help it would be great to hear from you,

Cheers Martin

jrailton commented 4 years ago

Hi Martin

Yeah I did, Scott's code was great, the major challenge was setting up the USB port on my raspberry pi. I eventually bought a decent RS232 to USB converter e.g. https://www.amazon.com/Plugable-Compatible-RS-232-DB9-Connector-Prolific/dp/B00425S1H8 - when I connected that to the Pi i didnt even need to install drivers, it just appeared as /dev/ttyUSB0 and the rest was flawless.

The above was done on a Synapse 5.0 (also a voltronic based inverter) which came with a crappy RJ45 to DB9 serial cable, so I wasnt holding much hope... yet lo and behold.

My personal Mecer Axpert MKS2 came with a USB to USB cable, which I still havent jumped through enough hoops to make it work on the Pi - I know its possible with the standard cable (a mate managed to do it) but the config was soul destroying so I threw in the towel early :P

mwoodage commented 4 years ago

Hi, Thank you so much for getting back to me, it’s great to hear that you’ve had success with getting data from your inverter, I was beginning to think that I’d never be able to do it. I’ve ordered myself another Raspberry Pi to experiment on, so should be able to have a play this weekend. I’ll let you know if it’s a success 👍

Thanks again Martin

Sent from my iPhone

On 10 Mar 2020, at 03:47, jrailton notifications@github.com wrote:

 Hi Martin

Yeah I did, Scott's code was great, the major challenge was setting up the USB port on my raspberry pi. I eventually bought a decent RS232 to USB converter e.g. https://www.amazon.com/Plugable-Compatible-RS-232-DB9-Connector-Prolific/dp/B00425S1H8 - when I connected that to the Pi i didnt even need to install drivers, it just appeared as /dev/ttyUSB0 and the rest was flawless.

The above was done on a Synapse 5.0 (also a voltronic based inverter) which came with a crappy RJ45 to DB9 serial cable, so I wasnt holding much hope... yet lo and behold.

My personal Mecer Axpert MKS2 came with a USB to USB cable, which I still havent jumped through enough hoops to make it work on the Pi - I know its possible with the standard cable (a mate managed to do it) but the config was soul destroying so I threw in the towel early :P

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.