Weekly Deals! Shop with Discounts.

Home

Contact Us

Downloads

Reseller Login

Aftersale&Forum

CONFIG - ETHERNET OPTION 2

Ethernet Module Configuration

Here we use Waveshare RS232 to Eth (B) / Waveshare RS485 to Eth (B) as an example.

 

1. Connect Waveshare with a router which is connected with a Windows PC. 

 

2. After Waveshare is power on, open software VirCOM in the PC and allow firewall while open the software.

 

VirCOM Software Download Link: VirCOM

 

vircom-setting-1

 

3. The software will automatically detect the module. If it doesn't, click 'Device' and then 'Auto Search' to search for the module.

vircom-setting-2

 

4. If the module is found, double click the blue list and go to configruation page. Modify settings in orange box. Then click 'Restart Dev' to save settings.

IP Mode: Static

IP Address: In Home Assistant -> Settings -> System -> Network -> Configure network interfaces -> WLAN0 -> IPv4, find Gateway address of Raspberry Pi. As shown in the example image, the Gateway address is 192.168.3.1. Choose an IP Address from the range 192.168.3.2 to 192.168.3.255, but make sure it's not already in use by another device. If the chosen address is occupied, select a different one.

Port: A number

Work Mode: TCP Server

Net Mask: 255.255.255.0

Gateway: Same Gateway address as Home Assistant WLAN0

Baud Rate: Usually it is 9600, but latest GP-PC200 BMS uses 115200 (RS232)

Data Bits: 8

Parity: None

Stop Bits: 1

Flow Control: None

vircom-setting-3

 

If your Ethernet Module has Multi-Host Option, turn it off.

 

vircom-setting-7

 

 

5. Wait for a while, you will see new settings take affect.

vircom-setting-4

 

6. Later, enter the 'Dev IP' address in a browser to access the web configuration page at any time. The default password is 'admin'.

vircom-setting-5

vircom-setting-6

 

 

Addon Configuration

Configuration example (Note: Green parts are used):

configration-ethernet-option-2

host_name: you can find it in Home Assistant -> Settings -> System -> Network -> Host Name

mqtt_broker: Broker field in Setup - MQTT step

mqtt_port: Port field in Setup - MQTT step

mqtt_username: Username field in Setup - MQTT step

mqtt_password: Password field in Setup - MQTT step

device_name: A unique name for each device, it will be used for sensor name

battery_manufacturer: Battery manufacturer name, any string is accepted

battery_model: Battery model name, any string is accepted

connection_type: ethernet

battery_port: rs232 or rs485 according to what port used

bms_type: BMS used

bms_ip_address: IP Address of Ethernet Module Configuration Step 4 in this page

bms_ip_port: Port of Ethernet Module Configuration Step 4 in this page

data_refresh_interval: unit is seconds


Home >>  Gobel Battery Home Assistant Addon Manual >>  Config - Ethernet Option 2
AI Chatbot