its now a while since then and it is still the same “issue”.
When the Battery Current get negative, then I get that 655,xx A Value in HA.
What I wonder is: isn’t there an “emergency solution” in which you use a filter? If the value is above 650A (or another value), then 0 is simply displayed.
I had a problem with negative values a couple years ago. If I remember correctly I was able to apply an absolute value, and that fixed it. But I don’t remember whether it was a filter, template or some other process.
Maybe it would be possible to define a word like “charging” etc. for each number.
So that it can get the current status in words. But honestly I don´t know to realize that.
thanks for your feedback.
I have now tested several filters and can’t come up with a suitable value.
Basically just the value, let’s say above 10A (max load of the MPPT controller) would have to be “clipped”.
However, it is a pity in general that I have not yet found a solution to display a negative value.
I use the small EPEVER 2610BP as a controller for a small fountain, which accordingly also has an automation for the switching cycles.
At the load output there an Elfin-EW11 connected for controlling the fountain. This device consumes according to Epever Solar Monitor -0.01A. This is unfortunately displayed as 655.4A in the Dashboard (see screenshot).
it’s the address: 0x331B and the datatype is S_DWORD_R. So it it is a signed 32 bit integer from 2 registers low word first.
I don’t use the Load Output from the Controller so I can test but I think you can try to either use int32 instead of uint as datatype and if that doesn’t work you can add a “count:2” and “swap: word”
This thread shows a few different ways to convert a negative value to positive. My sensors don’t give negative values at this time, but I believe my workaround when it was happening a couple years ago was something similar
Hello. I am trying to resolve the connection of Epever tracer to HA. I read your post. You share there the code titled “modbus.yaml” and the code titled “sensor.yaml”. Where exactly to create this or just put all of this in configuration.yaml? Thank´s
Yes. I am trying to solve Epever connection via modbus/elfin ew11. Unfortunately, it doesn’t quite work. I found it working in this thread plus some settings put in but somehow still can’t get it to work. Would it be possible to ask for a set of yaml for commissioning? Thank you.
Sure you can ask, but there is mode detail from you side needed.
Did you setup your elfin correctly?
What are the settings? Do you receive/transmit data in the elfin device? Check that on its web gui.
Second past your current yaml config.
In general what did you do so far to make it running?!
Hello. I have 4 modules Epever Wifi box 2.4gh connected to 4 traces 4210an I tried to make the settings in the home assistant in yaml but it shows me the entities in states as unavailable. can you help me where i am wrong? in the epever application I can view the data.
Did you get MQTT to work? and since you guys have a lot of experience of the Elfin EW11, is it possible to get some help in understanding how to send/recive commands to another device? i have the ABL car charger that I plan to connect to a elfin EW11.
Here are some documentation of the ABL, some is in german and I dont understand that much, maybe someone here does.