-
Notifications
You must be signed in to change notification settings - Fork 4
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
feed_through_consumed_energy is total_increasing but negative #11
Comments
Honesty, I don’t really know what feedthrough means and have never really tried to use it for anything; I mainly stick with the Main Meter entities for my energy dashboard. I’ve seen this behavior on the previous integration versions too. Reading existing posts about feedthrough seems to indicate it is used when multiple (sub)panels are installed? I only have 1 single panel with solar and am getting negative reading on those entities too. Like the changes made to the relay switch toggle controls and the priority selector controls API are undocumented and I only stumbled upon them the right configuration to pass to the API by luck. It’ll be nice if we have some documentations on these exposed properties from the API, maybe we can ask the SPAN employees on the forum but I doubt they will commit to anything about the local API at this time. :P |
Agreed, that makes sense. I'll try and do a little detective work, myself on the values and docs, maybe get a little lucky. I'll also try the span folks. I got some good responses from them in DMs, but then they dropped off the HA forums. |
My feed-through consumed energy is also negative and I think I know why. I have my solar inverter system hooked up to the downstream lugs, or "downstream loads" on the Span app, and the wattage closely follows my dual SolarEdge inverter output. The frustrating thing is the Span app is not set up to do this so it doesn't actually capture my solar power. Fortunately this integration shows the raw numbers so I can measure it more accurately. I'll watch at night when the optimizers are using electricity at night to see if it switches over to positive. If I get time I'll set up a db to compare the power output of inverters compared to the downstream output. |
Thanks @tylas13. That matches my suspicions, so I wouldn't be surprised. Let me know if I can help in any way. I do plan to sort this out, but I admit it's not yet the top of my SmartHome development priorities. |
There's definitely something goofy about the feedthrough energy numbers reported by the span local api. If I had to bet, I'd say there's a bug somewhere related to signed/unsigned integers and over/underflow, but I haven't been able to find it yet, and it is also not yet on the top of my list of development priorities.
These numbers represent the energy transferred through the feed-through lugs attached to the bottom of the panel. These lugs are designed for attaching another panel (smart or otherwise) downstream, and providing up to a 200A connection. If you don't have anything connected to them, you can just ignore these values. |
I'm going to leave this out of 0.0.9, where I want to focus on control & connection issues. 0.0.10 is where I'm planning to look at the sensors in more detail. |
Honestly not sure whether this is due to solar causing negative energy consumption, or maybe just a silly sign error (e.g. a negative number needs to be inverted before passing it to HA).
The text was updated successfully, but these errors were encountered: