Giter Site home page Giter Site logo

elkington's Issues

RP mode capable?

Is this software capable of putting an Elk M1 into Remote Programming mode? Specifically, connecting to the ElkRP2 software. After looking through the code, I don't think so, but I'm not very familiar with JS so I could've easily overlooked something.

TypeError: on scaled down weather.js example

If the weather.js example is scaled down to:


var elknode = require('../index');
var temp = 'zero';
var elk = elknode.createConnection({ port: 2101 , host: '192.168.123.34'});
elk.on('connect', function(data) {
elk.speak('outside temperature is ' + temp + ' degrees');
elk.disconnect();
});


This error occurs:
index.js:70
msg.host = that._connection.address().address;

TypeError: Cannot read property 'address' of null


It seems that removing the 'request' function call is related to the issue.

Can't connect on secure port

insecure connection works fine. Maybe an issue with old ssl versions or certificates on the XEP?

~/node $ node elktest.js

events.js:72
throw er; // Unhandled 'error' event
^
Error: socket hang up
at SecurePair.error (tls.js:1010:23)
at CleartextStream.read as _read
at CleartextStream.Readable.read (_stream_readable.js:340:10)
at EncryptedStream.write as _write
at doWrite (_stream_writable.js:225:10)
at writeOrBuffer (_stream_writable.js:215:5)
at EncryptedStream.Writable.write (_stream_writable.js:182:11)
at write (_stream_readable.js:601:24)
at flow (_stream_readable.js:610:7)
at Socket.pipeOnReadable (_stream_readable.js:642:5)
pi@raspberrypi ~/node $

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.