EDIT: SOLVED !!
In a few days I’ll post complete ESPHome config with additional explanation on the registers etc.
I really could do with some help on this subject, as I’ve searched in vain for examples on how to create some custom uart sensors for my Delta inverter.
I’ve a Solivia gateway on the modbus already, which is quite chatty (a data package every second or so).
So I’m not able to use a modbus custom_command sensor, as my requests and the replies will drown in the gateway packages (tested that already). I’ve also an issue actually identifying the correct register commands, as all but one tested so far differs from the Solivia protocol data that can be found on the web.
I’ve looked into the gateway package response from the inverter which differs a lot from all the examples I’ve found on the net. So I had to analyse the package and have now identified the specific bytes (registers) I would like to pull out as sensors.
My package is for 0xff bytes (normally a lot fewer bytes are send). Both the request and reply is in the uart buffer, as I’m only sniffing the uart data:
02:14:3E:3E = total yield = 34881086 = 34881,086kWh
08:F7 = daily yield = 2295W
(Haven’t located current AC power - yet )
So the question is how do I make a sensor out of eg. the 32float register at position 0x86 (first position as 0x00) in the actual package data ?
ANY help getting me started on this would be much appreciated.
My programming skills are somewhat limited, so I’m quite clueless on how to proceed.
Thank you in advance