Works ok on it’s own, I mean it also works ok when both are connected.
The issue is that the inverter’s wifi logger is acting up when both are connected
What do you have connected to the USB side of the RS-485 adapter?
Connected to my windows 10 laptop and also to the raspberry pi4 that runs Home Assistant, same happens on either.
Have you tried running it with the USB side not connected to anything?
It sounds like something from the USB side is getting fed to the RS-485 side.
You mean the USB rs485 connected to the wifi logger but not connected to anything on the other end (i.e. unplugged from the pi)? Well then nothing happens since only the official logger is active?
Yes. i.e. the RS-485 side of the interface is connected, but nothing is attached to the USB
connector.
What is producing the graphs?
When I have both RS485 adapter and wifi logger connected and both are receiving data - the bogus data happens.
When I have both connected but I am not reading any data from the RS485 adapter the bogus data does not get logged from the wifi logger.
OK. Got it.
What controls the queries that are going to the wi-fi logger. i.e. where are they coming from?
That controls itself once configured, I plug it into the inverter, set up the wifi on the logger to connect to my home network and then it automatically sends data to the cloud every 1 minute.
I can’t see what it is doing.
No way to control it? No web interface via the inverter, etc?
Nothing on the advanced page?
You were posting your pic while I was typing.
AP and STA usually refer to wi-fi Access Point and STAtion modes of operation.
WRT Transparency, I have no idea what they’re referring to.
How often are you polling the RS-485/USB interface?
I had 3 sensors, one every 15 secs and two every 60 secs.
Are those devices all connected to the same USBus?
They are virtual sensors in Home Assistant which get created like so:
modbus:
- name: hub1
type: serial
baudrate: 9600
bytesize: 8
method: rtu
parity: N
port: /dev/ttyUSB0
stopbits: 1
sensors:
- name: InverterTemp
slave: 1
address: 33093
unit_of_measurement: °C
input_type: input
count: 1
precision: 1
scale: 0.1
scan_interval: 60
- name: GenerationToday
slave: 1
address: 33035
unit_of_measurement: kW
input_type: input
count: 1
precision: 1
scale: 0.1
scan_interval: 60
- name: HouseLoad
slave: 1
address: 33147
unit_of_measurement: W
input_type: input
count: 1
scan_interval: 15
So HA sends read register commands to the inverter via the usb rs485 adapter
Almost sounds like HA is “stepping on” the datalogger.
Yes that is what I think since on their own they both operate correctly. Question is why?
No idea how @craigcurtin managed to get it working, he is doing the exact same thing as I am with the same type of inverter and wifi logger.
Maybe the usb rs485 adapter matters also, who knows.