This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

scripitng
#3
(11 hours ago)admin Wrote: You are missing quotes around group addresses. It should look like this:
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')
Thank you Very much
Reply


Messages In This Thread
scripitng - by VoltTech - 11 hours ago
RE: scripitng - by admin - 11 hours ago
RE: scripitng - by VoltTech - 9 hours ago
RE: scripitng - by Danny - 8 hours ago
RE: scripitng - by admin - 8 hours ago

Forum Jump: