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.

scripting
#1
i am  having problem with bind up/ down  code to write in lua using bacnet can someone pls help me
unit id is not helping me
Reply
#2
Sorry but it is not clear what you actually need. Explain your architecture and what are you trying to do?
------------------------------
Ctrl+F5
Reply
#3
i am having problem with Curtain open/close code to write in lua using bacnet.I need proper script for curtain open /close
Reply
#4
Still not clear what you need but have a look here:
https://openrb.com/shutter-controller-based-on-lm5/
------------------------------
Ctrl+F5
Reply
#5
i want to control my blind in lm5 using bacnet the code is not working properly which i wrote and my blind is casa rollo which is in casambai

Attached Files Thumbnail(s)
   
Reply
#6
Your code has a typo in line 1 - it should be require('bacnet'). But this line is not needed at all as the script does not use any bacnet library functions.
Next time check Error log when script is not working.
Reply
#7
okkk thanks i have removed it but it is still not working
Reply
#8
Are you trying to write to bacnet device?
------------------------------
Ctrl+F5
Reply
#9
I'm controlling casambi curtain from logic machine through bacnet so I need Script where I can put BDT scanned Object ID.Then only I can control casambi Curtain Open/Close
Reply
#10
(13.10.2023, 13:28)Daniel Wrote: Are you trying to write to bacnet device 
the gateway device is lithernet casambi gateway

(13.10.2023, 13:35)Ranjeet Wrote: I'm controlling casambi curtain from logic machine through bacnet so I need Script where I can put BDT scanned Object ID.Then only I can control casambi Curtain Open/Close

yes this is also i am facing the same problem
Reply
#11
Is it server or client?
------------------------------
Ctrl+F5
Reply
#12
(13.10.2023, 13:46)Daniel Wrote: Is it server or client?

its a device
Reply
#13
https://openrb.com/logicmachine-as-bacnet-client/
------------------------------
Ctrl+F5
Reply
#14
(13.10.2023, 13:58)Daniel Wrote: https://openrb.com/logicmachine-as-bacnet-client/

can you give me proper example
Reply
#15
See this thread: https://forum.logicmachine.net/showthread.php?tid=4971
Reply
#16
(13.10.2023, 15:26)admin Wrote: See this thread: https://forum.logicmachine.net/showthread.php?tid=4971

i am working with event based script like this but shutter code is not working
Reply
#17
1. Did you install bacnet client package?
2. Did you discover your device under bacnet tab?
3. If yes what is the bacnet ID, object ID and object type?
------------------------------
Ctrl+F5
Reply
#18
(16.10.2023, 11:06)Daniel Wrote: 1. Did you install bacnet client package?
2. Did you discover your device under bacnet tab?
3. If yes what is the bacnet ID, object ID and object type?

yes 
its 215
i am running the script but its not working

Attached Files Thumbnail(s)
   
Reply
#19
Show me the screenshot from LM bacnet tab.
------------------------------
Ctrl+F5
Reply
#20
(16.10.2023, 12:24)Daniel Wrote: Show me the screenshot from LM bacnet tab.

Attached Files Thumbnail(s)
   
Reply


Forum Jump: