ok thanks @Portisch
this is what I do to get the key code, same power off button:
root@192.168.1.105’s password:
##############################################
CoreELEC
https://coreelec.org
##############################################
CoreELEC (official): nightly_20190814 (Amlogic-ng.arm)
CoreELEC:~ # systemctl stop kodi
CoreELEC:~ # systemctl stop eventlircd
CoreELEC:~ # ir-keytable -u
Protocols changed to irmp
Waiting for IRMP decode event. Please, press CTRL-C to abort.
Received IRMP code: remotewakeup=‘0xbf40fe01’, decode_type=‘0x0’, remotewakeupmask=‘0xffffffff’
^C
CoreELEC:~ # mount -o rw,remount /flash
CoreELEC:~ # nano /flash/config.ini
here the full config.ini
thanks a lot for your efforts and to be patient,
Regards,
David