Communication between Home Assistant and plc s7

I have a shelly socket 6EE70A , I would like to read its consumption value and report it in a variable on NodeRed.
How can I do?