Yes I could spend the time to learn javascript but at this point
it is a matter of time, focus, and return on investment.? Right
now I'd rather figure out how to create a driver for Crestron Home
than learn another programming language.
P.S. I don't think you have a chance of being the oldest guy here
unless you're also on Medicare?
Jay
On 2/19/2021 9:20 PM, Steve Kuehn
wrote:
toggle quoted message
Show quoted text
Jason is correct. It is not essential to use a pi.? Almost
computer could likely do it.? But a Pi would make sense because of
it's low cost.
Not sure if it is exactly the same javascript crypto libraries,
but node.js does supply javascript crypto libraries,? You might
want to look at
In that document, they say you can test if your version of Node
can execute the crypto libraries be running this test:
let crypto;
try {
? crypto = require('crypto');
} catch (err) {
? console.log('crypto support is disabled!');
}
I just ran this an one of my Pi's running node.js and yes crypto
support is available.
I suspect Crestron is using node.js in their new series 4
processor for CH5.? So it may even be possible to do this on a
series 4 assuming Crestron gives you the ability to run node
javascript files yourself.? Although that is probably not the case
because it would give you the ability to bypass CH5 and make your
own webserver.
Really, javascript is not that hard to learn.? I am not really a?
programmer type and I was able to learn it within the last year.?
And I am sure I am a lot older then any of you guys. It would be a
good idea to learn JavaScript if you plan to do any HTML5
projects.? Javascript is the language of the web browser.? All
node is is a program that runs javascript outside of a browser --
usually has the backend for a web server.? And node has excellent
documentation.