HomeLYnk BACnetIP Client - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10) +--- Thread: HomeLYnk BACnetIP Client (/showthread.php?tid=164) |
HomeLYnk BACnetIP Client - Pawel - 16.12.2015 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. RE: HomeLYnk BACnetIP Client - admin - 18.12.2015 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/genohm-scada-bacnet_20150727_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) 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) RE: HomeLYnk BACnetIP Client - gjniewenhuijse - 18.12.2015 I installed the package in my LM4, but i don't see BACnet tab. In the packages i see: genohm-scada-bacnet 20150727 RE: HomeLYnk BACnetIP Client - admin - 18.12.2015 Which firmware are you running? This is for 2015.09.17 RE: HomeLYnk BACnetIP Client - gjniewenhuijse - 18.12.2015 (18.12.2015, 08:57)admin Wrote: Which firmware are you running? This is for 2015.09.17 Version: 20151125 (beta i think) RE: HomeLYnk BACnetIP Client - admin - 18.12.2015 Try this one then, should work with beta firwmare: https://dl.openrb.com/pkg/genohm-scada-bacnet_20150915_mxs.ipk RE: HomeLYnk BACnetIP Client - gjniewenhuijse - 18.12.2015 (18.12.2015, 09:24)admin Wrote: Try this one then, should work with beta firwmare: solved RE: HomeLYnk BACnetIP Client - Bapits - 24.02.2016 (18.12.2015, 10:02)gjniewenhuijse Wrote:(18.12.2015, 09:24)admin Wrote: Try this one then, should work with beta firwmare: How does the client get the COV notification from Bacnet server? RE: HomeLYnk BACnetIP Client - admin - 25.02.2016 COV client is currently not supported RE: HomeLYnk BACnetIP Client - Bapits - 25.02.2016 (25.02.2016, 07:01)admin Wrote: COV client is currently not supported so can it support reading multi - properties one time? RE: HomeLYnk BACnetIP Client - admin - 25.02.2016 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. |