27.10.2023, 06:33
here is the sample of code to show same status in casambi app and knx touchpad. i am having trouble in this code when i run it.
scripting
|
27.10.2023, 06:33
here is the sample of code to show same status in casambi app and knx touchpad. i am having trouble in this code when i run it.
27.10.2023, 06:50
Please read this thread, especially point nr. 4:
https://forum.logicmachine.net/showthread.php?tid=2531
27.10.2023, 07:01
(27.10.2023, 06:50)admin Wrote: Please read this thread, especially point nr. 4: but there is no error
27.10.2023, 07:05
It's will be in Logs not Error log.
31.10.2023, 17:40
(27.10.2023, 07:13)abby Wrote:(27.10.2023, 07:05)admin Wrote: It's will be in Logs not Error log. After "value206 = ..." and before the first "IF" function, add this: Code: log('value206: '..value206) These will log the value of the variable value206 under the Current Logs tab. You can troubleshoot starting with this. If you have got nil values or some other errors i think you will see it here.
31.10.2023, 18:32
(This post was last modified: 31.10.2023, 18:34 by Erwin van der Zwart.)
You are also reading an analog value and then you have a if x == true …
An analog value will not return a binary result but float/real so your if statement is incorrect.. Also a os.sleep(0) does not make sense as it does nothing.. |
« Next Oldest | Next Newest »
|