Skip to content

Documentation: Add support for remote RS485 to ethernet virtual com port #79

@inigoml

Description

@inigoml

BMS Version 🔄

v3

Connection Method 🌐

Other (please specify)

Problem Description 🤔

This is not a bug, but a feature in terms of adding a procedure to monitoring a SEPLOS BMS remotely with a RS485 to Ethernet dongle (Elfin EW11 or similar) https://es.aliexpress.com/item/33036056772.html

Proposed Solution 🛠️

It's very simple.

  1. First you have to configure properly your Elfin EW11 dongle. Most important stuff is serial configuration,
    image

  2. Install socat in your linux box (sudo apt install socat)

  3. Then you have to run in your Linux box this command in order to create a virtualcom port.

socat pty,link=/dev/virtualcom0,raw tcp:192.168.1.98:502 &

Replace 192.168.1.98:502 with your EW11 IP address and port.

  1. Finally, point your BMS to your virtualcom port.
    image

image

  1. Enjoy. Take into consideration that you should include socat commant in init.d boot scripts. If not, you will have to execute this command manually each time you reboot your Linux box.

Alternatives Considered 🔄

No response

Additional context 📄

Just in case you have a cheap and widely available Elfin EW11 and want to connect remotely to your Seplos BMS without having to use a ESP32 + TTL module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions