Hi,
I have just implemented using nextract_plus from Nigel Griffiths.
The nextractplus Performance part works very well.
But I can't get the energy part to run
/opt/freeware/bin/python3 nextract_energy_on.py hmc_build_dcs_config.json
Starting nextract_energy_on.py version 41
-->Server 0 PE5-900-DCS-BUILD capable of collecting Energy stats and enabled
-> Finished
/opt/freeware/bin/python3 nextract_energy.py hmc_build_dcs_config.json
nextract_energy.py opening config file:hmc_build_dcs_config.json
-> Logging on to IYT10245 as user hscroot
-->Server 1 PE5-900-DCS-BUILD collecting Energy stats
-->Summary:
{'server': 'PE5-900-DCS-BUILD', 'mtm': '9040-MR9', 'serial': '78FA6AX', 'freq': 30, 'starttime': '2024-07-03T11:51:00+0200'}
Energy for Influx (PE5-900-DCS-BUILD)
Traceback (most recent call last):
File "/export/lpp_source/sources/nextract_plus/scripts/nextractplus_v43/nextract_energy.py", line 197, in <module>
data = data + ' "temp": %s,'%(sam['inlet'])
KeyError: 'inlet'
Do you know how to operate this module?
Thanks
------------------------------
Nicolas Aubert
------------------------------