11 hours ago
You are missing quotes around group addresses. It should look like this:
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')
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')