lv5048 #11
Replies: 20 comments 24 replies
-
You are on a good track. If your inverter is able to answer to QPIGS requests the pipsolar component should work for you. Just assemble all parts and give it a try. Please report your progress here. |
Beta Was this translation helpful? Give feedback.
-
im about to start. grid_rating_voltage: can I change the id:, and the name: for something that makes more sense to me? does the name has to have the undescore ( _ ) or can i change them for spaces? sorry for the silly questions I dont know how to code and i dont know yaml. how is that you just use name and not id in your code? grid_voltage: 73 de KP4MI |
Beta Was this translation helpful? Give feedback.
-
OK Good News!!! thanks for your help!!! 73 de KP4MI |
Beta Was this translation helpful? Give feedback.
-
Good job! |
Beta Was this translation helpful? Give feedback.
-
Hi Sebastian,
a. CSO - solar energy will charge battery as first priority. Utility will charge battery only when solar energy is not available. b. CUt - Utility charge battery as first priority. Solar will charge battery only when utility power is not available. c. SNU - Solar energy and utility will charge battery at the same time. d. OSO - Solar energy will be the only charger source no matter utility is available or not. thanks |
Beta Was this translation helpful? Give feedback.
-
Andreas (the author of the official component) is working on a select entity which can be tested at the "pip8084" branch already using:
Just give it a try! |
Beta Was this translation helpful? Give feedback.
-
I'm using 4 PV strings in parallel so just one string is going to the inverter and I only have one inverter. here are some logs, let me know if the QPIGS response is there, if not please let me know how to add them: the SBU feature is working, I can select the Output Source Priority: `switch:
I will like to add the Charger Source Priority. the Output Source Priority: (option1 in my inverter menu) will allow me to configure the load power source priority, basically which source will be used as output to power my house the Charger Source Priority: (option16 in my inverter menu) will allow me to configure the the priority of charge source , basically which source will be used as charger for my battery bank. attached is the inverter manual: |
Beta Was this translation helpful? Give feedback.
-
yes I saw the option, one as a sensor which I do have in my code and the same as an output, but don't know how to use the output one
but then how I add the possible_values (Optional, list): a list of possible values default: 0,1,2,3? thanks, |
Beta Was this translation helpful? Give feedback.
-
added these lined to my yaml but I don't see any changes output:
|
Beta Was this translation helpful? Give feedback.
-
idk man, been trying for 2 hours and for the life of me cant make it work. idk if you can see that in the logs |
Beta Was this translation helpful? Give feedback.
-
I tried the new code and woks as expected it chcles between all 3 modes solar only, utility only and sbu, thanks so much now when i switch to utility only (even if I do it manually) and the back to solar or sbu my inverter output stays in utility ( even if I go to the menu and verify that the mode has changed) I think thats a limitation of the inverter I did all these test with my battery at 100% soc and plenty of sun. in another note I have a crazy idea and dont know if it possible: thanks for all your support |
Beta Was this translation helpful? Give feedback.
-
my inverter has both ports sub d9 and rj45 the both are serial ports but dont know if is 1 port 2 form factors or 2 separate serial ports |
Beta Was this translation helpful? Give feedback.
-
yea you are correct dongle does some conversion and goes to the cloud. have you seen that behavior, that the inverter output will still utility even if solar only or sbu are selected? isntead of this like i mentioned that happends with or without the esp32 module even if i change it using the menu |
Beta Was this translation helpful? Give feedback.
-
hello Sebastian, I will like to be able to monitor thank you 73 de KP4MI |
Beta Was this translation helpful? Give feedback.
-
hello Sebastian, I think will be something like this but dont know how to implement it
I think that the command for charger source priority is PCP is there a way to make the a switch ( preferred method ) or to use it in automations. |
Beta Was this translation helpful? Give feedback.
-
hello
this is my solution:
substitutions:
devicename: "SmartShunt"
accuracy: "3"
- platform: template
name: " ${devicename} charge "
filters:
- multiply: 0.001
unit_of_measurement: kWh
device_class: energy
state_class: total_increasing
accuracy_decimals: ${accuracy}
lambda: |-
float i = 264 + id(consumed_amp_hours).state;
float e = id(bv).state;
float w = 0.0;
if (i > 0) {
w = i * e;
}
return {w};
- platform: template
name: " ${devicename} discharge "
filters:
- multiply: 0.001
unit_of_measurement: kWh
device_class: energy
state_class: total_increasing
accuracy_decimals: ${accuracy}
lambda: |-
float i = id(consumed_amp_hours).state;
float e = id(bv).state;
float w = 0.0;
if (i < 0) {
w = i * e;
}
return {w * -1};
change the 264 for the amount of Ah of your batteries.
this will create 2 new sensors:
SmartShunt charge and SmartShunt discharge , use them in your Configure
battery system screen
[image: Capture]
<https://user-images.githubusercontent.com/22038983/196963624-da014030-2963-4626-bc24-4cc827e8d624.JPG>
…On Wed, Oct 26, 2022 at 4:52 AM valeriotaccardo ***@***.***> wrote:
Hi! Good job!! Can you say me How you have integrated energy battery
charge/discharge information? Pipsolar inverter don't have this
information. There are only charge/discharge currente. Does You have
calculate power and energy from (voltage * amper)?
—
Reply to this email directly, view it on GitHub
<#11 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFIETR54BTGEG7SHKRC2ZG3WFDWORANCNFSM5RR22GUA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi! Is this correct? |
Beta Was this translation helpful? Give feedback.
-
no I use victron smartshunt, by KinDR007 for my battery sensors. I just use pipsolar to monitor my mppsolar inverter. here is my code:
in the
1- you will need to replace the number 264 in the following line: 2- look at the 2 3- I also removed everything related with Wi-Fi monitoring in my code. 4- one last thing in the
I hope this helps, just let us know. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi. Does anyone know how to set this up a range of "possible_values" in pipsolar? output:
Thanks |
Beta Was this translation helpful? Give feedback.
-
hi Sebastian,
I put the bms project in pause.
now i will like to integrate my mppsolar lv5048 to my HA. I see that there is an esphome integration (PipSolar PV Inverter) and also your repository esphome-pipsolar.
do you know if any of them works with my inverter?
i have a step down and a rs232 to ttl converter already an of course an esp32
this is my ttl converter. according to the sapecs should be 3.3 tolerant.
73 de KP4MI
Miguel
Beta Was this translation helpful? Give feedback.
All reactions