Smart Home Automation Forum
Add KinCony modbus energy meter to home assistant using raspberry pi's RS485 port - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: KC868-Server Raspberry Pi4 local server (https://www.kincony.com/forum/forumdisplay.php?fid=17)
+--- Thread: Add KinCony modbus energy meter to home assistant using raspberry pi's RS485 port (/showthread.php?tid=4339)

Pages: 1 2 3


RE: Add KinCony modbus energy meter to home assistant using raspberry pi's RS485 port - sebagarayco - 06-10-2024

(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 ?


RE: Add KinCony modbus energy meter to home assistant using raspberry pi's RS485 port - admin - 06-10-2024

the data on the meter's LCD display also no change with "consumption"?


RE: Add KinCony modbus energy meter to home assistant using raspberry pi's RS485 port - sebagarayco - 06-11-2024

(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?


RE: Add KinCony modbus energy meter to home assistant using raspberry pi's RS485 port - admin - 06-12-2024

take a photo or video send to whatsapp number: +86-15381188302


RE: Add KinCony modbus energy meter to home assistant using raspberry pi's RS485 port - kiloptero - 07-11-2024

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


RE: Add KinCony modbus energy meter to home assistant using raspberry pi's RS485 port - admin - 07-11-2024

this is a RS485 meter, not need work with M30 , only need connect to your Pi's RS485 or USB-RS485 port directly.


RE: Add KinCony modbus energy meter to home assistant using raspberry pi's RS485 port - sebagarayco - 07-31-2024

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


RE: Add KinCony modbus energy meter to home assistant using raspberry pi's RS485 port - admin - 08-01-2024

change the meter parity: E
i have tested, only parity: E can use by home assistant.


RE: Add KinCony modbus energy meter to home assistant using raspberry pi's RS485 port - sebagarayco - 08-01-2024

(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)


RE: Add KinCony modbus energy meter to home assistant using raspberry pi's RS485 port - admin - 08-02-2024

sorry for my mistake, change RS485 " Parity: EVEN " to " Parity: NONE ". NOT "EVEN".
how many days you have used , now total "0.04 kwh"?