-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for pipsolar inverter #20408
Conversation
Thx. As you noticed I won't enable it by default. Too much code duplication and non-standard mqtt messages probably flooding the rules engine. It's your call. |
* Add support for pipsolar inverter * Fix CI-Warnings * Remove unneeded define * Pipsolar: Fix dat result * Add support for the rules engine --------- Co-authored-by: Peter Rustler <peter@rustlerit.de>
Hi, |
@chefpro thanks for this contribution , i gor a voltronic clone : superwatt VMII, ill try your code , maybe i ll ping you in tasmota comments if i get some questions on how to use it ( i have plenty of friends having those inverters, and the esphome soluce is complicated to integrate. |
@chefpro , i compiled successfully on an esp32S3 but its not working, i dont have enough coding knowledge to understand from the code how to set the baudrate, sbaudrate command is not available despite having selected pipsolartx and pipsolarrx , but i see in your code that it can claim the hardware serial, but i dont know what is the condition to go hardware or software. edit : ok, for future use : the command to use is pipsolarbaudrate 2400 if you need to set the baudrate to 2400 bauds , (by default its 9600.) |
Description:
This PR adds support for solar inverter from "EASUN Power" and simular. A lot of inverters from china use this protocol. Baudrate and serial protocol parameter are settable. Polling of data can be switched off.
The advantage over implementations from ESPEasy and others are, that QET,QEY,QEM,QED,QEH and DAT is also supported and the webinterface in tasmota which makes it easy to look at values without broker, mqttclient and such.
Berry scripts to sync date and time in inverters with local time are possible through DAT call.
Also through the QEx-Api it is possible to paint graphs of historical data in webinterface with berry without the need of heavyweight database and graphics framework.
I would not recommed to enable it by default, because of memory footprint.
The implemention is asyncron and shoud not slow down tasmota too much.
Checklist:
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass