-
Notifications
You must be signed in to change notification settings - Fork 28
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
Solarman Proxy #74
Comments
Nice! I will definitely try it! But I would also like to kinda hijack this thread to ask some semi-related questions.
|
Definitely doable , the protocol is the same in TCP-Server mode. After the first packet received from the server the logger is doing exactly the same (sending counter packets without a request, disconnect on silence etc.), it's silent otherwise, but reconnects after every TCP timeout.
Can't comment on that. This requires tcpdump from the router, which is something to which I don't have access to UDP - I think UDP connection will be even more problematic, especially if TCP is unreliable. Broken packets are the first problem which comes to my mind. |
I guess I could send you (but rather privately) pcap of that communication.. The unreliability I'm talking about is more about stick refuses to respond rather than issues with the path. When I for example break down burst of 5 requests to the stick more than half of the packets is just about tcp stuff - so it came to my mind when I was thinking about what on the stick side could be so problematic for the device to have so poor performance. |
SYN & ACK packets, maybe that's what you see in addition to the data packet. Anyway, the lack of response could be due to various reasons (internal error, the logger is doing something else etc.) that we don't know. As for the PCAP file you can drop it here |
Sure I know 😆 I said that as poke into TCP and how wasteful it is. 😉 (I was not surprised at all when QUIC came along, but that's OT AF) Edit: I guess what I was trying to say is that maybe (just maybe) UDP could be less demanding on the stick in general. (Without impacting reliability on connections with stable path) |
Hey @githubDante, I have that pcapng for you, can you revive that upload link? |
Yes of course. |
Done. |
This is not an issue!
Proxy for solarman dataloggers in TCP-Client mode. Works nicely in collaboration with PySolarman clients.
It's suitable for:
Prebuilt binaries (for arm and amd64) at the moment are available in the artifacts from the GH actions run here.
The text was updated successfully, but these errors were encountered: