Not 100% sure on this sensor but on a CT sensor I use multiples using UART you have to change the address of one of the modules and specify the address of each one here:
My setup is different
I did connect the UART directly to the ESP32
If I use UART 1 I get the data from #1 BMS
If I setup YAML to use the other UART I get the data from the 2nd BMS.
But how to conf YAML and daly_bms to use both UARTs?
You need to change the address on the daly_bms and then use different addresses in the yaml. You specify the address in each daly_bms sensor config.
Not sure how you change the address but looking at the issue I posted above you need to run some software to change it.
Also have a search in the Esphome discord, there’s some posts about it
Thanks for the anwer but adresses has nothing to do in my setup
I am using 2 serial connections from the BSM’s to the ESP32
The ESP32 has two serial ports (UART0 and UART2)
It is not a NOT a RS485 bus - just two simple serial connection.
OK gotcha, I found I have an esphome node that has 2 different devices using UART at the same time. I found a solution on here using modbus. No idea why or how it works but it does.
Only issue though is that there is no way to specify which one to use in the sensor: or binary_sensor: configs