Replies: 1 comment 8 replies
-
Thanks @canton7 ! Agree with your points - we need to find a balance between 'advanced' options such as TCP/UDP (+ potentially more in the future) and making the config flow intuitive for the less technically minded. As some form of compromise could we add a selector with Autodetect / TCP 485 / UDP 485 / LAN? Autodetect would run the existing routine, whilst the TCP etc. would effectively act as overrides if you have a known setup. Whatd'ya think? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @nathanmarlor,
I'm thinking of adding support for UDP, as that seems to work much better with my W610.
The most obvious thing to do is update the config flow to show:
However, I wonder whether that's getting a bit unintuitive. If someone's connected a LAN cable directly into their inverter, they don't necessarily know whether the inverter wants to talk TCP or UDP over that cable, and knowing the difference might be beyond them.
Instead, I was wondering whether it might make sense to do something like:
Hopefully the user knows how they're connected to the inverter, and if they're using an RS-465 adapter maybe they saw "tcp" or "udp" in the settings somewhere when they were setting it up.
That also means we don't need to do auto-detection of the connection type.
Do you have any thoughts? I'm happy to hack away here, but I wanted to run things past you as this is an area you've put a lot of effort into!
Beta Was this translation helpful? Give feedback.
All reactions