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
271 stars 144 forks source link

Support of P17 InfiniSolar 5KW protocol #59

Open blacksocket opened 3 years ago

blacksocket commented 3 years ago

Hello,

Will this software also support P17 protocol for 5KW Hybrid Inverters ?

PI17_InfiniSolar-5KW-protocol-20160309.pdf

pi@raspberrypi:~/inverter-tools/build $ sudo ./inverterctl --device usb --verbose --raw "^P003PI" voltronic::Device::send(): writing 8 bytes 0x0000: 5e 50 30 30 33 50 49 0d ^P003PI. voltronic::USBDevice::write(): dataSize=8, writeSize=8 0x0000: 5e 50 30 30 33 50 49 0d ^P003PI. voltronic::Device::writeLoop(): bytesWritten=8 voltronic::Device::readLoop(): bytesRead=8 voltronic::Device::readLoop(): bytesRead=8 voltronic::Device::recv(): got 10 bytes 0x0000: 5e 44 30 30 35 31 37 ca ec 0d ^D00517... 0x0000: 5e 44 30 30 35 31 37 ^D00517 ^D00517

vknmakes commented 1 year ago

Hmm; I have what I believe is something based on this and mine is a P18, not P17: https://github.com/jblance/mpp-solar/blob/master/docs/protocols/PI18_InfiniSolar-V-protocol-20170926.pdf

sudo ./inverterctl --device usb --verbose --raw "^P003PI" voltronic::Device::send(): writing 10 bytes 0x0000: 5e 50 30 30 33 50 49 c3 2b 0d ^P003PI.+. voltronic::USBDevice::write(): dataSize=10, writeSize=8 0x0000: 5e 50 30 30 33 50 49 c3 2b 0d ^P003PI.+. voltronic::Device::writeLoop(): bytesWritten=8 voltronic::USBDevice::write(): dataSize=2, writeSize=2 0x0000: 2b 0d +. voltronic::Device::writeLoop(): bytesWritten=8 voltronic::Device::readLoop(): bytesRead=8 voltronic::Device::recv(): got 5 bytes 0x0000: 5e 30 1b e3 0d ^0... 0x0000: 5e 30 ^0 ^0