Get I/O Pin Value/Status On the MQTT Response

I want to do same thing like the guy is doing there.

I have done the same configurations as well but only the data is showing as 0.

Can you please check this out. If not digital then which I/O are they talking about? They have mentioned it as well (digital input pin).

Just for the info: I also have the same router.