Comments (23)
coffee time !!
from esphome-pipsolar.
please let me know if this log is of some use:
logs_mppsolar-inverter-0_logs.txt
thanks,
Miguel
73 de KP4MI
from esphome-pipsolar.
Hello Sebastian,
have you had some time to look at this?
thanks
best regards,
Miguel
from esphome-pipsolar.
no news on this one?
thanks
Miguel
from esphome-pipsolar.
Hi Miguel! I hope you are fine. I've extended the protocol test by some commands of your split phase converter:
Could you flash the YAML and provide some logs? Thanks in advance!
from esphome-pipsolar.
from esphome-pipsolar.
You can just flash the YAML but you have to change the tx_pin/rx_pin probably. If it doesn't work out of the box please provide your current/working YAML. I will provide a drop-in replacement just for testing.
from esphome-pipsolar.
logs:
logs_mppsolar-inverter-0_logs.txt
current (test) yaml:
esp8266-test-protocols.txt
my (original) yaml:
mppsolar-inverter-0.txt
from esphome-pipsolar.
It looks like I messed up the timing of the procotol test YAML. I've pushed an update. Could you try to most recent version of the protocol test? The one with a 1 second delay between the commands instead of 2 seconds:
https://github.com/syssi/esphome-pipsolar/blob/main/tests/esp8266-test-protocols.yaml
from esphome-pipsolar.
most recent version logs:
logs_mppsolar-inverter-0_logs (1).txt
same failure. :(
from esphome-pipsolar.
uart
and logger
are configured to the same GPIOs. Please set the baud_rate
of the logger
to 0
if you use GPIO1/GPIO3.
from esphome-pipsolar.
cant set to 0
please the options and advice
from esphome-pipsolar.
logger:
baud_rate: 0
level: DEBUG
from esphome-pipsolar.
logs_mppsolar-inverter-0_logs.txt
we got something now
from esphome-pipsolar.
Perfect! Please flash your production setup again. You have retrieved all required informations the extend the pipsolar component.
[14:44:03][I][main:491]: Testing PI41 split phase / multiple strings commands...
[14:44:03][D][uart_debug:158]: >>> "QPIGS2h-\r"
[14:44:03][D][uart_debug:158]: <<< "(121.7 60.0 120.2 59.9 0384 0282 012 0000 000.0 54.70 0000010\xE0A\r"
[14:44:04][D][uart_debug:158]: >>> "QP2GS0\x14\x05\r"
[14:44:04][D][uart_debug:158]: <<< "(11 55355535553555 B 00 121.8 60.00 120.1 59.96 0360 0262 012 54.7 000 065 000.0 00 00000010\v\"\r"
[14:44:05][D][uart_debug:158]: >>> "QP2GS1\x04$\r"
[14:44:05][D][uart_debug:158]: <<< "(00 00000000000000 P 00 000.0 00.00 000.0 00.00 0000 0000 000 00.0 000 000 000.0 00 00000000\xAF-\r"
from esphome-pipsolar.
great!! do we need to create new sensors to read both phases?
logs from my production setup with your changes:
logs_mppsolar-inverter-0_logs (1).txt
from esphome-pipsolar.
Your production YAML has the same GPIO conflict. Please disable the serial logging here too and provide another log:
logger:
baud_rate: 0
level: DEBUG
from esphome-pipsolar.
ok see attached:
logs_mppsolar-inverter-0_logs.txt
from esphome-pipsolar.
This looks much better.
from esphome-pipsolar.
what will be the next step to add the sensors for both phases?
I was looking at the cpp and py files and looks very complicated.( to me )
or theres another way where not that much code editing will be needed?
73 de KP4MI
from esphome-pipsolar.
Some (de)coding is required. ;-)
from esphome-pipsolar.
Some (de)coding is required. ;-)
hello syssi, while waiting (if this ever happends lol).
can you explain me how the output component works with an example?
I will like to create a switch or a selector for charger_source_priority
output:
- platform: pipsolar
pipsolar_id: inverter0
battery_recharge_voltage:
id: inverter0_charger_source_priority
on_...:
then:
- output
but honestly dont know how to do it,
can you help me with the yaml code
thanks
Miguel
from esphome-pipsolar.
Perfect! Please flash your production setup again. You have retrieved all required informations the extend the pipsolar component.
[14:44:03][I][main:491]: Testing PI41 split phase / multiple strings commands... [14:44:03][D][uart_debug:158]: >>> "QPIGS2h-\r" [14:44:03][D][uart_debug:158]: <<< "(121.7 60.0 120.2 59.9 0384 0282 012 0000 000.0 54.70 0000010\xE0A\r" [14:44:04][D][uart_debug:158]: >>> "QP2GS0\x14\x05\r" [14:44:04][D][uart_debug:158]: <<< "(11 55355535553555 B 00 121.8 60.00 120.1 59.96 0360 0262 012 54.7 000 065 000.0 00 00000010\v\"\r" [14:44:05][D][uart_debug:158]: >>> "QP2GS1\x04$\r" [14:44:05][D][uart_debug:158]: <<< "(00 00000000000000 P 00 000.0 00.00 000.0 00.00 0000 0000 000 00.0 000 000 000.0 00 00000000\xAF-\r"
i dont u desrstand much but I know there are some QPIGS2 commands in your code for pv2.
can you tell me what files deal with the sensors so I can try to make a version witb both QPIGS and QPIGS2 sensors for my split phase unit.
i know pipsolar.cpp is one of them. if i know what other files are involve i can try to modify them to add the sensors from the other phase of.my inverter (QPIGS2 sensors).
ill be using pip8048 as my base branch. all i need is a list of the files that needed to be modify and i start my trial and error from there
73 de KP4MI
thanks
Miguel
from esphome-pipsolar.
Related Issues (20)
- pipsolar + jk_bms HOT 1
- esphome reports "unknown" when inverter shuts down or on its own sometimes HOT 1
- Pooling command for P18 wrong HOT 1
- Question regarding ttl RS485 adapter HOT 4
- set_level action expects a percentage and clips values above 1.0 HOT 4
- Qoltec 6KW (PI30) - timeout QPIGS other works HOT 3
- Adding external componen not found HOT 4
- MPI 10k integration
- pipsolar ac_output_active_power HOT 1
- Effecta AX-P1 whit USB2.0 typ B COM port HOT 11
- Apiconnectionerror HOT 2
- Inverter Log HOT 1
- Component jk_modbus took a long time for an operation.... and cause esp to halt after sometime HOT 2
- Pipsolar inverter pv1 and pv2 HOT 1
- Hybrid Solar inverter 8.2kw/10.2KW HOT 31
- Change value on QFLAGS status
- New sensors and custom settings on mi invertor Effekta AX- Series HOT 3
- Fronus PV7200 - CRC NOK expected HOT 13
- Axpert_KSMKSV_RS232_Protocol HOT 8
- PIP 8048 zero values HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esphome-pipsolar.