Giter Club home page Giter Club logo

Comments (4)

aborovsky avatar aborovsky commented on July 17, 2024

You use old Node-RED verion - v0.15.3
Try to update it to v4 at least.

Linux 3.12.70 arm LE - do you run it under Raspberry Pi?
Manual for Raspberry Pi: https://www.w3schools.com/nodejs/nodejs_raspberrypi.asp
Check "Install Node.js on Raspberry Pi" section.

from node-red-contrib-knx.

pentadom avatar pentadom commented on July 17, 2024

You use old Node-RED verion - v0.15.3
Try to update it to v4 at least.

Linux 3.12.70 arm LE - do you run it under Raspberry Pi?
Manual for Raspberry Pi: https://www.w3schools.com/nodejs/nodejs_raspberrypi.asp
Check "Install Node.js on Raspberry Pi" section.

Hi,

Unfortunately, due to the Conduit hardware, the max Node-Red version and Node.js version that the Conduit can take is:

Node-red: v0.15.3

Node.js: v0.10.48

The node requirement is:

Node.js v4.5.0 and above
Node-RED v0.12.0 and above

So de problem is in the Node.js that I can't upgrade on the Conduit machine. So I can't use KNX for this function. thanks

from node-red-contrib-knx.

aborovsky avatar aborovsky commented on July 17, 2024

Technically, one able to fix the code to support old Node.js.
You may find a JS freelancer to help you with it.

For example: find the file "/var/config/app/install/development/node_modules/node-red-contrib-knx/node_modules/knxjs/src/KnxHelper.js" and replace on the line 279:
var exponent = (apu[2] & 0x01111000) >>> 3;
with:
var exponent = (apu[2] & parseInt('01111000', 2)) >>> 3;

from node-red-contrib-knx.

pentadom avatar pentadom commented on July 17, 2024

Technically, one able to fix the code to support old Node.js.
You may find a JS freelancer to help you with it.

For example: find the file "/var/config/app/install/development/node_modules/node-red-contrib-knx/node_modules/knxjs/src/KnxHelper.js" and replace on the line 279:
var exponent = (apu[2] & 0x01111000) >>> 3;
with:
var exponent = (apu[2] & parseInt('01111000', 2)) >>> 3;

I will try another option without using the knx node. Thanks!

from node-red-contrib-knx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.