You could perhaps use SNMP?
Someone made a simple module for free that you might be able to use:
You could also use:
Kymera Systems Inc | IIoT Solutions - Kymera SNMP Driver , but that one is not free.
You might have to do a bit of research to find the right OID etc. This post could be a good start:
Another technique could be to run a batch file with system.util.execute(). This post might be a good start: