Decoder paylaod to thingspeak

i am new on lorawan, but i created on gateway, and it is well conncet to TNN :grinning:
i add a new device and i had sucess, this is good

unfortunately i can not decoder the payload to thingspeak

this is my payload: 07E416C6
that is temperature em humidity and i am use the follow code

function decodeUplink(input) {
temp = bytes[0] << 8 | bytes [1];
hum = bytes[2] << 8 | bytes [3];

return {
data: {
field1: input.temp/100,
field2: input.hum/100
},
warnings: ,
errors:
};
}

anybody can tell me what is wrong here
the TNN it is conncet well with thingspeak

CDV