Reading Data from Wifi RS485 connector #49
Replies: 11 comments 20 replies
-
Really neat idea, love it. Can't contribute at this time as it's out of my field of expertise but I know some people who I'll be sure to run the problem by. |
Beta Was this translation helpful? Give feedback.
-
@valdiressa Interesting project, thx for sharing it with us :)
Thank you for blazing the trail, who know if we will not be pushed to go this route. |
Beta Was this translation helpful? Give feedback.
-
Also before i'm asked :). After looking at the Pin 3 and 4 and seen that it was very busy I shifted to pins 1 and 2 hoping that it was not but just to find that it was the exact same. |
Beta Was this translation helpful? Give feedback.
-
That looks like an Espressif chip, which would hold up why I have one on my network, can you post a clearer photo of the back of the shiny metal casing that's near the SMT connector, does it have a chip number or something? |
Beta Was this translation helpful? Give feedback.
-
Hi all, spent a few days checking and trying to understand data being sent out but still no luck. Unfornately I am also making some major changes to the system that I probably not need the FOxEss inverter in my setup anymore. If someone else works on this issue let me know I'll help out as much as i can with the data I've already acquired. |
Beta Was this translation helpful? Give feedback.
-
@MattBatesWasNotAvailable |
Beta Was this translation helpful? Give feedback.
-
I found more info about protocol. |
Beta Was this translation helpful? Give feedback.
-
I can test next week Sxxxx, I will try - a parallel connection to the Wifi adapter like in the first post. |
Beta Was this translation helpful? Give feedback.
-
I have a question about Export Limiter. Does anybody use it? It is possible to get 0w to export. |
Beta Was this translation helpful? Give feedback.
-
Yes. |
Beta Was this translation helpful? Give feedback.
-
Hi all, only just discovered this thread (you guys would've saved me a lot of time 😁) but we've been working on the same thing. I put together a PoC which MITM the WiFi adapter and Fox Cloud and allows you to inject your own modbus read requests etc. You'll need to NAT traffic from the WiFi adapter to the container for this to work. https://github.com/nathanmarlor/fox-local Disappointingly however it seems that the WiFi adapter actually has less access than the standard 485 lines - i.e. PV data is inaccessible. Bizarrely it can access the 60000+ registers which is where individual cell voltages/temperatures reside. Because of this I've decided it's a bit of a dead end - my original intent was to have a fully functioning "Fox Local" which simplified monitoring by not needing an external device, wiring into the 485 connector etc. Hopefully someone else can look at this with a fresh set of eyes and move it along?! 🙂 |
Beta Was this translation helpful? Give feedback.
-
Hi everyone this is my first time ever posto on Github. I couldn't help posting because I'm been looking on the internet for a solution similar to the one provided by this integration but this is ONLY forum i found anything even remotely related to the extraction of data from a Foxess inverter.
So i've been playing with similar but came to a block in my investigations that i cant see to find a way out. I'm been "sniffing" data that the inverter sends to the wifi card directly from the RS485 connector. The code is ofcourse coded in a way but i cant seem to make sense of find a way to identify each of the values being sent from the port.
There are mostly 3 burst of data that the inverter sends from the connector (there are more but 3 are mostly repetitive) these are something like:
b'0303fd3d0d9e26fdaf99a39f8fffff99a39f9dffff99a39f99fffffffd579b579b95ffffffffffffffffffffffffff3daf380a62c4f8'
b'0303fb3d0d9eaefed3fe4de9dfd22ddeadfea7d9e1d2dfdecdfea5d9e1d2dfde99fea5d9e1d2dfc64ffea5ffffe5c3feb1ffffffffffffffffffffffffffffffa9ffa9ffa3ffc9ffff3393fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb93836262fc'
b'0303f33d0d9e36fed57b9d9f9d9f9f93939b579b95999f9d9b5f7b9f9f9d5bc73162fe'
it sends mostly one of 35 byte and 30s later 54 bytes and 30s later 164 bytes. Does this all the time. I believe that the esp32 inside the wifi card computes this data and sends it over the internet to the Foxess cloud.
I opened the wifi card and soldered some wires to have access to the RS485 datalines.
I'm tried to make sense out of the data and even made some advances in identifying changes in the stream of data when i make changes to the inverter like shutdown a PV1 input or PV2 input...so data is here and we could extract directly from the inverter just need to understand what calculations are needed to read the attached.
Hope we can start a conversation about this.
Regards,
Beta Was this translation helpful? Give feedback.
All reactions