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.

VRV STATUS VIA BACNET
#3
(13.12.2023, 08:15)Daniel Wrote: You are using bacnet client script so you cannot be bacnet server.
Use direct communication script if you use multiple event scripts.
Code:
require('bacnet')

-- read from 192.168.0.21, device id 21
bacnet.deviceip = '192.168.0.21'
val1 = bacnet.readvalue(21, 'binary value', 2049)
val2 = bacnet.readvalue(21, 'binary value', 2050)
val3 = bacnet.readvalue(21, 'binary value', 2051)
log(val1, val2, val3)
For reading use single resident script.
Use Yabe to check parameters of object you want to read.

Thank You. How can I write the log values to the group address only if there is a change in value?
Reply


Messages In This Thread
VRV STATUS VIA BACNET - by imprashant - 13.12.2023, 02:35
RE: VRV STATUS VIA BACNET - by Daniel - 13.12.2023, 08:15
RE: VRV STATUS VIA BACNET - by imprashant - 14.12.2023, 06:47
RE: VRV STATUS VIA BACNET - by admin - 14.12.2023, 07:48

Forum Jump: