Skip to content

Instantly share code, notes, and snippets.

@lucize
Created November 28, 2023 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucize/8371a59cb9b02e7e772da86384f3f800 to your computer and use it in GitHub Desktop.
Save lucize/8371a59cb9b02e7e772da86384f3f800 to your computer and use it in GitHub Desktop.
iHunt wdyk genric tuya rcbo modbus values home assistant
- name: rs485
type: rtuovertcp
# host: 127.0.0.1
host: 10.160.20.123
port: 5002
# message_wait_milliseconds: 1000
# type: serial
# baudrate: 9600
# bytesize: 8
# method: rtu
# parity: N
# port: /dev/ttyUSB0
# stopbits: 1
# close_comm_on_error: true
delay: 3
# retry_on_empty: true
# close_comm_on_error: false
retries: 10
timeout: 15
binary_sensors:
- name: iHuntState
unique_id: iHuntState-432100000068
scan_interval: 5
slave: 1
address: 0
input_type: holding
#data_type: uint16
sensors:
- name: iHuntTemp
unique_id: iHuntTemp-432100000068
#scan_interval: 10
unit_of_measurement: °C
slave: 1
address: 19
input_type: holding
state_class: measurement
# count: 1
scale: 1
#offset: 0
precision: 1
data_type: uint16
- name: "iHunt Total Reverse Active Energy"
unique_id: iHuntTotalRewActNrgy-432100000068
#scan_interval: 10
unit_of_measurement: kWh
state_class: total
device_class: energy
slave: 1
address: 24
input_type: holding
# count: 1
scale: 0.01
offset: 0
precision: 3
data_type: uint16
- name: "iHunt Total Forward Active Energy"
unique_id: iHuntTotalFwdActNrgy-432100000068
#scan_interval: 10
unit_of_measurement: kWh
state_class: total
device_class: energy
slave: 1
address: 22
input_type: holding
# count: 1
scale: 0.01
offset: 0
precision: 2
data_type: uint16
- name: iHuntP1
unique_id: iHuntP1_V-432100000068
#scan_interval: 10
unit_of_measurement: V
slave: 1
address: 5
input_type: holding
state_class: measurement
device_class: voltage
# count: 1
scale: 0.10
#offset: 0
precision: 1
data_type: uint16
- name: "iHuntP1 Current"
unique_id: iHuntP1_Current-432100000068
#scan_interval: 10
unit_of_measurement: A
slave: 1
address: 8
input_type: holding
state_class: measurement
device_class: current
# count: 1
scale: 0.01
#offset: 0
precision: 2
data_type: uint16
# data_type: float32
- name: "iHuntP1 Active power"
scan_interval: 5
unit_of_measurement: kW
slave: 1
address: 12
input_type: holding
state_class: measurement
device_class: power
# count: 1
scale: 0.01
#offset: 0
precision: 2
data_type: uint16
# data_type: float32
- name: iHuntP2
unique_id: iHuntP2_V-432100000068
#scan_interval: 10
unit_of_measurement: V
slave: 1
address: 6
input_type: holding
state_class: measurement
device_class: voltage
# count: 1
scale: 0.10
#offset: 0
precision: 1
data_type: uint16
- name: "iHuntP2 Current"
unique_id: iHuntP2_Current-432100000068
#scan_interval: 10
unit_of_measurement: A
slave: 1
address: 9
input_type: holding
state_class: measurement
device_class: current
# count: 1
scale: 0.01
#offset: 0
precision: 2
data_type: uint16
# data_type: float16
- name: "iHuntP2 Active power"
scan_interval: 5
unit_of_measurement: kW
slave: 1
address: 13
input_type: holding
state_class: measurement
device_class: power
# count: 1
scale: 0.01
#offset: 0
precision: 2
data_type: uint16
- name: iHuntP3
unique_id: iHuntP3_V-432100000068
#scan_interval: 10
unit_of_measurement: V
slave: 1
address: 7
input_type: holding
state_class: measurement
device_class: voltage
# count: 1
scale: 0.10
#offset: 0
precision: 1
data_type: uint16
- name: "iHuntP3 Current"
unique_id: iHuntP3_Current-432100000068
#scan_interval: 10
unit_of_measurement: A
slave: 1
address: 10
input_type: holding
state_class: measurement
device_class: current
# count: 1
scale: 0.01
#offset: 0
precision: 2
data_type: uint16
# data_type: float16
- name: "iHuntP3 Active power"
scan_interval: 5
unit_of_measurement: kW
slave: 1
address: 14
input_type: holding
state_class: measurement
device_class: power
# count: 1
scale: 0.01
#offset: 0
precision: 2
data_type: uint16
- name: "iHunt Total Active Power"
unique_id: iHunt_Total_Active_Power-432100000068
scan_interval: 5
unit_of_measurement: kW
slave: 1
address: 11
input_type: holding
state_class: measurement
device_class: power
# count: 2
scale: 0.01
#offset: 0
precision: 2
data_type: uint16
- name: "iHunt Total Reactive Power"
unique_id: iHunt_Total_Reactive_Power-432100000068
scan_interval: 5
unit_of_measurement: kvarh
slave: 1
address: 15
input_type: holding
state_class: measurement
device_class: reactive_power
# count: 1
scale: 0.01
#offset: 0
precision: 2
data_type: uint16
- name: "iHuntP1 Reactive Power"
unique_id: iHunt_P1_Reactive_Power-432100000068
#scan_interval: 10
unit_of_measurement: kvarh
slave: 1
address: 16
input_type: holding
state_class: measurement
device_class: reactive_power
# count: 1
scale: 0.01
#offset: 0
precision: 2
data_type: uint16
- name: "iHuntP2 Reactive Power"
unique_id: iHunt_P2_Reactive_Power-432100000068
#scan_interval: 10
unit_of_measurement: kvarh
slave: 1
address: 17
input_type: holding
state_class: measurement
device_class: reactive_power
# count: 1
scale: 0.01
#offset: 0
precision: 2
data_type: uint16
- name: "iHuntP3 Reactive Power"
unique_id: iHunt_P3_Reactive_Power-432100000068
#scan_interval: 10
unit_of_measurement: kvarh
slave: 1
address: 18
input_type: holding
state_class: measurement
device_class: reactive_power
# count: 1
scale: 0.01
#offset: 0
precision: 2
data_type: uint16
- name: "iHunt Leakeage Current"
unique_id: iHunt_Leak_Current-432100000068
#scan_interval: 10
unit_of_measurement: mA
slave: 1
address: 35
input_type: holding
state_class: measurement
device_class: current
# count: 1
#scale: 1
#offset: 0
#precision: 3
data_type: uint16
- name: "iHunt Current Threshold"
unique_id: iHunt_Current_Threshold-432100000068
#scan_interval: 10
unit_of_measurement: A
slave: 1
address: 67
input_type: holding
state_class: measurement
device_class: current
# count: 1
scale: 0.01
#offset: 0
precision: 2
data_type: uint16
# data_type: float16
- name: "iHunt Current Threshold Duration"
unique_id: iHunt_Current_Threshold_Duration-432100000068
#scan_interval: 10
unit_of_measurement: s
slave: 1
address: 68
input_type: holding
state_class: measurement
device_class: duration
# count: 1
#scale: 0.01
#offset: 0
precision: 2
data_type: uint16
# data_type: float16
- name: "iHunt Leakage Current Threshold"
unique_id: iHunt_Leakage_Current_Threshold-432100000068
#scan_interval: 10
unit_of_measurement: A
slave: 1
address: 75
input_type: holding
state_class: measurement
device_class: current
# count: 1
scale: 0.01
#offset: 0
precision: 3
data_type: uint16
# data_type: float16
- name: "iHunt Leakage Current Threshold Duration"
unique_id: iHunt_Leakage_Current_Threshold_Duration-432100000068
#scan_interval: 10
unit_of_measurement: s
slave: 1
address: 76
input_type: holding
state_class: measurement
device_class: duration
# count: 1
#scale: 0.01
#offset: 0
precision: 2
data_type: uint16
# data_type: float16
- name: "iHunt Over-Voltage Threshold"
unique_id: iHunt_Over-Voltage_Threshold-432100000068
#scan_interval: 10
unit_of_measurement: V
slave: 1
address: 83
input_type: holding
state_class: measurement
device_class: voltage
# count: 1
scale: 0.10
#offset: 0
precision: 1
data_type: uint16
# data_type: float16
- name: "iHunt Over-Voltage Threshold Duration"
unique_id: iHunt_Over-Voltage_Threshold_Duration-432100000068
#scan_interval: 10
unit_of_measurement: s
slave: 1
address: 84
input_type: holding
state_class: measurement
device_class: duration
# count: 1
#scale: 0.01
#offset: 0
precision: 2
data_type: uint16
# data_type: float16
- name: "iHunt Under-Voltage Threshold"
unique_id: iHunt_Under-Voltage_Threshold-432100000068
#scan_interval: 10
unit_of_measurement: V
slave: 1
address: 91
input_type: holding
state_class: measurement
device_class: voltage
# count: 1
scale: 0.10
#offset: 0
precision: 1
data_type: uint16
# data_type: float16
- name: "iHunt Under-Voltage Threshold Duration"
unique_id: iHunt_Under-Voltage_Threshold_Duration-432100000068
#scan_interval: 10
unit_of_measurement: s
slave: 1
address: 92
input_type: holding
state_class: measurement
device_class: duration
# count: 1
#scale: 0.01
#offset: 0
precision: 2
data_type: uint16
# data_type: float16
- name: "iHunt Temperature Threshold"
unique_id: iHunt_Temperature_Threshold-432100000068
#scan_interval: 10
unit_of_measurement: °C
slave: 1
address: 95
input_type: holding
state_class: measurement
# device_class: voltage
# count: 1
# scale: 0.10
#offset: 0
precision: 1
data_type: uint16
# data_type: float16
- name: "iHunt Temperature Threshold Duration"
unique_id: iHunt_Temperature_Threshold_Duration-432100000068
#scan_interval: 10
unit_of_measurement: s
slave: 1
address: 96
input_type: holding
state_class: measurement
device_class: duration
# count: 1
#scale: 0.01
#offset: 0
precision: 2
data_type: uint16
# data_type: float16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment