22.03.2023, 09:48
Run this once, clear browser cache and see if gauge starts working correctly. LM must have internet connection for this work.
In case something goes wrong you can revert the gauge file this way:
Code:
os.execute('mv -n /www/scada/vis/gauge.js.gz /www/scada/vis/gauge-old.js.gz')
os.execute('rm -f /www/scada/vis/gauge.js.gz')
os.execute('wget -O /www/scada/vis/gauge.js.gz http://dl.openrb.com/misc/gauge.js.gz')
In case something goes wrong you can revert the gauge file this way:
Code:
os.execute('cp -f /www/scada/vis/gauge-old.js.gz /www/scada/vis/gauge.js.gz')