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.

HomeLYnk BACnetIP Client
#1
Hello.

Is there possibility to make HomeLYnk a BACnetIP Clinet? I have ventilation central which I have to integrate with KNX via BACnet IP protocol and its a BACnetIP server.
Reply
#2
There's no package manager on Homelynk, so please contact support for further help.

For any LogicMachine device: here's a BACnet client package that you can install through System Config -> System -> Packages:
https://dl.openrb.com/lm-15.09/pkg/genoh...27_mxs.ipk

It will add BACnet tab to the web interface which will allow scanning network for BACnet devices and reading object values from them.

Info on using bacnet library from scripts:

Before using any bacnet function, you must include the library:
Code:
require('bacnet')

Read current value of binary or analog object:
Code:
bacnet.readvalue(device_id, object_type, object_id)

Read binary object number 2305 from device 127001:
Code:
value = bacnet.readvalue(127001, 'binary value', 2305)

Read analog object number 2306 from device 127001:
Code:
value = bacnet.readvalue(127001, 'analog value', 2306)

Write new value to binary or analog object priority array:
Code:
bacnet.write = function(device_id, object_type, object_id, value, priority)
 Value can be nil, boolean, number or a numeric string
 Priority parameter is optional, lowest priority is used by default

Set binary object number 2305 on device 127001 value to true:
Code:
bacnet.write(127001, 'binary value', 2305, true)

Set analog object number 2306 on device 127001 value to 22.5:
Code:
bacnet.write(127001, 'analog value', 2306, 22.5)

Set binary object number 2305 on device 127001 value to true at priority 12:
Code:
bacnet.write(127001, 'binary value', 2305, true, 12)

Set analog object number 2306 on device 127001 value to 22.5 at priority 10:
Code:
bacnet.write(127001, 'analog value', 2306, 22.5, 10)

Clear binary object number 2305 on device 127001 value at priority 12:
Code:
bacnet.write(127001, 'binary value', 2305, nil, 12)
Reply
#3
I installed the package in my LM4, but i don't see BACnet tab.

In the packages i see:
genohm-scada-bacnet 20150727
Reply
#4
Which firmware are you running? This is for 2015.09.17
Reply
#5
(18.12.2015, 08:57)admin Wrote: Which firmware are you running? This is for 2015.09.17

Version: 20151125 (beta i think)
Reply
#6
Try this one then, should work with beta firwmare:
https://dl.openrb.com/pkg/genohm-scada-b...15_mxs.ipk
Reply
#7
(18.12.2015, 09:24)admin Wrote: Try this one then, should work with beta firwmare:
https://dl.openrb.com/pkg/genohm-scada-b...15_mxs.ipk

solved
Reply
#8
(18.12.2015, 10:02)gjniewenhuijse Wrote:
(18.12.2015, 09:24)admin Wrote: Try this one then, should work with beta firwmare:
https://dl.openrb.com/pkg/genohm-scada-b...15_mxs.ipk

solved

How does the client get the COV notification from Bacnet server?
Reply
#9
COV client is currently not supported
Reply
#10
(25.02.2016, 07:01)admin Wrote: COV client is currently not supported

so can it support reading multi - properties  one time?
Reply
#11
Not right now. It has only basic support for BACnet functions. In most cases LogicMachine acts as a BACnet device and is controlled by BMS, not other way round.
Reply


Forum Jump: