Thanks for the hint, Hias, I can confirm cec-ctl works and can be used at the same time with Kodi, in my case at least for TV status monitoring and power on (all other commands, unfortunately including standby and power-off, are ignored by my 10 years old TV).
Some examples, if someone else is interested:
Show topology:
LibreELEC:~ # cec-ctl -S
Driver Info:
Driver Name : vc4_hdmi
Adapter Name : vc4
Capabilities : 0x0000010e
Logical Addresses
Transmit
Passthrough
Connector Info
Driver version : 5.9.0
Available Logical Addresses: 1
DRM Connector Info : card 0, connector 32
Physical Address : 1.0.0.0
Logical Address Mask : 0x0002
CEC Version : 1.4
Vendor ID : 0x001582 (Pulse-Eight)
OSD Name : ''
Logical Addresses : 1 (Allow Fallback to Unregistered)
Logical Address : 1 (Recording Device 1)
Primary Device Type : Record
Logical Address Type : Record
System Information for device 0 (TV) from device 1 (Recording Device 1):
CEC Version : Tx, OK, Rx, Timeout
Physical Address : Tx, OK, Rx, Timeout
Vendor ID : 0x00e091 (LG)
OSD Name : Tx, OK, Rx, Timeout
Menu Language : kor
Power Status : On
Topology:
1.0.0.0: Recording Device 1
Power on:
LibreELEC:~ # cec-ctl --user-control-pressed ui-cmd=power-on-function --to 0
Driver Info:
Driver Name : vc4_hdmi
Adapter Name : vc4
Capabilities : 0x0000010e
Logical Addresses
Transmit
Passthrough
Connector Info
Driver version : 5.9.0
Available Logical Addresses: 1
DRM Connector Info : card 0, connector 32
Physical Address : 1.0.0.0
Logical Address Mask : 0x0002
CEC Version : 1.4
Vendor ID : 0x001582 (Pulse-Eight)
OSD Name : ''
Logical Addresses : 1 (Allow Fallback to Unregistered)
Logical Address : 1 (Recording Device 1)
Primary Device Type : Record
Logical Address Type : Record
Transmit from Recording Device 1 to TV (1 to 0):
USER_CONTROL_PRESSED (0x44):
ui-cmd: power-on-function (0x6d)
Sequence: 178 Tx Timestamp: 654.417s
Monitor CEC traffic:
LibreELEC:~ # cec-ctl -m
Driver Info:
Driver Name : vc4_hdmi
Adapter Name : vc4
Capabilities : 0x0000010e
Logical Addresses
Transmit
Passthrough
Connector Info
Driver version : 5.9.0
Available Logical Addresses: 1
DRM Connector Info : card 0, connector 32
Physical Address : 1.0.0.0
Logical Address Mask : 0x0002
CEC Version : 1.4
Vendor ID : 0x001582 (Pulse-Eight)
OSD Name : ''
Logical Addresses : 1 (Allow Fallback to Unregistered)
Logical Address : 1 (Recording Device 1)
Primary Device Type : Record
Logical Address Type : Record
Initial Event: State Change: PA: 1.0.0.0, LA mask: 0x0002, Conn Info: yes
Received from TV to all (0 to 15): DEVICE_VENDOR_ID (0x87):
vendor-id: 57489 (0x0000e091)
Transmitted by Recording Device 1 to all (1 to 15): DEVICE_VENDOR_ID (0x87):
vendor-id: 57489 (0x0000e091)
Received from TV to all (0 to 15): DEVICE_VENDOR_ID (0x87):
vendor-id: 57489 (0x0000e091)
Transmitted by Recording Device 1 to all (1 to 15): DEVICE_VENDOR_ID (0x87):
vendor-id: 57489 (0x0000e091)
Received from TV to all (0 to 15): DEVICE_VENDOR_ID (0x87):
vendor-id: 57489 (0x0000e091)
Transmitted by Recording Device 1 to all (1 to 15): DEVICE_VENDOR_ID (0x87):
vendor-id: 57489 (0x0000e091)
Received from TV to all (0 to 15): STANDBY (0x36)
Received from TV to all (0 to 15): STANDBY (0x36)
Received from TV to all (0 to 15): DEVICE_VENDOR_ID (0x87):
vendor-id: 57489 (0x0000e091)
Transmitted by Recording Device 1 to all (1 to 15): DEVICE_VENDOR_ID (0x87):
vendor-id: 57489 (0x0000e091)
Received from TV to Recording Device 1 (0 to 1): GIVE_DEVICE_VENDOR_ID (0x8c)
Transmitted by Recording Device 1 to all (1 to 15): DEVICE_VENDOR_ID (0x87):
vendor-id: 57489 (0x0000e091)
Received from TV to Recording Device 1 (0 to 1): VENDOR_COMMAND (0x89):
vendor-specific-data: 0x01
Transmitted by Recording Device 1 to TV (1 to 0): VENDOR_COMMAND (0x89):
vendor-specific-data: 0x02 0x05
Received from TV to Recording Device 1 (0 to 1): GIVE_DEVICE_POWER_STATUS (0x8f)
Transmitted by Recording Device 1 to TV (1 to 0): REPORT_POWER_STATUS (0x90):
pwr-state: to-on (0x02)
Received from TV to Recording Device 1 (0 to 1): GIVE_PHYSICAL_ADDR (0x83)
Transmitted by Recording Device 1 to all (1 to 15): REPORT_PHYSICAL_ADDR (0x84):
phys-addr: 1.0.0.0
prim-devtype: record (0x01)
Received from TV to all (0 to 15): DEVICE_VENDOR_ID (0x87):
vendor-id: 57489 (0x0000e091)
Transmitted by Recording Device 1 to all (1 to 15): DEVICE_VENDOR_ID (0x87):
vendor-id: 57489 (0x0000e091)