Single Tapo P100 not working, another works fine, both work with app

I sorted my issue by doing:

sudo setcap cap_net_raw=+ep $(readlink -f $(which java))

This let java issue ICMP packets without being root.