I have connected my Solar Inverter to my Mini-PC running Windows 7-64 bti through USB cable acting as RS-232. On mini PC I am running HAOS in VM Ware. The usb device is connected to Guest OS which is HAOS. The device appears as /dev/ttyACM# in HAOS. The statistics says there is no issue with the sensor, but i receive not data.
My configuration.yaml is
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
# Text to speech
tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
modbus:
- name: hub1
message_wait_milliseconds: 250
close_comm_on_error: false
timeout: 10
delay: 1
retry_on_empty: true
retries: 10
type: serial
baudrate: 9600
bytesize: 8
method: rtu
parity: N
# port: /dev/serial/by-id/usb-04e2_1410-if00
# port: /dev/serial/by-path/pci-0000:02:00.0-usb-0:2.2:1.0
port: /dev/ttyACM1
stopbits: 1
sensors:
- name: load1
data_type: int16
scan_interval: 20
slave: 1
address: 213
count: 1
input_type: holding
unit_of_measurement: W
unique_id: "InverterLoad"
device_class: power
state_class: measurement