diff --git a/tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_tcpclientasync.ino b/tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_tcpclientasync.ino index eafd5e8df..3e2812c29 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_tcpclientasync.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_tcpclientasync.ino @@ -506,6 +506,8 @@ extern "C" { be_map_insert_int(vm, "local_port", tcp->local_port); be_map_insert_str(vm, "local_addr", tcp->local_addr.toString().c_str()); } + be_map_insert_int(vm, "remote_port", tcp->remotePort()); + be_map_insert_str(vm, "remote_addr", tcp->remoteIP().toString().c_str()); } be_pop(vm, 1); be_return(vm);