My system is: KH8, 8kW, 20Ah Batts (all running well)
Problem:
I have a Fox KH8 connected by Waveshare RS485-USB working fine. How do I add another daisy-chained RS485 sensor to the system? When I add the sensor in the standard way through configuration.yaml, it knocks out the Fox ESS modbus (not unexpectedly). So, how can I define the additional external sensor so modbus picks it up?
Background:
Before installation, I created a home server and purchased a USB Waveshare RS485 in readiness for the new system. So that I could be sure I understood something about modbus in Home Assistant, I bought a cheap temperature sensor: https://www.amazon.co.uk/dp/B0DGTQT2F6
I used Modbus Poll to understand the values / addresses on the workbench and then felt confident to adapt the HA configuration.yaml file to:
Code: Select all
modbus:
- type: serial
method: rtu
port: /dev/ttyACM0
baudrate: 9600
bytesize: 8
parity: N
stopbits: 1
timeout: 2
sensors:
- name: hw_tank_temp
unique_id: hw_tank_temp
slave: 1
address: 0
input_type: holding
unit_of_measurement: °C
state_class: measurement
scan_interval: 5
scale: 0.1
offset: 0
precision: 1
data_type: int16
I am using the new sensor to measure my hot water tank...
I then removed the modbus code from configuration.yaml and installed the Fox HA Integration using the same serial usb Waveshare and everything went very smoothly.
Now, I would like to re-instate my temperature device to monitor HW tank temps so daisy-chained it to the modbus network using a termination resistor as is standard. The slave id for Fox = 247 and the temp sensor slave id = 1.
If I try to add back the temperature configuration.yaml modbus code, it knocks out the Fox modbus.
Does anyone know how to solve this issue? (I wonder how additional slave inverters are handled?).
I'm now thinking that as the Fox modbus connection is all internally generated with no .yaml file... somehow I need to reference the same modbus connection ID which probably doesn't exist at the point the yaml file is processed. But I am entirely guessing!
Any advice gratefullly received (probably "buy another waveshare-usb!")
Many thanks in advance....
Paul