Skip to content
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

Can Sofar2mqtt be RS485 slave? #53

Open
Simoverdex opened this issue Jan 14, 2023 · 3 comments
Open

Can Sofar2mqtt be RS485 slave? #53

Simoverdex opened this issue Jan 14, 2023 · 3 comments

Comments

@Simoverdex
Copy link

Hi folks, in the last few days I've added a wallbox for charging electric cars, which communicates with my inverter in RS485. I tried to connect my Sofar2mqtt together with the walbox, but being two Modbus Masters, I often receive incorrect values. Is there a possibility to make our Sofar2mqtt RS485 slave, so it would become a data "Sniffer"?

@phamels
Copy link

phamels commented Feb 12, 2023

Also interested to find out.
I noticed there is a slave port on the Sofar controller. Would it automatically become a slave without the ability to send data to it (just querying) or how would that work?
Anyone have any idea or more info on the slave port?

@Simoverdex
Copy link
Author

So, in a modbus network the master (in this case the logger) makes the request, while the slave (inverter) sends the data. In my situation I have two masters requesting data from a slave, and this situation generates errors.

@phamels
Copy link

phamels commented Feb 12, 2023

I have a similar issue where I want to use sofar2mqtt as a master, but a secondary device as a master as well.
Just confused with the fact that the sofar controller ME3000SP in my case, has a RS485 master and slave port.
So I guess the way around this would be if we could for example modify sofar2mqtt to act as a master, read the data and replay it to the second master? Just thinking out loud here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants