-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
I've been working with the library and so far everything seems great, but one problem I've found is that variable values don't update.
I have my code set like this:
while True:
isy_VARIABLE_NAME = isy.get_var("VARIABLE_NAME")
value = isy_VARIABLE_NAME.get_var_value()
logger.debug("The current value of WD_EventGhost: {}".format(value))
time.sleep(60)
The first time the look runs it's perfect, it grabs the value of the variable named "VARIABLE_NAME", but then after I update the value on the ISY, it never updates what python sees. Also as if it's only reaching out the ISY once.
However, if I use:
counter = 0
while True:
isy_VARIABLE_NAME.value = counter
counter = counter + 1
time.sleep(60)
it updates the variable without problems
Any ideas?
Metadata
Metadata
Assignees
Labels
No labels