I am trying to read power, amps, voltage and frequency data from a pac2200 using home assistant. The values returned do not match the values I see via a web browser connected to the pac2200. I saw a few earlier posts using ‘count: 2’ , but the current HA gives an error message when used with float32 data type.
Using the following setup: Any suggestions on what might be wrong here?
- name: "PAC2200"
delay: 2
type: tcp
host: 192.xx.xx.xx
port: 502
sensors:
- name: “Grid active power”
slave: 1
address: 19
input_type: holding
offset: 1
data_type: float32
unit_of_measurement: "W"
device_class: "power"
state_class: "measurement"
scan_interval: 10
- name: “Grid Voltage”
slave: 1
address: 1
input_type: holding
offset: 1
data_type: float32
unit_of_measurement: "V"
device_class: "voltage"
state_class: "measurement"
scan_interval: 10
- name: “Grid Current”
slave: 1
address: 13
input_type: holding
offset: 1
data_type: float32
unit_of_measurement: "A"
device_class: "current"
state_class: "measurement"
scan_interval: 10
- name: “Grid Frequency”
slave: 1
address: 55
input_type: holding
offset: 1
data_type: float32
unit_of_measurement: "Hz"
device_class: "frequency"
state_class: "measurement"
scan_interval: 10