9 hours ago
(11 hours ago)admin Wrote: You are missing quotes around group addresses. It should look like this:Thank you Very much
Code:grp.write('0/3/6', value)
Other issues:
- Use os.sleep(1) for all delays
- In OFF branch you need to put group addresses in reverse order (from '0/3/10' to '0/3/6')
- Last address in ON branch is incorrect (should be '0/3/10' instead of '0/3/6')