New node not showing up in Node-Red sidebar

Home Forums Conduit: AEP Model New node not showing up in Node-Red sidebar

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #19650
    Eric Tsai
    Participant

    I have a v1.3.3 AEP conduit. I installed a new node via npm:

    npm install node-bacnet

    This BacNet node isn’t showing up on the NodeRed sidebar. But I do see a <node-bacnet> installed on the </opt/node-red/node_modules> directory, along side the folders <sentiment>, <mqtt>, etc. I’ve restarted the conduit after the install, but still no bacnet node.

    Any ideas? I don’t know what mechanism the Conduit uses to start node-red. How do I shut it down so that I can restart it with verbose mode to see errors? Where is the node-red log stored?

    Thanks,
    Eric

    #19651
    Jeff Hatch
    Keymaster

    Eric,

    The node red log is in /var/log/app. See if there is anything pertaining to the bacnet node when node-red starts. What kind of dependencies does the bacnet node have?

    Jeff

    #19669
    Eric Tsai
    Participant

    Hi Jeff,
    For the node-red node-bacnet installation, the dependencies are gextend and bacstack. Both dependencies seem to be packaged inside the node-bacnet folder.

    I don’t see any errors relating to bacnet in the </var/log/app/node-red.log> file.

    I’ve installed OPC-UA node and that shows up fine in Node-Red. It’s available on the sidebar. But not node-bacnet.

    #19671
    Jeff Hatch
    Keymaster

    Eric,

    A couple of things that I noticed is that node-bacnet wants node 0.12.0 or newer, whereas the node on Conduit is stuck at 0.10.48 due to the fact that node stopped supporting the armV5 architecture after that release.

    This is a node module, so are you trying to require it in a function node? I don’t believe that anything will show up in the Node-RED pallet.

    Jeff

    #19746
    Eric Tsai
    Participant

    Hey Jeff,
    You’re right. The correct node red package is node-red-contrib-bacnet. This doesn’t seem to be available in the npm directory right now. I’m not sure how well this works in node-red, and it seems the bacstack package is better tested. So I’ll just go the route of using a node.js script rather than node-red for now.

    Thanks,
    Eric

    • This reply was modified 6 years, 10 months ago by Eric Tsai.
    #19764
    Lawrence Griffiths
    Participant

    Eric I’ve been waiting for nodejs BACnet for years!
    This is still VERY beta.

    One way I’m working for building automation (KNX & EnOcean) integration to LoRaWAN is to use a Raspberry PI running Node-RED along side the AEP then use web sockets to talk between both.

    #19805
    Eric Tsai
    Participant

    Hi Lawrence,
    Thanks for the feedback on that package.

    Yeah, having Node on the Conduit seems like it would provide a lot of opportunities to leverage existing integration tools, but because of the hardware is lagging, it’s preventing us from really taking advantage of them.

    @Jeff What’s on the road map for the Conduit hardware? Will we get a more updated version of Node?

    #19842
    Jeff Hatch
    Keymaster

    Eric,

    Due to the armV5 architecture of the CPU on the current Conduit, nodejs does not support that instruction set beyond 0.10.x. We do have plans for a new Conduit with updated hardware, but that is a ways out yet.

    Jeff

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.