Comments (5)
@PetrDubi Please let's discuess your question here. The thread at issue #8 is already hard to consume. ;-)
from esphome-pipsolar.
As first step let's compare the parser of the different known QPIGS responses. For example the 2424MSE1 and PIP-5048Mg FW71.85 reponses:
226.7 49.9 226.7 49.9 0498 0479 016 427 27.00 005 100 0035 01.9 255.1 00.00 00000 10010110 00 00 00510 110 # 2424MSE1
225.8 49.9 225.8 49.9 0609 0565 020 427 27.00 005 100 0035 02.2 259.9 00.00 00000 10010110 00 00 00590 110 # 2424MSE1
232.6 50.0 229.9 49.9 0391 0312 007 402 54.40 042 072 0066 0042 284.6 00.00 00000 00010010 00 00 02901 010 # PIP-5048Mg FW71.85
001.0 00.0 229.0 50.0 0000 0000 000 415 27.29 000 100 0479 0000 000.0 00.00 00001 10010000 00 04 00000 000 # HMS 3K-24V
001.0 00.0 229.0 50.0 0000 0000 000 413 27.23 000 100 0672 0000 000.0 00.00 00001 10010000 00 04 00000 000 # HMS 3K-24V
BBB.B CC.C DDD.D EE.E FFFF GGGG HHH III JJ.JJ KKK OOO TTTT EE.E UUU.U WW.WW PPPPP bbbbbbbb QQ VV MMMMM bbb Y ZZ AAAA<CRC><cr> # Your device
from esphome-pipsolar.
The next step is to check the QPIGS message parser. I've added a lot of comments here to improve the readability:
https://github.com/syssi/esphome-pipsolar/blob/2424mse1/components/pipsolar/pipsolar.cpp#L449-L517
It looks like you are asking about value 16:
https://github.com/syssi/esphome-pipsolar/blob/2424mse1/components/pipsolar/pipsolar.cpp#L471
https://github.com/syssi/esphome-pipsolar/blob/2424mse1/components/pipsolar/pipsolar.cpp#L502
https://github.com/syssi/esphome-pipsolar/blob/2424mse1/components/pipsolar/pipsolar.cpp#L219
The value is published as battery_discharge_current
. Could you explain what's not working for you and could you provide an example response of your inverter incl. a discharge current greater 0. I would like to feed the omponent with your payload to reproduce the issue.
from esphome-pipsolar.
To friday I used pipsolar from esphome in Home Assistant, My configuration was function good but without values from PV panels and battery discharge current (value was zero). When I was change my cofiguration for use pipsolar from your github then I was can't compilled this configuration. After install last version esphome from github I can compile your example confgiuration, but my configuration was fail compilation with error for pipsolar_select. After many tests i found problem at friday - in my configuration I not use section from your example called select: When I was copy section select from example to my comfiguration then I was compile program and upload it to esp. All values from PV panels is ok, but battery discharge current was zero (friday evening).
At saturday I was outside of my home and today i check values from inverter and in history I was found battery discharge current with non zero values (from friday evening to today). I was test this and when battery is discharging, then esphome viewed actual value. At friday was battery discharge current zero. beacuse it was small consumption and PV panels power was higher then consumption and I was don't check this value at inverter at friday evening - my big mistake..
I'm very sorry, I'm trotl and all values are OK :-)
from esphome-pipsolar.
Alright. No worries! Let's close this issue. :-)
from esphome-pipsolar.
Related Issues (20)
- inverter suddenly stopped working HOT 2
- Add measurement
- Conection lost
- 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
- Hybrid Solar inverter 8.2kw/10.2KW HOT 28
- Change value on QFLAGS status
- New sensors and custom settings on mi invertor Effekta AX- Series HOT 1
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.