I am using an Eastron Modbus energy meter to monitor the power consumption of my house. So far I have been reading the sensor using esp32 and esphome. Now I want to connect the meter with RS485 to USB converter and read it using the modbus integration of home assistant.
I understand that not every integration is ready to be used with âstatisticsâ and the energy dashboard but does anyone know a solution for this problem?
I have about the same setup only with TCP interface instead of a serial one.
Actually, I have 2 power meters and in the process of adding my EV charger through Modbus to the system.
I have added the state_class: total_increasing to the sensor definition but I still do not see the sensor in the optional sensors for the energy dashboard.
I am using ESP8266 with MAX485 module which converts RS485 to UART. For firmware I use ESPhome which has built in support for the Eastron meters. I donât see Chint DTSU666 in the list of supported devices in ESPhome, so I would suggest you to get an Eastron meter or if your max load per phase is not more than 100A - get a Shelly 3EM. Shelly 3EM has built in wifi and is discovered by home assistant automatically.
Hi everybody, i have eastron sdm230 and i want to get data from inverter in real time, from this meter can ypu get current solar panel energy? My inverter is growatt min-6000tl-xh.
I cannot understand your question⌠How having a smart meter will help you get data from an inverter? You can connect the output of the inverter through the smart meter and measure the power consumption and energy usage
Hi, I have the same problem as Klagio - I have a Chint DTSU666 with Modbus output. I connected the Modbus cable to an Modbus-to-USB adapter and pluged it directly into the USB-Port of the Raspberry Pi. I used:
modbus:
name: hub1
type: serial
baudrate: 9600
bytesize: 8
method: rtu
parity: N
port: /dev/ttyUSB3
stopbits: 1
sensors:
But I am lost now when it comes to the configuration of the sensor⌠how do I know the correct parameters - is the setup of mine with the adapter even possible? In the moment I can connect the sensor in the dashboard but no data is received.
Thank you for help!
Thank you fĂźr your fast reply.
Did not work - I am afraid, that the problem starts wirth the USB-Port of the Rasberry Pi, as I found the following log:
Logger: pymodbus.client.sync
Source: components/modbus/modbus.py:386
First occurred: 08:18:49 (1696 occurrences)
Last logged: 15:24:32
[Errno 2] could not open port /dev/ttyUSB3: [Errno 2] No such file or directory: â/dev/ttyUSB3â
Thats because your USB to RS485 converter is not connected to this serial port. From home assistant web interface, go to settings, then hardware and when you open hardware there is a three-dot menu on the top right corner - choose All Hardware and you will be presented with a list of all hardware connected to the computer which runs home assistant. From this list search for an entry which starts with ttyUSB. If there is only one serial convertor connected to the computerâs USB ports it should be ttyUSB0
Thank you! The problem with the USB-Port is gone now.
Unfortunately there is still the problem, that the sensor does not deliver any data.
When I open the sensor Info there is not data and when I open the energy dashboard there is
the message: