Replies: 1 comment
-
Just submitted the issue and had another look at the web ui:
V_pvIn and I_pvIn are there, reasonable values at that. V_bat and C_bat are still missing or bad numbers though. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
PROBLEM DESCRIPTION
Reading telemetry off of a epsolar tracer bn mppt pv controller via modbus. Generally, it's somewhat working. The esp is reporting data via web ui and mqtt. Getting - amongst other values - PV-array voltage and current. As soon as battery voltage is requested, PV voltage and current stays at 0V, 0A, no matter what order the requests are specified in in the script.
W/o battery voltage:
With battery voltage (and battery capacity, it's the same if C_batt is omitted though):
The issue here is: V_pvIn 0V, I_pvIn 0A, V_bat 0V. And of course the battery capacity of 2805%.
The esp-07 got 1M of RAM, I initially assumed this to be the issue. While this couldn't be verified with a 4M (i.e. esp-12f) module yet, former discussions in this regard suggest the RAM available is not the underlying issue.
REQUESTED INFORMATION
Backlog Template; Module; GPIO 255
:Status 0
:TO REPRODUCE
The script used:
Comment the last two pattern matches and all values display as expected. Note that it is not allowed to mix and match standard requests and binary requests, i.e.
r0104331b0002,0104331a
is not working. Is this intentional? IIRC, some examples given on the tasmota-modbus web page show exactly this mix and match of std and bin requests.EXPECTED BEHAVIOUR
Any number of values queried should result in the values being reflected in the web ui/mqtt msg. In particular, if querying an additional value such as battery voltage everything should show up in the ui/mqtt. Querying a particular register should not result in other values not being displayed. Right now, I get to choose between either PV array voltage and current or battery voltage. It is worth noting, the PV array values are returned as 4 byte whereas battery voltage is a 2 byte return. The data is there for tasmota/modbus to parse (see next paragraph) but tasmota/modbus just won't show it.
ADDITIONAL CONTEXT
Using sensor53 d1, it is obvious the data is getting in. I.e.
> 01 04 31 1a 00 01 1e f1
(remaining battery capacity) is answered by: 01 04 02 00 64 b8 db
(100%), which is correct. Same for> 01 04 33 1a 00 01 1f 49
(battery voltage) and: 01 04 02 0a eb ff df
(27.95V).Beta Was this translation helpful? Give feedback.
All reactions