Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add KinCony modbus energy meter to home assistant using raspberry pi's RS485 port
#11
(06-06-2024, 10:18 PM)admin Wrote: let your bulbs ON for one day, then check the value.

Left five bulbs ON for 24 HRS and meter-consumption didn't change.

What to do ?
Reply
#12
the data on the meter's LCD display also no change with "consumption"?
Reply
#13
(06-10-2024, 10:30 PM)admin Wrote: the data on the meter's LCD display also no change with "consumption"?

Nothing.... Could the meter be failing?
Reply
#14
take a photo or video send to whatsapp number: +86-15381188302
Reply
#15
Any idea if this Yaml file will work with the RS 485 meter connected directly to the M30?


uart:
  id: modbus_uart
  rx_pin: 32
  tx_pin: 33
  baud_rate: 115200
  stop_bits: 1
  data_bits: 8
  parity: NONE


Maybe change for 

uart:
  id: modbus_uart
  rx_pin: 32
  tx_pin: 33
  baud_rate: 9600
  stop_bits: 1
  data_bits: 8
  parity: NONE


Attached Files Image(s)
   

.txt   M30_HA_LEDs.txt (Size: 51.65 KB / Downloads: 27)
Reply
#16
this is a RS485 meter, not need work with M30 , only need connect to your Pi's RS485 or USB-RS485 port directly.
Reply
#17
Kincony, please confirm if this configuration is correct as METER CONSUMPTION is still showing 0.04kWh. METER CURRENT not showing properly neither

  - name: hub1
    type: serial
    baudrate: 9600
    bytesize: 8
    method: rtu
    parity: N
    port: /dev/ttyS0
    stopbits: 1

    sensors:
    - name: meter-voltage
      slave: 1
      address: 100
      input_type: holding
      data_type: float32
      precision: 2
      unit_of_measurement: V
      device_class: voltage

    - name: meter-current
      slave: 1
      address: 106
      input_type: holding
      data_type: float32
      precision: 2
      unit_of_measurement: A
      device_class: current

    - name: meter-power
      slave: 1
      address: 118
      input_type: holding
      data_type: float32
      precision: 2
      unit_of_measurement: kW
      device_class: power
   
    - name: meter-factor
      slave: 1
      address: 142
      input_type: holding
      data_type: float32
      precision: 2
      device_class: power_factor

    - name: meter-frequency
      slave: 1
      address: 144
      input_type: holding
      data_type: float32
      precision: 2
      unit_of_measurement: Hz
      device_class: frequency

    - name: meter-consumption
      slave: 1
      address: 0
      input_type: holding
      data_type: float32
      precision: 2
      unit_of_measurement: kWh
      device_class: energy_storage
Reply
#18
change the meter parity: E
i have tested, only parity: E can use by home assistant.
Reply
#19
(08-01-2024, 12:38 AM)admin Wrote: change the meter parity: E
i have tested, only parity: E can use by home assistant.

Check screenshot. I also see 0.04 kwh in the config tool. Could the enery meter be damaged?

After setting Parity to EVEN and updating yaml now I'm having this error in Home AssistantPymodbus: hub1: Error: device: 1 address: 100 -> Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 4 bytes (0 received)


Attached Files Image(s)
   
Reply
#20
sorry for my mistake, change RS485 " Parity: EVEN " to " Parity: NONE ". NOT "EVEN".
how many days you have used , now total "0.04 kwh"?
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)