if it is failing are there any error messages when you install it, or any error messages when you run node-red.
alternatively you can install the node using the "manage palette" option from the node-red menu.
if you need further help please include the version of node-red , nodejs and npm you are using and details of which platform you are running node-red on.
NOTE: Currently the module is not published, so you would need to use the following command:
$ npm install goliatone/node-red-contrib-bacnet
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/0d108f63-ebf2-4cbc-a63a-35e8a111ef6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Shows as connected to the bacnet server but not able to poll any bacnet points. Running latest node red on RPI 3.
I also cannot install node-red-contrib-bacnet follow above procedure.
<Auto Generated Inline Image 1><Auto Generated Inline Image 2>
在 2017年9月25日星期一 UTC+8上午2:38:28,TridiumControls写道:
Any success? I also get the error, reference undefined when I do a bacnet discovery.Shows as connected to the bacnet server but not able to poll any bacnet points. Running latest node red on RPI 3.
--
You received this message because you are subscribed to a topic in the Google Groups "Node-RED" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-red/fNce4rT613M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/a3be365a-7030-41bd-b33f-5a47a842e154%40googlegroups.com.
<Auto Generated Inline Image 1>
<Auto Generated Inline Image 2>
it's getting it to work. Keeps showing reference undefined when I try to bacnet discover or do a simple bacnet read and poll the bacnet server. A little help from the dev would be awesome.
Hi,
I have update the "node-red-contrib-bacnet" and support read, write and whoIs function. But it still have the folllowing small issue and welcome anyone test it and help me solve it.
Issue
1. cannot release socket UPD 47808 when deploy a flow
2. cannot well control each BacnetReadProperty return and match each read request
Guide
3. start node-red
4. inport flow JS as folllows
[{"id":"fd06999d.574d8","type":"ui_button","z":"42b0e75.d4c3e58","name":"whoIs","group":"af9caf0c.3ef48","order":1,"width":0,"height":0,"passthru":true,"label":"whoIs","color":"","bgcolor":"","icon":"fa-star","payload":"{\"address\":\"\",\"lowLimit\":\"1\",\"highLimit\":\"999999\"}","payloadType":"json","topic":"whoIs","x":130,"y":1020,"wires":[["3f2af494.3c3094"]]},{"id":"9e7c32d3.2e12a","type":"inject","z":"42b0e75.d4c3e58","name":"","topic":"","payload":"{\"address\":\"\",\"lowLimit\":\"1\",\"highLimit\":\"999999\"}","payloadType":"json","repeat":"","crontab":"","once":false,"x":130,"y":1060,"wires":[["3f2af494.3c3094"]]},{"id":"d64d6148.9e077","type":"inject","z":"42b0e75.d4c3e58","name":"","topic":"","payload":"[{\"address\":\"192.168.1.3\",\"objectType\":\"3\",\"objectInstance\":\"0\",\"propertyId\":\"85\"},{\"address\":\"192.168.1.3\",\"objectType\":\"3\",\"objectInstance\":\"1\",\"propertyId\":\"85\"}]","payloadType":"json","repeat":"","crontab":"","once":false,"x":130,"y":1100,"wires":[["4289beff.805084"]]},{"id":"4289beff.805084","type":"bacnet-read","z":"42b0e75.d4c3e58","name":"","address":"192.168.1.105","objectType":"2","objectInstance":"1202","propertyId":"85","arrayIndex":"","server":"b7f40a.4da3f7f8","x":310,"y":1120,"wires":[["8dfa3a6e.c37f5","c910b1b8.fbb52"]]},{"id":"3f2af494.3c3094","type":"bacnet-discovery","z":"42b0e75.d4c3e58","name":"","address":"","lowLimit":"1","highLimit":"1000","server":"b7f40a.4da3f7f8","x":440,"y":1040,"wires":[["ecc85426.59bac8"]]},{"id":"c5cc8971.de3778","type":"ui_text","z":"42b0e75.d4c3e58","group":"af9caf0c.3ef48","order":2,"width":0,"height":0,"name":"","label":"DI_01","format":"{{msg.payload}}","layout":"row-spread","x":550,"y":1100,"wires":[]},{"id":"8dfa3a6e.c37f5","type":"function","z":"42b0e75.d4c3e58","name":"","func":"var m = [];\nvar i=0;\n//var msg1 = {payload: {value: null}};\n\nfor (var i=0;i<2;i++)\n{\nif (msg.payload.address == '192.168.1.3' && \n msg.payload.objectType == 3 &&\n msg.payload.objectInstance === 0){\n //msg1.payload.value = msg.payload.value;\n m[i++] = {payload:msg.payload.value};\n //i+=1; \n} else if (msg.payload.address == '192.168.8.3' && \n msg.payload.objectType == 3 &&\n msg.payload.objectInstance == 1) {\n //msg1.payload.value = msg.payload.value;\n m[i++] = {payload:msg.payload.value};\n //i+=1; \n}\n}\n\nreturn m;\n\n\n//var m = [];\n\n//for (var i=0;i<2;i++)\n//{\n// m[i] = {payload:msg.payload[i]};\n//}\n//return m;","outputs":"2","noerr":0,"x":450,"y":1180,"wires":[["c910b1b8.fbb52","c5cc8971.de3778"],["c910b1b8.fbb52","c7cf3c2a.5afe08"]]},{"id":"c910b1b8.fbb52","type":"debug","z":"42b0e75.d4c3e58","name":"","active":true,"console":"false","complete":"false","x":430,"y":1280,"wires":[]},{"id":"c7cf3c2a.5afe08","type":"ui_text","z":"42b0e75.d4c3e58","group":"af9caf0c.3ef48","order":2,"width":0,"height":0,"name":"","label":"DI_02","format":"{{msg.payload}}","layout":"row-spread","x":610,"y":1160,"wires":[]},{"id":"ecc85426.59bac8","type":"debug","z":"42b0e75.d4c3e58","name":"","active":true,"console":"false","complete":"payload","x":850,"y":1180,"wires":[]},{"id":"a60623ad.e25bf","type":"inject","z":"42b0e75.d4c3e58","name":"","topic":"","payload":"{\"address\":\"192.168.1.3\",\"objectType\":\"5\",\"objectInstance\":\"0\",\"propertyId\":\"85\",\"priority\":\"16\",\"applicationTag\":\"9\",\"value\":\"1\"}","payloadType":"json","repeat":"","crontab":"","once":false,"x":210,"y":1600,"wires":[["aede93e0.e12f9"]]},{"id":"c73dbd8f.94398","type":"ui_switch","z":"42b0e75.d4c3e58","name":"","label":"DO_01","group":"af9caf0c.3ef48","order":3,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"DO_01","style":"","onvalue":"{\"address\":\"192.168.1.3\",\"objectType\":\"5\",\"objectInstance\":\"0\",\"propertyId\":\"85\",\"priority\":\"16\",\"applicationTag\":\"9\",\"value\":\"1\"}","onvalueType":"json","onicon":"","oncolor":"","offvalue":"{\"address\":\"192.168.1.3\",\"objectType\":\"5\",\"objectInstance\":\"0\",\"propertyId\":\"85\",\"priority\":\"16\",\"applicationTag\":\"9\",\"value\":\"0\"}","offvalueType":"json","officon":"","offcolor":"","x":380,"y":1660,"wires":[["aede93e0.e12f9","d5e6667c.7bf8"]]},{"id":"aede93e0.e12f9","type":"bacnet-write","z":"42b0e75.d4c3e58","name":"","address":"192.168.1.105","objectType":"2","objectInstance":"1202","propertyId":"85","priority":"16","applicationTag":"9","value":"1","server":"b7f40a.4da3f7f8","x":620,"y":1620.8000030517578,"wires":[["ecc85426.59bac8"]]},{"id":"d5e6667c.7bf8","type":"ui_toast","z":"42b0e75.d4c3e58","position":"top right","displayTime":"3","highlight":"","outputs":0,"ok":"OK","cancel":"","topic":"","name":"","x":630,"y":1700,"wires":[]},{"id":"af9caf0c.3ef48","type":"ui_group","z":"","name":"Input/Output","tab":"f40c68d5.92478","order":1,"disp":true,"width":"6"},{"id":"b7f40a.4da3f7f8","type":"bacnet-server","z":"","interface":"192.168.1.120","port":"47808","broadcastAddress":"255.255.255.255","adpuTimeout":"5000"},{"id":"f40c68d5.92478","type":"ui_tab","z":"","name":"WAGO BACnet","icon":"dashboard","order":4}]
5. update inject node with JSON format depend on your BACnet IP device.
BR,
Chris