Remote Communication
Attached is the updated sysmetric library example to work remotely with the Artic ( no T-case yet)
Make sure :
Python ver to be 3.9.13
pymodbus ver 3.1.2
U need to have both files Sysmtric_test.py and sysmetric.py in the same directory
Please test it 1st at your lab see that it is working
the yellow marked parameter are parameters that u need to set locally to your samson_test script
sysmetric_test.py
*****************************************************************************
import sysmetric
#adaptor = sysmetric.ThermalAdapter(sysmetric.DeviceType.Samson, ‘192.168.1.136’)
adaptor = sysmetric.ThermalAdapter(sysmetric.DeviceType.Artic, ‘192.168.1.136’)
state = adaptor.get_control_state()
print(‘Current system state: {}’.format(adaptor.get_control_state_description(state)))
adaptor.turn_on()
errors = adaptor.get_errors()
print(‘Error list: {}’.format(errors))
temp = adaptor.get_actual_temperature()
print(‘Actual temperature: {}’.format(temp))
adaptor.set_temperature(19)
temp = adaptor.get_requested_temperature()
print(‘Requested temperature: {}’.format(temp))
#daptor.turn_off()
#adaptor.close()
For any question please contact:
Dov Lotan
Thermal Application Eng’
Cell: +972-54-7885241
Email :do******@sy***********.com