Thank you koles for the pointer. I found the debug section where I can configure to use a service and set a register. However I’m running into a problem. I want it to send hex “0x2 0x30” but it’s instead sending hex “0x2 0x0 0x30”. I have the call setup like this:
Here are a few lines of the debug:
‘’’
2021-08-03 05:33:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=modbus, service=write_register, service_data=address=31004, hub=MUST4KInverter, unit=10, value=[2, 48]>
2021-08-03 05:33:17 DEBUG (SyncWorker_4) [pymodbus.transaction] Current transaction state - TRANSACTION_COMPLETE
2021-08-03 05:33:17 DEBUG (SyncWorker_4) [pymodbus.transaction] Running transaction 164
2021-08-03 05:33:17 DEBUG (SyncWorker_4) [pymodbus.transaction] SEND: 0xa 0x10 0x79 0x1c 0x0 0x2 0x4 0x0 0x2 0x0 0x30 0x79 0x9
‘’’
I see in the documentation that it’s supposed to be 16 bit values, wouldn’t that be two hex digits? I realize I’m probably missing something obvious but not sure why I’m getting that 0x0 between my two sent values.
Thanks!
