Hi everyone,
just wanted to share a short configuration to get my energy monitor of my car into HASS, as I struggled a bit with the combination (Had to split the post because of some restrictions, all media in the comments below):
Energy Meter: B+G E-Tech WS100-1943 Energy Meter
All Parameters standard
baudrate: 9600
bytesize: 8
stopbits: 1
parity: none
can all be found here: [LINK1] https://stromzähler.eu/media/ee/97/41/1704818760/WS100-19xx_1123_DE.pdf
To hook this up into my LAN I configured the RS485 TO WIFI/ETH as follows:
Converter: Waveshare RS485 TO WIFI/ETH
Documentation can be found here: [LINK2] https://files.waveshare.com/upload/6/61/RS485-TO-WIFI-ETH-User-Manual-EN.pdf
Working Mode to Transparent [IMAGE1]
Uart Settings set to the default from the energy meter: [IMAGE2]
Ethernet settings had to be changed to hook it up to my switch [IMAGE3]
Network A Settings remained mainly unchanged [IMAGE4]
Home Assistant Configuration:
configuration.yaml
modbus: !include modbus.yaml
modbus.yaml
- name: modbus-garage
type: rtuovertcp
host: [IP address of the RS485 TO WIFI/ETH]
port: 8899
sensors:
- name: "BGE-Active Power CUPRA"
device_address: 1
address: 260
unit_of_measurement: W
data_type: int32
input_type: input
unique_id: "BGE-260"
state_class: measurement
- name: "BGE-Total Fwd CUPRA"
device_address: 1
address: 270
unit_of_measurement: kWh
data_type: int32
input_type: input
unique_id: "BGE-270"
state_class: total
precision: 2
scale: 0.01
Big shoutout to the post of m9aertner here [LINK3]