25.07.2018, 12:47
Hi
I have a LM5 device. I want to keep an object value after a restart or a power failure. It is a Heating Cooling Changeover value and my KNX device always starts with heating. I want to keep the HC Changeover value before a power failure then i will send it back with the Start-up (init) Script.
I have tried these codes:
value =storage.get('HC ExChageover')
os.sleep(3)
grp.update('LM5 Changeover', value)
NOTE: I set the value of 'HC ExChangeover' in another script by using below string;
storage.set('HC ExChangeover', value)
I have tired this string too,
value = grp.read('HC ExChangeover')
os.sleep(3)
grp.write('LM5 Changeover', value)
All my object names are ('HC ExChangeover' and 'LM5 Changeover') not KNX Objects.
I have a LM5 device. I want to keep an object value after a restart or a power failure. It is a Heating Cooling Changeover value and my KNX device always starts with heating. I want to keep the HC Changeover value before a power failure then i will send it back with the Start-up (init) Script.
I have tried these codes:
value =storage.get('HC ExChageover')
os.sleep(3)
grp.update('LM5 Changeover', value)
NOTE: I set the value of 'HC ExChangeover' in another script by using below string;
storage.set('HC ExChangeover', value)
I have tired this string too,
value = grp.read('HC ExChangeover')
os.sleep(3)
grp.write('LM5 Changeover', value)
All my object names are ('HC ExChangeover' and 'LM5 Changeover') not KNX Objects.