njfaria / SolPipLog

Logger for the PIP Inverter series ( USB / RS232 version )
Apache License 2.0
89 stars 32 forks source link

Configure MAX charging current (Total + UTI) via MQTT #63

Open myp-cz opened 3 years ago

myp-cz commented 3 years ago

There are two items to write via MQTT - the mode (SBU/SUB/UTI) and submode (SBL/SLB UDC/UCD). Which is great!

Could you add another two items to set via MQTT ? That would help me to properly control the whole PV installation from a central point (RPi4).

MQTT: write "TOTAL CHARGING CURRENT" in Amps MQTT: write "UTILITY CHARGING CURRENT" in Amps

This would directly translate to appropriate message to PIP-MK 5048 / Axpert King / etc.

JaseZa commented 3 years ago

This would be a great feature!

njfaria commented 3 years ago

@myp-cz and @JaseZa with solpiplog/pip/maxcharge/set and payloads 2,10,20,30,40,50,60 you may change the battery max charge current which is what you problably want.

JaseZa commented 3 years ago

@njfaria this is great, thanks! Although it seems 50A and 60A doesn't work over MQTT? Just changes it to 40A instead. 50A works when I change it directly from Solpiplog though.

JaseZa commented 3 years ago

Also just to note for others, this changes the "Max Utility Charge" not the Max total charge to the battery. In my case this is exactly what I wanted.

njfaria commented 3 years ago

of course i uploaded the wrong version.. new one is online.

JaseZa @.***> escreveu no dia quarta, 18/08/2021 à(s) 15:25:

@njfaria https://github.com/njfaria this is great, thanks! Although it seems 50A and 60A doesn't work over MQTT? Just changes it to 40A instead. 50A works when I change it directly from Solpiplog though.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/njfaria/SolPipLog/issues/63#issuecomment-901159705, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFCKIIXW62MJA35XAQRGMZDT5O7DNANCNFSM43F4O4GA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

twmuller commented 3 years ago

Hi, what a great piece of software. Thanks. My Max charge current can be set up to 140 Amps on the invertor and i want to be able to set it via MQTT, but reading the info, it looks as if it can only go to 60Amps via the software. True or can i send 140 via MQTT?

Thanks