28.09.2023, 18:47
(21.09.2023, 10:22)admin Wrote: As mentioned before if you want to use read/write in parallel then use direct connection mode. Check if there's another value on your device with a priority lower than 13. Check the result/error when writing (adjust device IP as needed):
Code:require('bacnet')
bacnet.deviceip = '192.168.0.21'
value = event.getvalue()
res, err = bacnet.write(2, 'analog value', 2070, value, 13)
log(res, err)
That was the solution, thanks