Open fastvd opened 1 week ago
???
hello, without the communication protocol its not possible to implement more than one pv string
hello, without the communication protocol its not possible to implement more than one pv string
!!! PI30 !!! it was visible even on the 1st screen
Stop using hordening Symbols, its Like angry...
So the PI30 Protocol is Not one single Protocol, it includes so i know more than 10 subversions, and much more variants, so for that what you need, i need a complete Protocol Snipet and Datasheet for it.
That all is Not easy as sound
I'm sorry if you thought I was angry and wanted to offend someone) in fact, I just want to understand how my inverter works and read all the data I need. now to the point...then how do I find out which protocol I have? maybe there are some sniffers or just firmware that polls different protocols or take Wireshark and scan my existing wifi dongle?
have the device a USB port? when yes, you can connect it with a PC, it will emulate a serial port, so you can use watchpower or solarpower software for monitoring and settings of the device, when this will work, you can enable the debug function of this software, this will write a bunch of log files, that what i need to see what the device talks.
for explaining, take a look at the documents here: https://github.com/softwarecrash/Solar2MQTT/tree/master/Protocol
there are more than one protocol of the PI30, and many different versions of command and answer strings, so we need to find out how to ask your device for the second PV string data. in some protocols are a second string implemented, and in my firmware a function try to get this data, so its possible that your device need another request or send a different answer.
have the device a USB port? when yes, you can connect it with a PC, it will emulate a serial port, so you can use watchpower or solarpower software for monitoring and settings of the device, when this will work, you can enable the debug function of this software, this will write a bunch of log files, that what i need to see what the device talks.
for explaining, take a look at the documents here: https://github.com/softwarecrash/Solar2MQTT/tree/master/Protocol
there are more than one protocol of the PI30, and many different versions of command and answer strings, so we need to find out how to ask your device for the second PV string data. in some protocols are a second string implemented, and in my firmware a function try to get this data, so its possible that your device need another request or send a different answer.
yes, I have usb-rs232 and I can read and change data... but there is no info on the protocol... and I don't see where in the menu you can enable debugging...
according to the link you gave, there are simply descriptions of various protocols, but there are no instructions on how to separate it... maybe I'm not looking there?
The debug is Hidden, right click on the Icon in the taskbar and select enable debug
yes, I have usb-rs232 and I can read and change data... but there is no info on the protocol... and I don't see where in the menu you can enable debugging...
You can enable it just in the tray icon (near the clock on your taskbar).
I found a program similar to watchpower.. this one http://www.multisibcontrol.net/ it looks like a lot more debug functions
yes, I have usb-rs232 and I can read and change data... but there is no info on the protocol... and I don't see where in the menu you can enable debugging...
You can enable it just in the tray icon (near the clock on your taskbar).
I don't have debug mode ((((
but with MultiSIBcontrol I can directly run different commands...
But QPIGS2 -> NAK means, this command is unkown by your Inverter... hm....
this app also doesn't see PV2(((
I started QPIGS2 a few days ago directly from mqtt...but I didn't get a response then...the only thing I see is PV2 - smartESS via wifi dongle
give links to watchpower where there is a debug mode
You are in the app in the console. What you enter there is sent directly to the inverter. If the QPIGS2 does not understand, then the data must come from somewhere else. And without having such a device here, this will be difficult or even impossible to find out.
give links to watchpower where there is a debug mode
https://www.mppsolar.com/v3/download/ under Monitoring Software
give links to watchpower where there is a debug mode
https://www.mppsolar.com/v3/download/ under Monitoring Software
I downloaded a newer version, a floating window appeared, where the debug mode is checked immediately, the folder where the logs should be created opens immediately, but the logs themselves do not appear (((maybe it takes some time?
maybe it takes some time?
yes
25 minutes = 0 in debug(((
Disconnect and reconnext the device
you need this
platform: modbus_controller modbus_controller_id: smg_inverter name: "PV Voltage2" id: pv_voltage2 address: 4563 register_type: holding value_type: U_WORD unit_of_measurement: "V" device_class: voltage state_class: measurement accuracy_decimals: 1 lambda: |- return swapBytes(x); filters:
platform: modbus_controller modbus_controller_id: smg_inverter name: "PV Power2" id: pv_power2 address: 4564 register_type: holding value_type: U_WORD unit_of_measurement: "W" device_class: power state_class: measurement accuracy_decimals: 1 lambda: |- return swapBytes(x);
you need this
platform: modbus_controller modbus_controller_id: smg_inverter name: "PV Voltage2" id: pv_voltage2 address: 4563 register_type: holding value_type: U_WORD unit_of_measurement: "V" device_class: voltage state_class: measurement accuracy_decimals: 1 lambda: |- return swapBytes(x); filters:
- multiply: 0.1
platform: modbus_controller modbus_controller_id: smg_inverter name: "PV Power2" id: pv_power2 address: 4564 register_type: holding value_type: U_WORD unit_of_measurement: "W" device_class: power state_class: measurement accuracy_decimals: 1 lambda: |- return swapBytes(x);
thats complete wrong.... this is modbus with registers! my software read rs232 serial with qpigs commands, modbus not supprted atm
I understand that you read the data in a different way...I just showed how I solved my problem and maybe you will take something useful for yourself to expand the functionality of your wonderful product!
this piece of code I pasted into the author's project to read PV2
the data I see in HA matches what I see physically on the inverter display! this is what i needed!
modbus register support are planed, but need a lot of time that i dont have yet
anyway, thanks for your help and your time!
Is there an existing issue for this?
Used Hardware?
Wemos D1 Mini
What happened?
Greetings. thanks for the great program…. I have a VICTOR NM-MAX-10.2KWs inverter, it works based on the PI30 protocol. this inverter has 2 PV...the problem is that Solar2Mqtt reads only PV1...it also has a wifi dongle that shows data in the smartESS application, there is data from PV1 and PV2...so the question is how to read or OVERALL solar generation , or separately PV1 and PV2
Screenshots / Fotos
Steps To Reproduce
No response
Version
1.x.x and above
Relevant livejson output
What browsers are you seeing the problem on?
Chrome